Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: go mod change vendor content #31223

Closed
daixiang0 opened this issue Apr 3, 2019 · 12 comments

Comments

Projects
None yet
3 participants
@daixiang0
Copy link

commented Apr 3, 2019

What version of Go are you using (go version)?

$ go version
go version go1.12.1 linux/amd64

What operating system and processor architecture are you using (go env)?

go env Output
$ go env
GOARCH="amd64"
GOBIN=""
GOCACHE="/root/.cache/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/deploy/go"
GOPROXY=""
GORACE=""
GOROOT="/usr/lib/golang"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/golang/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build492195104=/tmp/go-build -gno-record-gcc-switches"

What did you do?

git clone https://github.com/cortexproject/cortex.git
go mod init
go mod vendor
go mod tidy

What did you expect to see?

Do not change vendor.

What did you see instead?

Vendor changed.

@FiloSottile

This comment has been minimized.

Copy link
Member

commented Apr 3, 2019

Can you elaborate on what change happened, after what command, and why it's unexpected?

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 4, 2019

@FiloSottile hi, after go mod vendor, there are lots of changes inVendor.
Since i only want move from dep to module, all things about dep like Vendor should stay as they were.

@daixiang0 daixiang0 changed the title cmd/go: why module change vendor cmd/go: go mod change vendor content Apr 4, 2019

@FiloSottile

This comment has been minimized.

Copy link
Member

commented Apr 4, 2019

go mod vendor is more effective than dep at removing unneded files from the vendor folder. However, if the go mod init step went well, there should be no other meaningful change to the vendor folder.

If there is and you believe it is a bug, we will need instructions to reproduce the issues, and details on what changes.

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 5, 2019

I reproduce it:

``` $ git clone https://github.com/cortexproject/cortex.git $ cd corex $ GO111MODULE=on go mod init go: creating new go.mod: module github.com/cortexproject/cortex go: copying requirements from Gopkg.lock go: converting Gopkg.lock: stat k8s.io/apimachinery@2b1284ed4c93a43499e781493253e2ac5959c4fd: unrecognized import path "k8s.io/apimachinery" (https fetch: Get https://k8s.io/apimachinery?go-get=1: dial tcp 35.201.71.162:443: i/o timeout) go: converting Gopkg.lock: stat k8s.io/client-go@a47917edff34c2c3f7be36398e3ebad6011ce05c: unrecognized import path "k8s.io/client-go" (https fetch: Get https://k8s.io/client-go?go-get=1: dial tcp 35.201.71.162:443: i/o timeout) go: converting Gopkg.lock: stat sigs.k8s.io/yaml@v1.1.0: unrecognized import path "sigs.k8s.io/yaml" (https fetch: Get https://sigs.k8s.io/yaml?go-get=1: dial tcp 35.201.71.162:443: i/o timeout) go: converting Gopkg.lock: stat k8s.io/klog@v0.2.0: unrecognized import path "k8s.io/klog" (https fetch: Get https://k8s.io/klog?go-get=1: dial tcp 35.201.71.162:443: i/o timeout) go: converting Gopkg.lock: stat k8s.io/api@05914d821849570fba9eacfb29466f2d8d3cd229: unrecognized import path "k8s.io/api" (https fetch: Get https://k8s.io/api?go-get=1: dial tcp 35.201.71.162:443: i/o timeout) $ git status # On branch master # Untracked files: # (use "git add ..." to include in what will be committed) # # go.mod $ GO111MODULE=on go mod vendor $ git status # On branch master # Changes not staged for commit: # (use "git add/rm ..." to update what will be committed) # (use "git checkout -- ..." to discard changes in working directory) # # modified: vendor/cloud.google.com/go/bigtable/admin.go # modified: vendor/cloud.google.com/go/bigtable/bigtable.go # modified: vendor/cloud.google.com/go/bigtable/bttest/inmem.go # modified: vendor/cloud.google.com/go/bigtable/filter.go # modified: vendor/cloud.google.com/go/bigtable/internal/gax/call_option.go # modified: vendor/cloud.google.com/go/bigtable/internal/gax/invoke.go # modified: vendor/cloud.google.com/go/bigtable/reader.go # deleted: vendor/cloud.google.com/go/bigtable/trace.go # modified: vendor/cloud.google.com/go/compute/metadata/metadata.go # modified: vendor/cloud.google.com/go/iam/iam.go # modified: vendor/cloud.google.com/go/internal/retry.go # deleted: vendor/cloud.google.com/go/internal/trace/trace.go # modified: vendor/cloud.google.com/go/internal/version/update_version.sh # modified: vendor/cloud.google.com/go/internal/version/version.go # modified: vendor/cloud.google.com/go/longrunning/autogen/doc.go # modified: vendor/cloud.google.com/go/longrunning/autogen/operations_client.go # modified: vendor/cloud.google.com/go/longrunning/longrunning.go # modified: vendor/cloud.google.com/go/storage/acl.go # modified: vendor/cloud.google.com/go/storage/bucket.go # modified: vendor/cloud.google.com/go/storage/copy.go # modified: vendor/cloud.google.com/go/storage/doc.go # modified: vendor/cloud.google.com/go/storage/iam.go # modified: vendor/cloud.google.com/go/storage/invoke.go # modified: vendor/cloud.google.com/go/storage/notifications.go # modified: vendor/cloud.google.com/go/storage/reader.go # modified: vendor/cloud.google.com/go/storage/storage.go # modified: vendor/cloud.google.com/go/storage/storage.replay # modified: vendor/cloud.google.com/go/storage/writer.go # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/.travis.yml # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/README.md # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/go.mod # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/go.sum # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/nodeinfo.go # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/ocagent.go # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/options.go # modified: vendor/contrib.go.opencensus.io/exporter/ocagent/transform_spans.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/models.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachines.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/compute/mgmt/2018-10-01/compute/virtualmachinescalesets.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressroutecircuitconnections.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/expressrouteportslocations.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/models.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/profiles.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/publicipprefixes.go # modified: vendor/github.com/Azure/azure-sdk-for-go/services/network/mgmt/2018-10-01/network/vpnsites.go # modified: vendor/github.com/Azure/azure-sdk-for-go/version/version.go # modified: vendor/github.com/Azure/go-autorest/autorest/adal/token.go # modified: vendor/github.com/Azure/go-autorest/autorest/adal/version.go # modified: vendor/github.com/Azure/go-autorest/autorest/azure/async.go # modified: vendor/github.com/Azure/go-autorest/autorest/client.go # modified: vendor/github.com/Azure/go-autorest/autorest/version.go # modified: vendor/github.com/beorn7/perks/quantile/stream.go # modified: vendor/github.com/cespare/xxhash/README.md # modified: vendor/github.com/cespare/xxhash/xxhash.go # modified: vendor/github.com/cespare/xxhash/xxhash_amd64.go # modified: vendor/github.com/cespare/xxhash/xxhash_amd64.s # modified: vendor/github.com/cespare/xxhash/xxhash_other.go # modified: vendor/github.com/davecgh/go-spew/LICENSE # modified: vendor/github.com/davecgh/go-spew/spew/bypass.go # modified: vendor/github.com/davecgh/go-spew/spew/bypasssafe.go # modified: vendor/github.com/davecgh/go-spew/spew/common.go # modified: vendor/github.com/davecgh/go-spew/spew/dump.go # modified: vendor/github.com/davecgh/go-spew/spew/format.go # modified: vendor/github.com/go-kit/kit/log/json_logger.go # modified: vendor/github.com/go-kit/kit/log/level/doc.go # modified: vendor/github.com/go-kit/kit/log/level/level.go # modified: vendor/github.com/go-kit/kit/log/sync.go # deleted: vendor/github.com/go-kit/kit/log/term/LICENSE # modified: vendor/github.com/go-kit/kit/log/value.go # modified: vendor/github.com/go-logfmt/logfmt/.travis.yml # modified: vendor/github.com/go-logfmt/logfmt/encode.go # deleted: vendor/github.com/go-stack/stack/.travis.yml # deleted: vendor/github.com/go-stack/stack/LICENSE.md # deleted: vendor/github.com/go-stack/stack/README.md # deleted: vendor/github.com/go-stack/stack/stack.go # modified: vendor/github.com/gocql/gocql/integration.sh # deleted: vendor/github.com/gogo/protobuf/GOLANG_CONTRIBUTORS # modified: vendor/github.com/gogo/protobuf/LICENSE # modified: vendor/github.com/gogo/protobuf/gogoproto/doc.go # modified: vendor/github.com/gogo/protobuf/gogoproto/gogo.pb.go # modified: vendor/github.com/gogo/protobuf/gogoproto/gogo.proto # modified: vendor/github.com/gogo/protobuf/gogoproto/helper.go # modified: vendor/github.com/gogo/protobuf/proto/encode.go # modified: vendor/github.com/gogo/protobuf/proto/lib.go # modified: vendor/github.com/gogo/protobuf/proto/pointer_unsafe_gogo.go # modified: vendor/github.com/gogo/protobuf/proto/properties.go # modified: vendor/github.com/gogo/protobuf/proto/table_marshal.go # modified: vendor/github.com/gogo/protobuf/proto/table_unmarshal.go # modified: vendor/github.com/gogo/protobuf/proto/text.go # modified: vendor/github.com/gogo/protobuf/proto/text_parser.go # modified: vendor/github.com/gogo/protobuf/types/any.pb.go # modified: vendor/github.com/gogo/protobuf/types/api.pb.go # modified: vendor/github.com/gogo/protobuf/types/duration.pb.go # modified: vendor/github.com/gogo/protobuf/types/empty.pb.go # modified: vendor/github.com/gogo/protobuf/types/field_mask.pb.go # modified: vendor/github.com/gogo/protobuf/types/source_context.pb.go # modified: vendor/github.com/gogo/protobuf/types/struct.pb.go # modified: vendor/github.com/gogo/protobuf/types/timestamp.pb.go # modified: vendor/github.com/gogo/protobuf/types/type.pb.go # modified: vendor/github.com/gogo/protobuf/types/wrappers.pb.go # deleted: vendor/github.com/googleapis/gax-go/v2/call_option.go # deleted: vendor/github.com/googleapis/gax-go/v2/gax.go # deleted: vendor/github.com/googleapis/gax-go/v2/go.mod # deleted: vendor/github.com/googleapis/gax-go/v2/go.sum # deleted: vendor/github.com/googleapis/gax-go/v2/header.go # deleted: vendor/github.com/googleapis/gax-go/v2/invoke.go # modified: vendor/github.com/googleapis/gnostic/OpenAPIv2/OpenAPIv2.go # modified: vendor/github.com/googleapis/gnostic/extensions/COMPILE-EXTENSION.sh # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/auth/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/logrus/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/logging/zap/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/recovery/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/retry/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/tags/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/tracing/opentracing/README.md # deleted: vendor/github.com/grpc-ecosystem/go-grpc-middleware/util/metautils/README.md # deleted: vendor/github.com/grpc-ecosystem/grpc-gateway/internal/BUILD.bazel # deleted: vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.pb.go # deleted: vendor/github.com/grpc-ecosystem/grpc-gateway/internal/stream_chunk.proto # modified: vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/BUILD.bazel # modified: vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/handler.go # modified: vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/marshal_jsonpb.go # modified: vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/mux.go # deleted: vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis/LICENSE # deleted: vendor/github.com/hashicorp/consul/ui-v2/app/styles/components/notice.scss # deleted: vendor/github.com/hashicorp/consul/website/LICENSE.md # deleted: vendor/github.com/hashicorp/go-rootcerts/test-fixtures/capath-with-symlinks/securetrust.pem # deleted: vendor/github.com/hashicorp/go-rootcerts/test-fixtures/capath-with-symlinks/thawte.pem # modified: vendor/github.com/hashicorp/golang-lru/simplelru/lru_interface.go # deleted: vendor/github.com/hashicorp/serf/ops-misc/debian/copyright # deleted: vendor/github.com/hashicorp/serf/website/source/LICENSE # modified: vendor/github.com/jmespath/go-jmespath/.gitignore # modified: vendor/github.com/json-iterator/go/build.sh # modified: vendor/github.com/json-iterator/go/test.sh # modified: vendor/github.com/julienschmidt/httprouter/.travis.yml # modified: vendor/github.com/julienschmidt/httprouter/README.md # modified: vendor/github.com/julienschmidt/httprouter/router.go # modified: vendor/github.com/lann/ps/profile.sh # modified: vendor/github.com/lib/pq/.travis.sh # modified: vendor/github.com/lib/pq/.travis.yml # modified: vendor/github.com/lib/pq/README.md # modified: vendor/github.com/lib/pq/array.go # modified: vendor/github.com/lib/pq/conn.go # modified: vendor/github.com/lib/pq/conn_go18.go # modified: vendor/github.com/lib/pq/doc.go # modified: vendor/github.com/lib/pq/encode.go # modified: vendor/github.com/lib/pq/error.go # modified: vendor/github.com/lib/pq/notify.go # modified: vendor/github.com/lib/pq/oid/gen.go # modified: vendor/github.com/lib/pq/oid/types.go # modified: vendor/github.com/lib/pq/ssl.go # modified: vendor/github.com/miekg/dns/.travis.yml # modified: vendor/github.com/miekg/dns/CONTRIBUTORS # modified: vendor/github.com/miekg/dns/README.md # modified: vendor/github.com/miekg/dns/client.go # modified: vendor/github.com/miekg/dns/clientconfig.go # deleted: vendor/github.com/miekg/dns/compress_generate.go # modified: vendor/github.com/miekg/dns/defaults.go # modified: vendor/github.com/miekg/dns/dns.go # modified: vendor/github.com/miekg/dns/dnssec.go # modified: vendor/github.com/miekg/dns/dnssec_keygen.go # modified: vendor/github.com/miekg/dns/dnssec_keyscan.go # modified: vendor/github.com/miekg/dns/dnssec_privkey.go # modified: vendor/github.com/miekg/dns/doc.go # modified: vendor/github.com/miekg/dns/edns.go # modified: vendor/github.com/miekg/dns/format.go # modified: vendor/github.com/miekg/dns/generate.go # modified: vendor/github.com/miekg/dns/labels.go # modified: vendor/github.com/miekg/dns/msg.go # modified: vendor/github.com/miekg/dns/msg_generate.go # modified: vendor/github.com/miekg/dns/msg_helpers.go # modified: vendor/github.com/miekg/dns/nsecx.go # modified: vendor/github.com/miekg/dns/privaterr.go # deleted: vendor/github.com/miekg/dns/rawmsg.go # modified: vendor/github.com/miekg/dns/reverse.go # modified: vendor/github.com/miekg/dns/sanitize.go # modified: vendor/github.com/miekg/dns/scan.go # modified: vendor/github.com/miekg/dns/scan_rr.go # deleted: vendor/github.com/miekg/dns/scanner.go # modified: vendor/github.com/miekg/dns/server.go # modified: vendor/github.com/miekg/dns/sig0.go # modified: vendor/github.com/miekg/dns/singleinflight.go # modified: vendor/github.com/miekg/dns/smimea.go # modified: vendor/github.com/miekg/dns/tlsa.go # modified: vendor/github.com/miekg/dns/tsig.go # modified: vendor/github.com/miekg/dns/types.go # modified: vendor/github.com/miekg/dns/types_generate.go # modified: vendor/github.com/miekg/dns/udp.go # deleted: vendor/github.com/miekg/dns/udp_linux.go # deleted: vendor/github.com/miekg/dns/udp_other.go # modified: vendor/github.com/miekg/dns/udp_windows.go # modified: vendor/github.com/miekg/dns/update.go # modified: vendor/github.com/miekg/dns/xfr.go # deleted: vendor/github.com/miekg/dns/zcompress.go # modified: vendor/github.com/miekg/dns/zmsg.go # modified: vendor/github.com/miekg/dns/ztypes.go # modified: vendor/github.com/mitchellh/go-homedir/homedir.go # modified: vendor/github.com/modern-go/concurrent/test.sh # modified: vendor/github.com/modern-go/reflect2/test.sh # modified: vendor/github.com/oklog/ulid/.travis.yml # modified: vendor/github.com/oklog/ulid/CHANGELOG.md # modified: vendor/github.com/oklog/ulid/README.md # modified: vendor/github.com/oklog/ulid/ulid.go # modified: vendor/github.com/opentracing/opentracing-go/.travis.yml # modified: vendor/github.com/opentracing/opentracing-go/README.md # modified: vendor/github.com/opentracing/opentracing-go/ext/tags.go # deleted: vendor/github.com/petar/GoLLRB/AUTHORS # deleted: vendor/github.com/petar/GoLLRB/LICENSE # deleted: vendor/github.com/petar/GoLLRB/llrb/avgvar.go # deleted: vendor/github.com/petar/GoLLRB/llrb/iterator.go # deleted: vendor/github.com/petar/GoLLRB/llrb/llrb-stats.go # deleted: vendor/github.com/petar/GoLLRB/llrb/llrb.go # deleted: vendor/github.com/petar/GoLLRB/llrb/util.go # modified: vendor/github.com/peterbourgon/diskv/README.md # modified: vendor/github.com/peterbourgon/diskv/diskv.go # modified: vendor/github.com/prometheus/client_golang/api/prometheus/v1/api.go # modified: vendor/github.com/prometheus/client_golang/prometheus/collector.go # modified: vendor/github.com/prometheus/client_golang/prometheus/counter.go # modified: vendor/github.com/prometheus/client_golang/prometheus/desc.go # modified: vendor/github.com/prometheus/client_golang/prometheus/fnv.go # modified: vendor/github.com/prometheus/client_golang/prometheus/gauge.go # modified: vendor/github.com/prometheus/client_golang/prometheus/go_collector.go # modified: vendor/github.com/prometheus/client_golang/prometheus/histogram.go # modified: vendor/github.com/prometheus/client_golang/prometheus/http.go # modified: vendor/github.com/prometheus/client_golang/prometheus/labels.go # modified: vendor/github.com/prometheus/client_golang/prometheus/metric.go # modified: vendor/github.com/prometheus/client_golang/prometheus/process_collector.go # modified: vendor/github.com/prometheus/client_golang/prometheus/promhttp/http.go # modified: vendor/github.com/prometheus/client_golang/prometheus/registry.go # modified: vendor/github.com/prometheus/client_golang/prometheus/summary.go # modified: vendor/github.com/prometheus/client_golang/prometheus/value.go # modified: vendor/github.com/prometheus/client_model/go/metrics.pb.go # deleted: vendor/github.com/prometheus/client_model/ruby/LICENSE # modified: vendor/github.com/prometheus/common/expfmt/text_create.go # modified: vendor/github.com/prometheus/common/expfmt/text_parse.go # modified: vendor/github.com/prometheus/common/model/time.go # modified: vendor/github.com/prometheus/common/route/route.go # deleted: vendor/github.com/prometheus/procfs/.travis.yml # modified: vendor/github.com/prometheus/procfs/Makefile # modified: vendor/github.com/prometheus/procfs/buddyinfo.go # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/exe # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/fd/0 # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/fd/1 # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/fd/10 # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/fd/2 # deleted: vendor/github.com/prometheus/procfs/fixtures/26231/fd/3 # deleted: vendor/github.com/prometheus/procfs/fixtures/26232/fd/0 # deleted: vendor/github.com/prometheus/procfs/fixtures/26232/fd/1 # deleted: vendor/github.com/prometheus/procfs/fixtures/26232/fd/2 # deleted: vendor/github.com/prometheus/procfs/fixtures/26232/fd/3 # deleted: vendor/github.com/prometheus/procfs/fixtures/26232/fd/4 # deleted: vendor/github.com/prometheus/procfs/fixtures/self # modified: vendor/github.com/prometheus/procfs/fs.go # modified: vendor/github.com/prometheus/procfs/ipvs.go # modified: vendor/github.com/prometheus/procfs/mdstat.go # modified: vendor/github.com/prometheus/procfs/mountstats.go # modified: vendor/github.com/prometheus/procfs/proc.go # modified: vendor/github.com/prometheus/procfs/proc_io.go # modified: vendor/github.com/prometheus/procfs/proc_limits.go # modified: vendor/github.com/prometheus/procfs/proc_stat.go # modified: vendor/github.com/prometheus/procfs/stat.go # modified: vendor/github.com/prometheus/procfs/xfs/parse.go # modified: vendor/github.com/satori/go.uuid/.travis.yml # modified: vendor/github.com/satori/go.uuid/LICENSE # modified: vendor/github.com/satori/go.uuid/README.md # modified: vendor/github.com/satori/go.uuid/uuid.go # deleted: vendor/github.com/stretchr/testify/LICENCE.txt # modified: vendor/github.com/stretchr/testify/LICENSE # modified: vendor/github.com/stretchr/testify/assert/assertion_forward.go # modified: vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl # modified: vendor/github.com/stretchr/testify/assert/assertions.go # modified: vendor/github.com/stretchr/testify/assert/forward_assertions.go # modified: vendor/github.com/stretchr/testify/assert/http_assertions.go # modified: vendor/github.com/stretchr/testify/require/forward_requirements.go # modified: vendor/github.com/stretchr/testify/require/require.go # modified: vendor/github.com/stretchr/testify/require/require.go.tmpl # modified: vendor/github.com/stretchr/testify/require/require_forward.go # modified: vendor/github.com/stretchr/testify/require/require_forward.go.tmpl # modified: vendor/github.com/stretchr/testify/require/requirements.go # modified: vendor/github.com/weaveworks/mesh/lint # modified: vendor/go.opencensus.io/README.md # modified: vendor/go.opencensus.io/internal/internal.go # modified: vendor/go.opencensus.io/opencensus.go # modified: vendor/go.opencensus.io/stats/measure.go # modified: vendor/go.opencensus.io/stats/measure_float64.go # modified: vendor/go.opencensus.io/stats/measure_int64.go # modified: vendor/go.opencensus.io/stats/record.go # modified: vendor/golang.org/x/crypto/AUTHORS # modified: vendor/golang.org/x/crypto/CONTRIBUTORS # modified: vendor/golang.org/x/crypto/curve25519/const_amd64.h # modified: vendor/golang.org/x/crypto/curve25519/const_amd64.s # modified: vendor/golang.org/x/crypto/curve25519/curve25519.go # modified: vendor/golang.org/x/crypto/curve25519/doc.go # modified: vendor/golang.org/x/crypto/curve25519/freeze_amd64.s # modified: vendor/golang.org/x/crypto/curve25519/ladderstep_amd64.s # modified: vendor/golang.org/x/crypto/curve25519/mul_amd64.s # modified: vendor/golang.org/x/crypto/curve25519/square_amd64.s # modified: vendor/golang.org/x/crypto/nacl/box/box.go # modified: vendor/golang.org/x/crypto/nacl/secretbox/secretbox.go # modified: vendor/golang.org/x/crypto/poly1305/poly1305.go # modified: vendor/golang.org/x/crypto/poly1305/sum_ref.go # modified: vendor/golang.org/x/crypto/salsa20/salsa/salsa2020_amd64.s # modified: vendor/golang.org/x/crypto/salsa20/salsa/salsa20_amd64.go # modified: vendor/golang.org/x/crypto/salsa20/salsa/salsa20_ref.go # modified: vendor/golang.org/x/crypto/ssh/terminal/terminal.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util_linux.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util_plan9.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util_solaris.go # modified: vendor/golang.org/x/crypto/ssh/terminal/util_windows.go # modified: vendor/golang.org/x/net/http2/hpack/hpack.go # modified: vendor/golang.org/x/net/http2/transport.go # modified: vendor/golang.org/x/sync/errgroup/errgroup.go # modified: vendor/golang.org/x/sync/semaphore/semaphore.go # modified: vendor/golang.org/x/sys/unix/README.md # modified: vendor/golang.org/x/sys/unix/fcntl.go # modified: vendor/golang.org/x/sys/unix/mkall.sh # modified: vendor/golang.org/x/sys/unix/mkerrors.sh # modified: vendor/golang.org/x/sys/unix/mkpost.go # deleted: vendor/golang.org/x/sys/unix/mksyscall.pl # deleted: vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.pl # deleted: vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.pl # modified: vendor/golang.org/x/sys/unix/mksyscall_solaris.pl # modified: vendor/golang.org/x/sys/unix/mksysctl_openbsd.pl # deleted: vendor/golang.org/x/sys/unix/mksysnum_darwin.pl # deleted: vendor/golang.org/x/sys/unix/mksysnum_dragonfly.pl # deleted: vendor/golang.org/x/sys/unix/mksysnum_freebsd.pl # deleted: vendor/golang.org/x/sys/unix/mksysnum_netbsd.pl # deleted: vendor/golang.org/x/sys/unix/mksysnum_openbsd.pl # modified: vendor/golang.org/x/sys/unix/sockcmsg_unix.go # modified: vendor/golang.org/x/sys/unix/syscall_aix.go # modified: vendor/golang.org/x/sys/unix/syscall_darwin.go # modified: vendor/golang.org/x/sys/unix/syscall_darwin_386.go # modified: vendor/golang.org/x/sys/unix/syscall_darwin_amd64.go # modified: vendor/golang.org/x/sys/unix/syscall_darwin_arm.go # modified: vendor/golang.org/x/sys/unix/syscall_darwin_arm64.go # modified: vendor/golang.org/x/sys/unix/syscall_dragonfly.go # modified: vendor/golang.org/x/sys/unix/syscall_freebsd.go # modified: vendor/golang.org/x/sys/unix/syscall_linux.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_386.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_amd64.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_arm.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_arm64.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_mips64x.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_mipsx.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_riscv64.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_s390x.go # modified: vendor/golang.org/x/sys/unix/syscall_linux_sparc64.go # modified: vendor/golang.org/x/sys/unix/syscall_netbsd.go # modified: vendor/golang.org/x/sys/unix/syscall_openbsd.go # modified: vendor/golang.org/x/sys/unix/syscall_solaris.go # modified: vendor/golang.org/x/sys/unix/syscall_unix.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_386.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_amd64.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_arm.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_arm64.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_mips.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_mips64.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_mips64le.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_mipsle.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_ppc64.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_ppc64le.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_riscv64.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_s390x.go # modified: vendor/golang.org/x/sys/unix/zerrors_linux_sparc64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_aix_ppc.go # modified: vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gc.go # modified: vendor/golang.org/x/sys/unix/zsyscall_aix_ppc64_gccgo.go # modified: vendor/golang.org/x/sys/unix/zsyscall_darwin_386.go # modified: vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.go # modified: vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_dragonfly_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_freebsd_386.go # modified: vendor/golang.org/x/sys/unix/zsyscall_freebsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_386.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_arm.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_arm64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_mips.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_mips64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_mips64le.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_mipsle.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_ppc64le.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_riscv64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_s390x.go # modified: vendor/golang.org/x/sys/unix/zsyscall_linux_sparc64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_netbsd_386.go # modified: vendor/golang.org/x/sys/unix/zsyscall_netbsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm.go # modified: vendor/golang.org/x/sys/unix/zsyscall_openbsd_386.go # modified: vendor/golang.org/x/sys/unix/zsyscall_openbsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsyscall_openbsd_arm.go # modified: vendor/golang.org/x/sys/unix/zsysnum_darwin_386.go # modified: vendor/golang.org/x/sys/unix/zsysnum_darwin_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_darwin_arm.go # modified: vendor/golang.org/x/sys/unix/zsysnum_darwin_arm64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_dragonfly_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_freebsd_386.go # modified: vendor/golang.org/x/sys/unix/zsysnum_freebsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_386.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_arm.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_arm64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_mips.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_mips64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_mips64le.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_mipsle.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_ppc64le.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_riscv64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_s390x.go # modified: vendor/golang.org/x/sys/unix/zsysnum_linux_sparc64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_netbsd_386.go # modified: vendor/golang.org/x/sys/unix/zsysnum_netbsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm.go # modified: vendor/golang.org/x/sys/unix/zsysnum_openbsd_386.go # modified: vendor/golang.org/x/sys/unix/zsysnum_openbsd_amd64.go # modified: vendor/golang.org/x/sys/unix/zsysnum_openbsd_arm.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_386.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_amd64.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_arm.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_mips.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_mips64.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_mips64le.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_mipsle.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_ppc64le.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_s390x.go # modified: vendor/golang.org/x/sys/unix/ztypes_linux_sparc64.go # modified: vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go # deleted: vendor/golang.org/x/text/internal/gen/code.go # deleted: vendor/golang.org/x/text/internal/gen/gen.go # deleted: vendor/golang.org/x/text/internal/triegen/compact.go # deleted: vendor/golang.org/x/text/internal/triegen/print.go # deleted: vendor/golang.org/x/text/internal/triegen/triegen.go # deleted: vendor/golang.org/x/text/internal/ucd/ucd.go # modified: vendor/golang.org/x/text/secure/bidirule/bidirule.go # modified: vendor/golang.org/x/text/unicode/bidi/gen.go # deleted: vendor/golang.org/x/text/unicode/bidi/tables.go # deleted: vendor/golang.org/x/text/unicode/cldr/base.go # deleted: vendor/golang.org/x/text/unicode/cldr/cldr.go # deleted: vendor/golang.org/x/text/unicode/cldr/collate.go # deleted: vendor/golang.org/x/text/unicode/cldr/decode.go # deleted: vendor/golang.org/x/text/unicode/cldr/makexml.go # deleted: vendor/golang.org/x/text/unicode/cldr/resolve.go # deleted: vendor/golang.org/x/text/unicode/cldr/slice.go # deleted: vendor/golang.org/x/text/unicode/cldr/xml.go # modified: vendor/golang.org/x/text/unicode/norm/input.go # modified: vendor/golang.org/x/text/unicode/norm/maketables.go # deleted: vendor/golang.org/x/text/unicode/norm/tables.go # modified: vendor/golang.org/x/text/unicode/norm/transform.go # deleted: vendor/golang.org/x/text/unicode/rangetable/gen.go # deleted: vendor/golang.org/x/text/unicode/rangetable/merge.go # deleted: vendor/golang.org/x/text/unicode/rangetable/rangetable.go # deleted: vendor/golang.org/x/text/unicode/rangetable/tables.go # modified: vendor/golang.org/x/tools/cover/profile.go # deleted: vendor/golang.org/x/tools/third_party/moduleloader/LICENSE # deleted: vendor/golang.org/x/tools/third_party/typescript/LICENSE # deleted: vendor/golang.org/x/tools/third_party/webcomponents/LICENSE # modified: vendor/google.golang.org/appengine/.travis.yml # modified: vendor/google.golang.org/appengine/README.md # modified: vendor/google.golang.org/appengine/appengine.go # modified: vendor/google.golang.org/appengine/internal/api.go # modified: vendor/google.golang.org/appengine/internal/api_classic.go # modified: vendor/google.golang.org/appengine/internal/api_common.go # modified: vendor/google.golang.org/appengine/internal/app_identity/app_identity_service.pb.go # modified: vendor/google.golang.org/appengine/internal/base/api_base.pb.go # modified: vendor/google.golang.org/appengine/internal/datastore/datastore_v3.pb.go # modified: vendor/google.golang.org/appengine/internal/datastore/datastore_v3.proto # modified: vendor/google.golang.org/appengine/internal/identity_classic.go # modified: vendor/google.golang.org/appengine/internal/identity_vm.go # modified: vendor/google.golang.org/appengine/internal/log/log_service.pb.go # modified: vendor/google.golang.org/appengine/internal/main_vm.go # modified: vendor/google.golang.org/appengine/internal/metadata.go # modified: vendor/google.golang.org/appengine/internal/modules/modules_service.pb.go # modified: vendor/google.golang.org/appengine/internal/regen.sh # modified: vendor/google.golang.org/appengine/internal/remote_api/remote_api.pb.go # modified: vendor/google.golang.org/appengine/internal/socket/socket_service.pb.go # modified: vendor/google.golang.org/appengine/internal/transaction.go # modified: vendor/google.golang.org/appengine/internal/urlfetch/urlfetch_service.pb.go # modified: vendor/google.golang.org/genproto/googleapis/api/annotations/annotations.pb.go # modified: vendor/google.golang.org/genproto/googleapis/api/annotations/http.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_instance_admin.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/bigtable_table_admin.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/common.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/instance.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/admin/v2/table.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/v2/bigtable.pb.go # modified: vendor/google.golang.org/genproto/googleapis/bigtable/v2/data.pb.go # modified: vendor/google.golang.org/genproto/googleapis/iam/v1/iam_policy.pb.go # modified: vendor/google.golang.org/genproto/googleapis/iam/v1/policy.pb.go # modified: vendor/google.golang.org/genproto/googleapis/longrunning/operations.pb.go # modified: vendor/google.golang.org/genproto/googleapis/rpc/code/code.pb.go # modified: vendor/google.golang.org/genproto/googleapis/rpc/status/status.pb.go # modified: vendor/google.golang.org/genproto/protobuf/field_mask/field_mask.pb.go # modified: vendor/google.golang.org/grpc/.travis.yml # modified: vendor/google.golang.org/grpc/CONTRIBUTING.md # modified: vendor/google.golang.org/grpc/Makefile # modified: vendor/google.golang.org/grpc/README.md # modified: vendor/google.golang.org/grpc/backoff.go # modified: vendor/google.golang.org/grpc/balancer.go # modified: vendor/google.golang.org/grpc/balancer/balancer.go # modified: vendor/google.golang.org/grpc/balancer/base/balancer.go # modified: vendor/google.golang.org/grpc/balancer/base/base.go # modified: vendor/google.golang.org/grpc/balancer/roundrobin/roundrobin.go # modified: vendor/google.golang.org/grpc/balancer_conn_wrappers.go # modified: vendor/google.golang.org/grpc/balancer_v1_wrapper.go # modified: vendor/google.golang.org/grpc/call.go # modified: vendor/google.golang.org/grpc/clientconn.go # modified: vendor/google.golang.org/grpc/codegen.sh # modified: vendor/google.golang.org/grpc/connectivity/connectivity.go # modified: vendor/google.golang.org/grpc/credentials/credentials.go # deleted: vendor/google.golang.org/grpc/credentials/go16.go # deleted: vendor/google.golang.org/grpc/credentials/go17.go # deleted: vendor/google.golang.org/grpc/credentials/go18.go # deleted: vendor/google.golang.org/grpc/credentials/go19.go # modified: vendor/google.golang.org/grpc/credentials/oauth/oauth.go # modified: vendor/google.golang.org/grpc/dialoptions.go # modified: vendor/google.golang.org/grpc/go.mod # modified: vendor/google.golang.org/grpc/go.sum # deleted: vendor/google.golang.org/grpc/go16.go # deleted: vendor/google.golang.org/grpc/go17.go # modified: vendor/google.golang.org/grpc/install_gae.sh # modified: vendor/google.golang.org/grpc/interceptor.go # modified: vendor/google.golang.org/grpc/internal/channelz/funcs.go # modified: vendor/google.golang.org/grpc/internal/channelz/types_linux.go # modified: vendor/google.golang.org/grpc/internal/channelz/types_nonlinux.go # deleted: vendor/google.golang.org/grpc/internal/channelz/util_linux_go19.go # deleted: vendor/google.golang.org/grpc/internal/channelz/util_nonlinux_pre_go19.go # modified: vendor/google.golang.org/grpc/internal/envconfig/envconfig.go # modified: vendor/google.golang.org/grpc/internal/internal.go # modified: vendor/google.golang.org/grpc/internal/transport/bdp_estimator.go # deleted: vendor/google.golang.org/grpc/internal/transport/go16.go # deleted: vendor/google.golang.org/grpc/internal/transport/go17.go # modified: vendor/google.golang.org/grpc/internal/transport/handler_server.go # modified: vendor/google.golang.org/grpc/internal/transport/http2_client.go # modified: vendor/google.golang.org/grpc/internal/transport/http2_server.go # modified: vendor/google.golang.org/grpc/internal/transport/transport.go # modified: vendor/google.golang.org/grpc/keepalive/keepalive.go # modified: vendor/google.golang.org/grpc/metadata/metadata.go # modified: vendor/google.golang.org/grpc/naming/dns_resolver.go # deleted: vendor/google.golang.org/grpc/naming/go17.go # deleted: vendor/google.golang.org/grpc/naming/go18.go # modified: vendor/google.golang.org/grpc/naming/naming.go # modified: vendor/google.golang.org/grpc/peer/peer.go # modified: vendor/google.golang.org/grpc/picker_wrapper.go # modified: vendor/google.golang.org/grpc/pickfirst.go # modified: vendor/google.golang.org/grpc/proxy.go # modified: vendor/google.golang.org/grpc/resolver/dns/dns_resolver.go # deleted: vendor/google.golang.org/grpc/resolver/dns/go19.go # deleted: vendor/google.golang.org/grpc/resolver/dns/pre_go19.go # modified: vendor/google.golang.org/grpc/resolver_conn_wrapper.go # modified: vendor/google.golang.org/grpc/rpc_util.go # modified: vendor/google.golang.org/grpc/server.go # modified: vendor/google.golang.org/grpc/service_config.go # modified: vendor/google.golang.org/grpc/stats/handlers.go # modified: vendor/google.golang.org/grpc/stats/stats.go # deleted: vendor/google.golang.org/grpc/status/go16.go # deleted: vendor/google.golang.org/grpc/status/go17.go # modified: vendor/google.golang.org/grpc/status/status.go # modified: vendor/google.golang.org/grpc/stream.go # modified: vendor/google.golang.org/grpc/tap/tap.go # modified: vendor/google.golang.org/grpc/version.go # modified: vendor/google.golang.org/grpc/vet.sh # deleted: vendor/gopkg.in/fsnotify/fsnotify.v1/.editorconfig # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/.travis.yml # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/AUTHORS # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/CHANGELOG.md # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/CONTRIBUTING.md # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/README.md # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/fsnotify.go # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/inotify.go # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/kqueue.go # modified: vendor/gopkg.in/fsnotify/fsnotify.v1/windows.go # modified: vendor/gopkg.in/yaml.v2/encode.go # modified: vendor/k8s.io/apimachinery/pkg/api/errors/OWNERS # modified: vendor/k8s.io/apimachinery/pkg/api/meta/OWNERS # modified: vendor/k8s.io/apimachinery/pkg/api/resource/OWNERS # modified: vendor/k8s.io/apimachinery/pkg/apis/meta/v1/OWNERS # modified: vendor/k8s.io/client-go/rest/OWNERS # modified: vendor/k8s.io/client-go/tools/cache/OWNERS # modified: vendor/k8s.io/client-go/tools/cache/store.go # modified: vendor/k8s.io/client-go/tools/metrics/OWNERS # modified: vendor/k8s.io/client-go/transport/OWNERS # modified: vendor/k8s.io/client-go/util/retry/OWNERS # modified: vendor/k8s.io/klog/.travis.yml # modified: vendor/k8s.io/klog/CONTRIBUTING.md # modified: vendor/k8s.io/klog/OWNERS # modified: vendor/k8s.io/klog/README.md # deleted: vendor/k8s.io/klog/code-of-conduct.md # modified: vendor/k8s.io/klog/klog.go # # Untracked files: # (use "git add ..." to include in what will be committed) # # go.mod # go.sum # vendor/cloud.google.com/go/bigtable/go18.go # vendor/cloud.google.com/go/bigtable/not_go18.go # vendor/cloud.google.com/go/internal/trace/go18.go # vendor/cloud.google.com/go/internal/trace/not_go18.go # vendor/cloud.google.com/go/storage/go17.go # vendor/cloud.google.com/go/storage/not_go17.go # vendor/contrib.go.opencensus.io/exporter/ocagent/connection.go # vendor/contrib.go.opencensus.io/exporter/ocagent/transform_stats_to_metrics.go # vendor/github.com/census-instrumentation/opencensus-proto/gen-go/agent/metrics/ # vendor/github.com/census-instrumentation/opencensus-proto/gen-go/metrics/ # vendor/github.com/cespare/xxhash/go.mod # vendor/github.com/cespare/xxhash/go.sum # vendor/github.com/cespare/xxhash/rotate.go # vendor/github.com/cespare/xxhash/rotate19.go # vendor/github.com/go-logfmt/logfmt/CHANGELOG.md # vendor/github.com/go-logfmt/logfmt/go.mod # vendor/github.com/go-logfmt/logfmt/go.sum # vendor/github.com/gogo/protobuf/proto/wrappers.go # vendor/github.com/gogo/protobuf/proto/wrappers_gogo.go # vendor/github.com/gogo/protobuf/types/protosize.go # vendor/github.com/gogo/protobuf/types/wrappers_gogo.go # vendor/github.com/googleapis/gax-go/.gitignore # vendor/github.com/googleapis/gax-go/.travis.yml # vendor/github.com/googleapis/gax-go/CONTRIBUTING.md # vendor/github.com/googleapis/gax-go/README.md # vendor/github.com/googleapis/gax-go/call_option.go # vendor/github.com/googleapis/gax-go/gax.go # vendor/github.com/googleapis/gax-go/header.go # vendor/github.com/googleapis/gax-go/invoke.go # vendor/github.com/grpc-ecosystem/grpc-gateway/runtime/internal/ # vendor/github.com/hashicorp/golang-lru/go.mod # vendor/github.com/lib/pq/TESTS.md # vendor/github.com/lib/pq/connector.go # vendor/github.com/lib/pq/go.mod # vendor/github.com/lib/pq/rows.go # vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/.gitignore # vendor/github.com/matttproud/golang_protobuf_extensions/pbutil/Makefile # vendor/github.com/miekg/dns/.codecov.yml # vendor/github.com/miekg/dns/Gopkg.lock # vendor/github.com/miekg/dns/Gopkg.toml # vendor/github.com/miekg/dns/Makefile.fuzz # vendor/github.com/miekg/dns/Makefile.release # vendor/github.com/miekg/dns/acceptfunc.go # vendor/github.com/miekg/dns/duplicate.go # vendor/github.com/miekg/dns/duplicate_generate.go # vendor/github.com/miekg/dns/fuzz.go # vendor/github.com/miekg/dns/listen_go111.go # vendor/github.com/miekg/dns/listen_go_not111.go # vendor/github.com/miekg/dns/serve_mux.go # vendor/github.com/miekg/dns/version.go # vendor/github.com/miekg/dns/zduplicate.go # vendor/github.com/oklog/ulid/Gopkg.lock # vendor/github.com/oklog/ulid/Gopkg.toml # vendor/github.com/prometheus/client_golang/prometheus/internal/ # vendor/github.com/prometheus/client_golang/prometheus/wrap.go # vendor/github.com/prometheus/procfs/.gitignore # vendor/github.com/prometheus/procfs/fixtures.ttar # vendor/github.com/prometheus/procfs/internal/ # vendor/github.com/prometheus/procfs/net_dev.go # vendor/github.com/prometheus/procfs/nfs/ # vendor/github.com/prometheus/procfs/proc_ns.go # vendor/github.com/prometheus/procfs/ttar # vendor/github.com/prometheus/procfs/xfrm.go # vendor/github.com/satori/go.uuid/codec.go # vendor/github.com/satori/go.uuid/generator.go # vendor/github.com/satori/go.uuid/sql.go # vendor/github.com/stretchr/testify/assert/assertion_format.go # vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl # vendor/go.opencensus.io/resource/ # vendor/golang.org/x/crypto/ed25519/ # vendor/golang.org/x/crypto/internal/ # vendor/golang.org/x/crypto/poly1305/sum_noasm.go # vendor/golang.org/x/crypto/poly1305/sum_s390x.go # vendor/golang.org/x/crypto/poly1305/sum_s390x.s # vendor/golang.org/x/crypto/poly1305/sum_vmsl_s390x.s # vendor/golang.org/x/crypto/ssh/terminal/util_aix.go # vendor/golang.org/x/net/bpf/ # vendor/golang.org/x/net/internal/iana/ # vendor/golang.org/x/net/internal/socket/ # vendor/golang.org/x/net/ipv4/ # vendor/golang.org/x/net/ipv6/ # vendor/golang.org/x/sys/unix/asm_freebsd_arm64.s # vendor/golang.org/x/sys/unix/asm_netbsd_arm64.s # vendor/golang.org/x/sys/unix/fcntl_darwin.go # vendor/golang.org/x/sys/unix/mkasm_darwin.go # vendor/golang.org/x/sys/unix/mksyscall.go # vendor/golang.org/x/sys/unix/mksyscall_aix_ppc.go # vendor/golang.org/x/sys/unix/mksyscall_aix_ppc64.go # vendor/golang.org/x/sys/unix/mksysnum.go # vendor/golang.org/x/sys/unix/syscall_darwin_libSystem.go # vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go # vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go # vendor/golang.org/x/sys/unix/zerrors_freebsd_arm64.go # vendor/golang.org/x/sys/unix/zerrors_netbsd_arm64.go # vendor/golang.org/x/sys/unix/zsyscall_darwin_386.1_11.go # vendor/golang.org/x/sys/unix/zsyscall_darwin_386.s # vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.1_11.go # vendor/golang.org/x/sys/unix/zsyscall_darwin_amd64.s # vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.1_11.go # vendor/golang.org/x/sys/unix/zsyscall_darwin_arm.s # vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.1_11.go # vendor/golang.org/x/sys/unix/zsyscall_darwin_arm64.s # vendor/golang.org/x/sys/unix/zsyscall_freebsd_arm64.go # vendor/golang.org/x/sys/unix/zsyscall_netbsd_arm64.go # vendor/golang.org/x/sys/unix/zsysnum_freebsd_arm64.go # vendor/golang.org/x/sys/unix/zsysnum_netbsd_arm64.go # vendor/golang.org/x/sys/unix/ztypes_freebsd_arm64.go # vendor/golang.org/x/sys/unix/ztypes_netbsd_arm64.go # vendor/golang.org/x/sys/windows/ # vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go # vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go # vendor/golang.org/x/text/unicode/bidi/tables10.0.0.go # vendor/golang.org/x/text/unicode/bidi/tables9.0.0.go # vendor/golang.org/x/text/unicode/norm/tables10.0.0.go # vendor/golang.org/x/text/unicode/norm/tables9.0.0.go # vendor/google.golang.org/appengine/CONTRIBUTING.md # vendor/google.golang.org/appengine/go.mod # vendor/google.golang.org/appengine/go.sum # vendor/google.golang.org/appengine/internal/api_pre17.go # vendor/google.golang.org/grpc/binarylog/ # vendor/google.golang.org/grpc/credentials/internal/ # vendor/google.golang.org/grpc/credentials/tls13.go # vendor/google.golang.org/grpc/internal/binarylog/ # vendor/google.golang.org/grpc/internal/channelz/util_linux.go # vendor/google.golang.org/grpc/internal/channelz/util_nonlinux.go # vendor/google.golang.org/grpc/internal/grpcsync/ # vendor/google.golang.org/grpc/internal/syscall/ # vendor/modules.txt ```

Note that go mod vendor change lots of things in Vendor:

  • modify
  • remove
  • add

@FiloSottile i really do not think they are meaningless changes.
Even there is some timeout, but go mod change not only those "timeout".

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 8, 2019

@FiloSottile hi, any input?

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 8, 2019

go mod init does not promise to exactly reproduce the configuration of dep. It roughs in a starting point, from which the result is computed using minimal version selection and the transitive go.mod files of your dependencies.

To my knowledge, dep makes no effort to ingest or interpret the dependencies declared in go.mod files, so if any dependency has such a file, module mode can produce a substantially different result from dep. So merely being different from dep is not an error.

If you believe that the module-mode result is erroneous, please provide specific detail for which module's (or modules') requirements are not being followed. (#29773 is the only such issue that I know of at the moment.)

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 9, 2019

@bcmills hi, my key issue is that why go mod modify things under vendor, go mod do not need them any more, right?

@daixiang0 daixiang0 closed this Apr 9, 2019

@daixiang0 daixiang0 reopened this Apr 10, 2019

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 10, 2019

Hi, i do below test in clean env:

$ docker run golang:1.12.1 /bin/bash
# go get github.com/cortexproject/cortex
# cd /go/src/github.com/cortexproject/cortex
# export GO111MODULE=on
# go mod init
# go mod vendor

Then i can see lots of changes in vendor.
@bcmills i test 3 times, reproduce every time.

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 11, 2019

@bcmills hi, any update?

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 11, 2019

Your steps to reproduce explicitly invoke go mod vendor. The whole point of go mod vendor is to update the vendor directory.

As noted in #31223 (comment): if you believe that the module-mode result is erroneous, please provide specific detail for which module's (or modules') requirements are not being followed.

@daixiang0

This comment has been minimized.

Copy link
Author

commented Apr 12, 2019

Get it, go mod vendor not only get things from vendor and also update it.

But it may be confused for users who want to move dep to go mod, since they would remove vendor, update vendor could be meaningless for them.

Add an option to avoid changes in vendor could be better i think.

@bcmills

This comment has been minimized.

Copy link
Member

commented Apr 12, 2019

go mod vendor does not “get things from vendor” at all: its only purpose is to update the vendor directory, and it currently begins that process by deleting it entirely (without reading from it) before repopulating it.

If you want to avoid changes in vendor, then simply don't run go mod vendor. (But see also #30240.)

@bcmills bcmills closed this Apr 12, 2019

@daixiang0 daixiang0 referenced this issue Apr 24, 2019

Merged

Move from dep to go modules #1303

5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.