Update go.mod and go.sum by test/presubmit-tests.sh#162
Update go.mod and go.sum by test/presubmit-tests.sh#162knative-prow-robot merged 1 commit intoknative:masterfrom nak3:update-by-presubmit-test
Conversation
This changes are updated by `test/presubmit-tests.sh`.
|
Hi @nak3. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
| github.com/google/go-cmp v0.3.0 // indirect | ||
| github.com/google/go-containerregistry v0.0.0-20190503220729-1c6c7f61e8a5 // indirect | ||
| github.com/google/gofuzz v1.0.0 // indirect | ||
| github.com/google/licenseclassifier v0.0.0-20190501212618-47b603fe1b8c // indirect |
There was a problem hiding this comment.
I wonder from where these indirect dependencies come from, as we don't change direct dependencies in this PR. Any ideas ?
There was a problem hiding this comment.
I'm not exactly sure about the go mod's mechanism. But I am thinking that following code updates the dependencies.
When I ran test/presubmit-tests.sh, the code is updated after this message.
-----------------------------------------
---- Checking for forbidden licenses ----
-----------------------------------------
go: finding github.com/google/licenseclassifier latest
There was a problem hiding this comment.
Ah, ok. That's probably also why there is an // indirect comment which indicates that the dependencies don't come directly by being used in the source. I thought it was only about transitive dependencies but looks like the same mechanism is used for dependencies coming from other sources (like this go get).
I really wished go mod would clearly separate the manual declared dependencies (or those suggested by examing the source code) from transitive dependencies, as Maven does.
Could we please remove the // indirect comment as often during the update I'm removing all // indirects and let go mod figure them out a fresh ? At the end, it's a direct dependency anyway for us.
There was a problem hiding this comment.
Hmm... it looks like it is not possible. Even if we remove the // indirect comment manually from go.mod, it is added automatically whenever we run test/presubmit-tests.sh.
There was a problem hiding this comment.
ok, then may it be like this and I'm fine with the inevitable ;-)
/lgtm
|
@rhuss: changing LGTM is restricted to assignees, and only knative/client repo collaborators may be assigned issues. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/ok-to-test |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nak3, rhuss, sixolet The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Place Dockerfile in release-next and release-vX branches
This changes are updated by running
test/presubmit-tests.shagainst HEAD.Fixes #163