-
Notifications
You must be signed in to change notification settings - Fork 244
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
Added vendor-update command to makefile #671
Conversation
d210fd7
to
c829de5
Compare
This PR adds vendor-update command to Make, so that we can simply update vendor using `make vendor-update` command
c829de5
to
2618a4e
Compare
# Update vendoring | ||
.PHONY: vendor-update | ||
vendor-update: | ||
glide update --strip-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.
shouldn't we add glide update -v
before too?
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.
According to odo doc, this should be sufficient I guess.
I was thinking of adding glide-vc --only-code --no-tests
as well
WDYT ?
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 don't think we're adding that anymore. Using glide-vc
and all.
Maybe we should echo after vendor-update saying that the user should git add .
and do a separate commit? Similar to how developers.md
describes it.
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.
using glide-vc
removes extra clutter which solves #670 as well
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 there's a reason why we don't use glide-vc, @kadel would know once he gets back.
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.
Got it, so as of now, we can merge this in
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.
agreed. this LGTM.
# Update vendoring | ||
.PHONY: vendor-update | ||
vendor-update: | ||
glide update --strip-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.
agreed. this LGTM.
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.
Tested and code LGTM
This PR adds vendor-update command to Make, so that
we can simply update vendor using
make vendor-update
command