Skip to content

Instantly share code, notes, and snippets.

@mfojtik
Created November 4, 2019 13:39
Show Gist options
  • Save mfojtik/1e67e049297f84d4e73feac44fbb2e39 to your computer and use it in GitHub Desktop.
Save mfojtik/1e67e049297f84d4e73feac44fbb2e39 to your computer and use it in GitHub Desktop.
oc [bump-1.16.2 L|✚ 2] > cat goodmod.yaml
# goodmod.yaml
# This file is tracking branches and tags used in go.mod file replaces
# Please follow https://github.com/mfojtik/goodmod#installation to get the tool.
# Run `$ goodmod replace --apply` to apply these rules on `go.mod`
#
rules:
# k8s.io paths that are tracking "oc-4.3-kubernetes-1.16.2" branch
- paths:
- k8s.io/kubernetes
- k8s.io/kubectl
- k8s.io/apimachinery
- k8s.io/cli-runtime
- k8s.io/client-go
branch: oc-4.3-kubernetes-1.16.2
# k8s.io paths that are tracking "kubernetes-1.16.2" tag
- paths:
- k8s.io/
excludes:
# exclude all paths we track in rule above + klog and utils as they don't follow k8s tag
- k8s.io/kubernetes
- k8s.io/kubectl
- k8s.io/apimachinery
- k8s.io/cli-runtime
- k8s.io/client-go
- k8s.io/klog
- k8s.io/utils
tag: kubernetes-1.16.2
# github.com/openshift/* paths that are tracking "master" branch
- paths:
- github.com/openshift
branch: master
# misc dependencies
# TODO: Add comments why we pinning that and what requires it
- paths:
- github.com/ghodss/yaml
tag: v1.0.0
- paths:
- github.com/docker/distribution
commit: d4c35485a70df4dce2179bc227b1393a69edb809
- paths:
- github.com/containers/image
commit: 4bc6d24282b115f8b61a6d08470ed42ac7c91392
- paths:
- github.com/aws/aws-sdk-go
tag: v1.16.26
- paths:
- github.com/apcera/gssapi
commit: 5fb4217df13b8e6878046fe1e5c10e560e1b86dc
- paths:
- bitbucket.org/ww/goautoneg
commit: 2ae31c8b6b30d2f4c8100c20d527b571e9c433bb
- paths:
- github.com/onsi/ginkgo
commit: 53ca7dc85f609e8aa3af7902f189ed5dca96dbb5
- paths:
- github.com/prometheus/client_golang
tag: v0.9.2
- paths:
- golang.org/x/time
commit: 85acf8d2951cb2a3bde7632f9ff273ef0379bcbd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment