Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove replace directives
Browse files Browse the repository at this point in the history
go.mod contains many replace entries that all consumers must include to
import logic. These are cancerous and tend to make consumers builds
difficult or outright fail. All have been removed, except for the one
required by helm-operator. This entry, while retained, has been
converted into a noop and should be removed when
fluxcd/helm-operator#97 is fixed.
carnott-snap committed Nov 7, 2019
1 parent 0bc318b commit 5b630d1
Showing 2 changed files with 125 additions and 44 deletions.
73 changes: 31 additions & 42 deletions go.mod
Original file line number Diff line number Diff line change
@@ -2,59 +2,48 @@ module github.com/fluxcd/flux

go 1.13

// TODO(carnott-snap): this replace is a noop, but required till fluxcd/helm-operator is fixed
replace github.com/docker/distribution => github.com/docker/distribution v2.7.1+incompatible

require (
github.com/Jeffail/gabs v1.4.0
github.com/Masterminds/semver v1.4.2
github.com/aws/aws-sdk-go v1.19.11
github.com/bradfitz/gomemcache v0.0.0-20190329173943-551aad21a668
github.com/docker/distribution v0.0.0-00010101000000-000000000000
github.com/evanphx/json-patch v4.1.0+incompatible
github.com/fluxcd/helm-operator v1.0.0-rc2
github.com/Masterminds/semver v1.5.0
github.com/aws/aws-sdk-go v1.25.30
github.com/bradfitz/gomemcache v0.0.0-20190913173617-a41fca850d0b
github.com/docker/distribution v2.7.1+incompatible
github.com/evanphx/json-patch v4.5.0+incompatible
github.com/fluxcd/helm-operator v1.0.0-rc3
github.com/ghodss/yaml v1.0.0
github.com/go-kit/kit v0.9.0
github.com/golang/gddo v0.0.0-20190312205958-5a2505f3dbf0
github.com/gorilla/mux v1.7.1
github.com/gorilla/websocket v1.4.0
github.com/imdario/mergo v0.3.7
github.com/instrumenta/kubeval v0.0.0-20190804145309-805845b47dfc
github.com/golang/gddo v0.0.0-20190904175337-72a348e765d2
github.com/gorilla/mux v1.7.3
github.com/gorilla/websocket v1.4.1
github.com/imdario/mergo v0.3.8
github.com/instrumenta/kubeval v0.0.0-20190918223246-8d013ec9fc56
github.com/justinbarrick/go-k8s-portforward v1.0.4-0.20190722134107-d79fe1b9d79d
github.com/opencontainers/go-digest v1.0.0-rc1
github.com/pkg/errors v0.8.1
github.com/pkg/term v0.0.0-20190109203006-aa71e9d9e942
github.com/prometheus/client_golang v1.1.0
github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90
github.com/prometheus/client_golang v1.2.1
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4
github.com/ryanuber/go-glob v1.0.0
github.com/shurcooL/httpfs v0.0.0-20190707220628-8d4bc4ba7749
github.com/shurcooL/vfsgen v0.0.0-20181202132449-6a9ea43bcacd
github.com/spf13/cobra v0.0.3
github.com/spf13/pflag v1.0.3
github.com/stretchr/testify v1.3.0
github.com/weaveworks/common v0.0.0-20190410110702-87611edc252e
github.com/spf13/cobra v0.0.5
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.4.0
github.com/weaveworks/common v0.0.0-20191103151037-0e7cefadc44f
github.com/weaveworks/go-checkpoint v0.0.0-20170503165305-ebbb8b0518ab
github.com/whilp/git-urls v0.0.0-20160530060445-31bac0d230fa
golang.org/x/sys v0.0.0-20190801041406-cbf593c0f2f3
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4
gopkg.in/yaml.v2 v2.2.2
k8s.io/api v0.0.0-20190313235455-40a48860b5ab
k8s.io/apiextensions-apiserver v0.0.0-20190315093550-53c4693659ed
k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
k8s.io/client-go v11.0.0+incompatible
k8s.io/helm v2.13.1+incompatible
k8s.io/klog v0.3.3
)
github.com/whilp/git-urls v0.0.0-20191001220047-6db9661140c0
golang.org/x/sys v0.0.0-20191105231009-c1f44814a5cd
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
gopkg.in/yaml.v2 v2.2.5

replace github.com/docker/distribution => github.com/2opremio/distribution v0.0.0-20190419185413-6c9727e5e5de

// The following pin these libs to `kubernetes-1.14.4` (by initially
// giving the version as that tag, and letting go mod fill in its idea of
// the version).
// The libs are thereby kept compatible with client-go v11, which is
// itself compatible with Kubernetes 1.14.

replace (
k8s.io/api => k8s.io/api v0.0.0-20190708174958-539a33f6e817
k8s.io/apimachinery => k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
k8s.io/apiserver => k8s.io/apiserver v0.0.0-20190708180123-608cd7da68f7
k8s.io/client-go => k8s.io/client-go v11.0.0+incompatible
k8s.io/component-base => k8s.io/component-base v0.0.0-20190708175518-244289f83105
// pinned to kubernetes-1.14.4
k8s.io/api v0.0.0-20190708174958-539a33f6e817
k8s.io/apiextensions-apiserver v0.0.0-20190708181606-527eacf2d4b7
k8s.io/apimachinery v0.0.0-20190404173353-6a84e37a896d
k8s.io/client-go v11.0.1-0.20190708175433-62e1c231c5dc+incompatible
k8s.io/helm v2.16.0+incompatible
k8s.io/klog v1.0.0
)
Loading

0 comments on commit 5b630d1

Please sign in to comment.