-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Add vendoring section #187
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
Conversation
## Vendoring | ||
|
||
We keep a cached copy of dependencies under the vendor/ directory, | ||
managing updates via the `govendor` command (github.com/kardianos/govendor) |
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.
maybe change to [govendor](https://github.com/kardianos/govendor)
instead to be consistent :)
We keep a cached copy of dependencies under the vendor/ directory, | ||
managing updates via the `govendor` command (github.com/kardianos/govendor) | ||
|
||
Pull requests should only include vendor/ updates IFF they are |
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.
s/IFF/IF/
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.
Also prefer bold over CAPS
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.
IFF stands for IF and only IF
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.
Anyway, dropped IFF as of 15bd941 (the "only" part is already expressed before)
Pull requests should only include vendor/ updates IFF they are | ||
part of the same change, be it a bugfix or a feature addition. | ||
|
||
In any case, the vendor/ change needs to be justified as part |
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.
The vendor update needs to be
Pull requests should only include vendor/ updates if they are | ||
part of the same change, be it a bugfix or a feature addition. | ||
|
||
In any case, the vendor/ update needs to be justified as part |
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 meant get rid of In any case,
, but that might've been ambiguous 🙂
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.
Yes, it was. See how you like ac644fd
Current coverage is 3.03% (diff: 100%)@@ master #187 diff @@
========================================
Files 33 33
Lines 8106 8106
Methods 0 0
Messages 0 0
Branches 0 0
========================================
Hits 246 246
Misses 7840 7840
Partials 20 20
|
LGTM |
LGTM. And changes of |
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.
And I would put the vendor/ into backticks, makes it better visible as a folder name.
@@ -57,6 +57,17 @@ After running for a while, the command should print | |||
``` | |||
ALL TESTS PASSED | |||
``` | |||
## Vendoring | |||
|
|||
We keep a cached copy of dependencies under the vendor/ directory, |
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.
within the vendor/
Closes gogs#178
You forgot the backticks around the vendor/ mentions |
I can't see any missing backtick in the files changed tab, can you comment there if you do ? |
LGTM |
The Vendoring section was removed in this commit. Was this intentional? |
Not intentional, maybe somebody else got the time to add it back to all our repos? |
Remove changes to vendor/ dependencies
Addresses #178