You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.
What operating system and processor architecture are you using?
go version go1.8.3 darwin/amd64
dep v0.1.0-ish 7885eae (Tue May 30)
gvt (Nov 18 2016)
What did you do?
dep init an existing project
What 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?
Following dependencies were not found in GOPATH. Dep will use the most recent versions of these projects.
github.com/aws/aws-sdk-go
github.com/go-resty/resty
github.com/gorilla/handlers
github.com/icrowley/fake
github.com/sethgrid/pester
github.com/twinj/uuid
github.com/pmezard/go-difflib
So I undid the changes dep made, fetched those repos and tried gvt restore. Then I got some new ones:
Following dependencies were not found in GOPATH. Dep will use the most recent versions of these projects.
github.com/go-ini/ini
github.com/jmespath/go-jmespath
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.
@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 7885eae (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
The text was updated successfully, but these errors were encountered: