-
Notifications
You must be signed in to change notification settings - Fork 18k
cmd/go: GOFLAGS=-mod=vendor affects result of go list -m all
#35589
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
Comments
It is, unfortunately, not possible for
|
In general, In Go 1.14, the following message is printed:
@bcmills Maybe this is a documentation issue? |
@jayconrod, it may be that we should update the documentation, although I doubt that anyone will read it ahead of time and I think the error message mostly speaks for itself. |
workaround for golang/go#35589
workaround for golang/go#35589
workaround for golang/go#35589
workaround for golang/go#35589
* test/edge: Delete dead code Signed-off-by: Xiang Dai <[email protected]> * return details info to edge node when registration failed Signed-off-by: Kevin Zhao <[email protected]> * print reason from cloud core * fix_connection * Document volume support Signed-off-by: Xiang Dai <[email protected]> * workaround fix on cloudcore crash of device without nodeselector * Fix issue 1905. Changes: 1. Refine some function names. Those function names use past tense which are unreasonable. Refine them to present tense. 2. Refine some variable names. Device and device model are two different definitions. In this case, it's device. * Added JYLink to adopter Added Jingying Shuzhi Technology Co., Ltd to adopter * Fix issue 1905 Changes: Refine some function names. Those function names use past tense which are unreasonable. Refine them to present tense. Refine some variable names. Device and device model are two different definitions. In this case, it's device. * fix use certificate from local directory problem * Fix Modbus Mapper Metric Param Error. * fix downstream * upate go version * updating vendor * updated sigs.k8s.io/kind * updated sigs.k8s.io/kind * updating go modules * exited programm if command failed * remove warning incosistent vendoring * update vendor * cleaning up vendor * fix go list * Refine a function name. * travis workaround go1.14 issue workaround for golang/go#35589 * add cert rotation * Bump lodash from 4.17.14 to 4.17.19 in /mappers/modbus_mapper/src Bumps [lodash](https://github.com/lodash/lodash) from 4.17.14 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.14...4.17.19) Signed-off-by: dependabot[bot] <[email protected]> * add reportCycle and collectCycle in property vistor * add customized protocol support * add data section * re-org device model and device instance * tweak log info Signed-off-by: Kevin Zhao <[email protected]> * EdgeMesh: remove useless scripts Signed-off-by: Xiang Dai <[email protected]> * Lint: check broken links Signed-off-by: Xiang Dai <[email protected]> * Fix issue 1824 The action in one schedule can be more than one. "actionExists" will always be true once it enters line 85, which is not expected. Morever, if one action cannot be found, other actions should be run. * upgrade device api from v1alpha1 to v1alpha2 * move data section from top level into Spec section * enhance on device protocol config * Fix an incorrect link to keadm doc * Update eventbus.md * edged implement GetExec funtion Signed-off-by: kadisi <[email protected]> * Docs: fix all dead links Signed-off-by: Xiang Dai <[email protected]> * Fix device configMap can not be deleted Signed-off-by: Xiang Dai <[email protected]> * The same info is used by several files. Refine them all. Signed-off-by: sailorvii <[email protected]> * add testcase Signed-off-by: Xiang Dai <[email protected]> * update edge authentication proposal about cert rotation * Add proposal for device management enhancement * fix typos in docs * move property vistor codes to device_instance_types * Remove redundant code * Fix: print token with newline * Use Fprintln to print token * get new device crd and fix keadm ci issue * Fix const int to string issue Signed-off-by: Xiang Dai <[email protected]> * Docs: upgrade device crds version Signed-off-by: Xiang Dai <[email protected]> * add v1alpha1 device crd back * Fix wrong ContainerRuntimeType in display * Bump up csidriver example image version Signed-off-by: Xiang Dai <[email protected]> * Keadm: add test when use `keadm gettoken` in cmdline Signed-off-by: Xiang Dai <[email protected]> * Lint: add more help info Signed-off-by: Xiang Dai <[email protected]> * clean up unused constants * update node limit default value * fix typo * Add kill signal support Signed-off-by: Xiang Dai <[email protected]> * make lint work in Mac and fix lint issues * lint: address review comment * Move the setting out of the rotation. * Give the capacity of slice and map * fixed goroutine leak, when ws connection reconnect, but fifo's channel not close * extend property types * Refine the error messages to errors.New. * Update upstream dependency to K8s 1.18.5 Co-authored-by: Yin Ding <[email protected]> Co-authored-by: Rio Zhu <[email protected]> * Updated k8s to 1.18.5 and modified code around API changes. * Updated kube-scheduler dependency. * added filed ExperimentalTopologyManagerPolicy to matched the upgraded k8s * Changed some dependencies' versions to x.18.0 * Added function to start cpu manager in clcm. * update vendor to k8s 1.18 * Lint: fix formats etc. * add license file * skip structured-merge-diff license check this package doesn't exist, but has v3 subdirectory as a different package so it can't be filtered by the previous rule, temporarily treat this way until find out a better rule. * update generated code * update to k8s 1.18, fix more context issues * Lint: fix formats * R1186 (#8) * Upgraded k8s to x.18.6 * Updated vendor folder * added files in vendor * lint: clean up go module * update vendor * fix an error from merged pr * update client-go storage lister fix mount host path error * lint: empty lines * StartCPUManager when edged start * Refine the edgecontroller message group name. * tunnel cert optimization Co-authored-by: Xiang Dai <[email protected]> Co-authored-by: Kevin Zhao <[email protected]> Co-authored-by: Poor12 <[email protected]> Co-authored-by: KubeEdge Bot <[email protected]> Co-authored-by: luogangyi <[email protected]> Co-authored-by: sailorvii <[email protected]> Co-authored-by: coversb <[email protected]> Co-authored-by: threestoneliu <[email protected]> Co-authored-by: zongke <[email protected]> Co-authored-by: guojianyu <[email protected]> Co-authored-by: Jan Unterbrink <[email protected]> Co-authored-by: Xujiejie <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: wzharies <[email protected]> Co-authored-by: sailorvii <[email protected]> Co-authored-by: kadisi <[email protected]> Co-authored-by: ZYZ <[email protected]> Co-authored-by: dwq <[email protected]> Co-authored-by: ESWZY <[email protected]> Co-authored-by: xufei 00416946 <[email protected]> Co-authored-by: Qiang Zheng <[email protected]> Co-authored-by: Yin Ding <[email protected]> Co-authored-by: dddddai <[email protected]> Co-authored-by: loongify <[email protected]> Co-authored-by: Rio Zhu <[email protected]> Co-authored-by: Liangshuang <[email protected]>
workaround for golang/go#35589
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
diff <(GOFLAGS=-mod=vendor go list -f {{.Path}} -m all) <(go list -f {{.Path}} -m all)
What did you expect to see?
There should be no difference or, if that for some reason isn't feasible, at least all modules that are in the
vendor
directory should be listed.What did you see instead?
The command without
GOFLAGS=-mod=vendor
reports a lot more modules. For example:Many of these extra modules are not actually used and thus not present in
vendor
(for example,bitbucket.org/bertimus9/systemstat
).But some that aren't reported by the first command are used (for example,
k8s.io/kubectl
). That's more problematic because additional unused modules can be ignored, but if the module isn't even reported, it will be missed when analyzing dependencies.The text was updated successfully, but these errors were encountered: