Skip to content
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

Merged
merged 1 commit into from
Sep 3, 2018

Conversation

surajnarwade
Copy link
Contributor

This PR adds vendor-update command to Make, so that
we can simply update vendor using make vendor-update command

This PR adds vendor-update command to Make, so that
we can simply update vendor using `make vendor-update` command
# Update vendoring
.PHONY: vendor-update
vendor-update:
glide update --strip-vendor
Copy link
Member

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?

Copy link
Contributor Author

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 ?

Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

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

agreed. this LGTM.

Copy link
Contributor

@mik-dass mik-dass left a 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

@mik-dass mik-dass merged commit 3fc7a39 into redhat-developer:master Sep 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants