Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

ci: enforce that dep prune is run #1161

Merged
merged 1 commit into from
Sep 12, 2017
Merged

Conversation

sdboyer
Copy link
Member

@sdboyer sdboyer commented Sep 12, 2017

What does this do / why do we need it?

because we need to minimize our vendor folder size, like everyone else.

What should your reviewer look out for in this PR?

dumb mistakes.

Do you need help or clarification on anything?

nope

mv $TMP_FILE Gopkg.lock

# We run ensure to and see if we have a diff afterwards
# We run ensure and prune to and see if we have a diff afterwards
Copy link
Contributor

Choose a reason for hiding this comment

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

Just remove this comment, it's not helpful

Copy link
Member Author

Choose a reason for hiding this comment

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

fair nuff

mv $TMP_FILE Gopkg.lock

# We run ensure to and see if we have a diff afterwards
# We run ensure and prune to and see if we have a diff afterwards
go build ./cmd/dep
./dep ensure
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it better to use vendor-only? Change in lock (update of the dependency) and the commit(this script run against) can be unrelated.

Copy link
Member Author

Choose a reason for hiding this comment

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

derp, that was in there originally and i lost it in my fast commit amending. it's mostly better to do this, though it doesn't do 💯 of what we want.

@sdboyer sdboyer merged commit 35e1a38 into golang:master Sep 12, 2017
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants