-
Notifications
You must be signed in to change notification settings - Fork 147
vendor: respect repository field in restore and update #730
base: master
Are you sure you want to change the base?
Conversation
I deeply regret adding restore to gb vendor, thanks for fixing this, I’ll take a look soon.
… On 11 Jan 2018, at 05:45, Henry ***@***.***> wrote:
Somehow the repository field from the manifest isn't used.
With this I can replace packages with forks.
You can view, comment on, or merge this pull request online at:
#730
Commit Summary
respect repository field in restore and update
File Changes
M cmd/gb-vendor/restore.go (8)
M cmd/gb-vendor/update.go (2)
Patch Links:
https://github.com/constabulary/gb/pull/730.patch
https://github.com/constabulary/gb/pull/730.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
oh why is that? I might not be best style but I tend to keep small patches inside my tree until I move them to PRs/external forks. It reduces the overhead of dealing with a lot more repos for me and the restore command is pretty helpful to get back the upstream state. |
It has been the biggest source of bugs, especially when people became so reliant on it that parallel downloading of artifacts had to be implemented.
… On 11 Jan 2018, at 19:02, Henry ***@***.***> wrote:
I deeply regret adding restore to gb vendor.
oh why is that?
I might not be best style but I tend to keep small patches inside my tree until I move them to PRs/external forks. It reduces the overhead of dealing with a lot more repos for me and the restore command is pretty helpful to get back the upstream state.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Disregard the previous comment. Somehow my |
I broke the vanity-detection fallback with my previous commit. This is just a workaround until there is a cleaner solution.
Codecov Report
@@ Coverage Diff @@
## master #730 +/- ##
=========================================
+ Coverage 50.52% 50.7% +0.18%
=========================================
Files 42 41 -1
Lines 3119 3102 -17
=========================================
- Hits 1576 1573 -3
+ Misses 1405 1386 -19
- Partials 138 143 +5
Continue to review full report at Codecov.
|
Testing this some more, I noticed that I broke vanity imports. I pushed a really dirty hack in 0153a33 to make |
Somehow the
repository
field from the manifest isn't used.With this I can replace packages with forks.