Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
go mod support for new operators #1001
go mod support for new operators #1001
Changes from 57 commits
e201051
0b4a8e2
2635649
a8ef312
dcb09f7
327321b
b164bb8
e1f80b6
5294c0b
277f40f
ac7b7fd
95443fd
de7bd14
90de1be
8484838
ea63193
c4959cc
3924a9e
de0d3a1
9e467e1
29956fe
5c88a4f
d99fc0a
196f454
e009edd
e4d3ad1
5fe4704
eaabb20
5dc0872
fb6fb7c
0adf300
b98493f
be5c471
4f4f690
993a715
39dca64
4dc2e39
1d8e2a7
30cf837
375ee8b
2df4817
a99bada
afc803a
028f15c
ac85efc
93e7001
a2e709b
d0e58a4
7904db6
1f5310b
8121298
ba2283e
5cdfb5a
e55cf3f
c99eadc
8ffcc05
31fcdef
2f2f6e8
089a39f
6d9af7d
01b6886
5acab6e
0cda993
2a02d77
be5fa01
31ab429
5b95708
2e5c130
bc02ad3
b443cf6
110188c
a2cdcec
3be885f
5173130
6fb9f7d
e4834c1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe that
go mod tidy
should be run beforego mod vendor
, as tidy might edit the go.mod fileThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd rather remove
go mod tidy
because it modifiesgo.mod
andgo.sum
, changes which are then reverted bygo mod vendor
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure that go mod vendor can revert changes to go.mod. From : https://github.com/thepudds/go-module-knobs/blob/master/README.md
It would be surprising that the vendor dir be different than the state recorded in the go.mod file as this file contains the cannonical truth on dependencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps revert is not the right word.
go.mod
andgo.sum
are modified when you rungo mod tidy
, then changed again when you rungo mod vendor
. I assume its because oftidy
functionality:While
vendor
just reads what's in thevendor/
directory.Also see the note in step 2 of How to define a module. We shouldn't run
go mod tidy
inoperator-sdk new
.