Skip to content

Update go.mod and go.sum by test/presubmit-tests.sh#162

Merged
knative-prow-robot merged 1 commit intoknative:masterfrom
nak3:update-by-presubmit-test
Jun 7, 2019
Merged

Update go.mod and go.sum by test/presubmit-tests.sh#162
knative-prow-robot merged 1 commit intoknative:masterfrom
nak3:update-by-presubmit-test

Conversation

@nak3
Copy link
Copy Markdown
Contributor

@nak3 nak3 commented Jun 3, 2019

This changes are updated by running test/presubmit-tests.sh against HEAD.

Fixes #163

This changes are updated by `test/presubmit-tests.sh`.
@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Jun 3, 2019
@knative-prow-robot knative-prow-robot added the needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. label Jun 3, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

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 /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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.

@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jun 3, 2019
Comment thread go.mod
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
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder from where these indirect dependencies come from, as we don't change direct dependencies in this PR. Any ideas ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not exactly sure about the go mod's mechanism. But I am thinking that following code updates the dependencies.

go get -u github.com/google/licenseclassifier

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

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, then may it be like this and I'm fine with the inevitable ;-)

/lgtm

@knative-prow-robot
Copy link
Copy Markdown
Contributor

@rhuss: changing LGTM is restricted to assignees, and only knative/client repo collaborators may be assigned issues.

Details

In response to this:

ok, then may it be like this and I'm fine with the inevitable ;-)

/lgtm

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.

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Jun 5, 2019

/ok-to-test

@knative-prow-robot knative-prow-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Jun 5, 2019
@sixolet
Copy link
Copy Markdown
Contributor

sixolet commented Jun 7, 2019

/approve
/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 7, 2019
@knative-prow-robot
Copy link
Copy Markdown
Contributor

[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

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@knative-prow-robot knative-prow-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 7, 2019
@knative-prow-robot knative-prow-robot merged commit 01da225 into knative:master Jun 7, 2019
@nak3 nak3 deleted the update-by-presubmit-test branch June 7, 2019 02:11
navidshaikh pushed a commit to navidshaikh/client that referenced this pull request Nov 12, 2019
Place Dockerfile in release-next and release-vX branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Running test/presubmit-tests.sh updates go.mod and go.sum

5 participants