-
Notifications
You must be signed in to change notification settings - Fork 326
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
Dep Support #993
Dep Support #993
Conversation
Codecov Report
@@ Coverage Diff @@
## master #993 +/- ##
=======================================
Coverage 34.11% 34.11%
=======================================
Files 36 36
Lines 2896 2896
=======================================
Hits 988 988
Misses 1806 1806
Partials 102 102 Continue to review full report at Codecov.
|
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 should clarify that dep
is billed as the "official experiment". Once it is the official tool, it is more likely to exist as go dep
, but they weren't even committal on that.
The pedant in me would want to see this split into two commits. One that replaces Glide with the same dependency versions (or as close to it as we can get) so we can see what changes in vendor/
. Ideally switching it out would have minimal changes to vendor/
. Then, a second commit that upgrades dependencies where we've chosen to do so.
I'm not sure how feasible that is, and I'm certainly not requesting it. I think the hardest part in achieving that would be that we are going to back to having Gopkg.toml
only list immediate dependencies, not transitive ones.
Hi @codenrhoden,
So I did attempt to do this. The PR's commit should not introduce any new or updated versions of dependencies. The changes you see are due to the fact that I did not attempt to recreate a
I'm going to spend 30 or so minutes to see if I am able to create a |
9730d18
to
0a06d73
Compare
This patch introduces support for the official Go dependency management tool, Dep (https://github.com/golang/dep). Glide support has been removed in favor of the new, official tool.
Hi @codenrhoden, I'm going to add a second commit to this PR that updates the versions of the dependencies by virtue of undoing the overrides in |
Awesome. I really like being able to see what versions changed between the two commits. And having the transitive deps out of the Scrolling through all the deps, I think the only thing I noticed is that we don't have Cobra as a direct dependency, so it gets pointed to |
This patch hands over the job of tracking transitive dependencies to the Dep tool. This patch also updates dependencies to their latest versions with the exception of the Azure SDK and Autorest packages. Attempts to update those resulted in build errors.
Hi @codenrhoden, I force pushed this PR with the second commit updated to reflect Cobra and PFlag as direct entries in the |
This patch introduces support for the official Go dependency management tool, Dep. Glide support has been removed in favor of the new, official tool.