Closed nathany closed 7 years ago
@nathany We would like to have init recognize and import config from other tools (see epic #186) but that isn't implemented yet. I'm hoping once #500 is merged, which adds support for importers, someone can tackle gvt. š
What version of Go are you using (go version)?
What operating system and processor architecture are you using?
go version go1.8.3 darwin/amd64 dep v0.1.0-ish 7885eaee569e21f6f8ad372ee628ce11b478f556 (Tue May 30) gvt (Nov 18 2016)
What did you do?
dep init
an existing projectWhat did you expect to see?
Utilizing my old
vendor/manifest
(gvt) to lock things in without a huge diff in my vendor folder?Well maybe I didn't really expect to see that, but something along those lines would be nice. š
I'd like to switch to dep without huge changes to the dependencies in the project so that those can be upgraded incrementally. Also, I think that will help with team buy-in of a new tool.
What did you see instead?
So I undid the changes dep made, fetched those repos and tried
gvt restore
. Then I got some new ones:After all that, I'm still seeing a huge diff in my vendor folder. I think that's an issue with
gvt restore
or my expectations of it. It doesn't seem to be using the commit SHAs in my vendor/manifest to make the repositories in my $GOPATH align with what's in vendor.Scanning the files below reveals that the commit SHAs don't align.
ref #138 ref #186 @FiloSottile
vendor/manifest
Gopkg.toml