mirror of
https://github.com/weaveworks/scope.git
synced 2026-07-25 16:26:48 +00:00
Commands run: ``` $ gvt delete github.com/Sirupsen/logrus $ gvt fetch -tag v1.0.3 github.com/sirupsen/logrus ``` N.B.: following this commit, build fails with: ``` report/marshal.go:14:2: cannot find package "github.com/Sirupsen/logrus" in any of: /go/src/github.com/weaveworks/scope/vendor/github.com/Sirupsen/logrus (vendor tree) /usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT) /go/src/github.com/Sirupsen/logrus (from $GOPATH) ``` Resolution in subsequent commit.
Managing Vendored Dependencies with gvt
These operations result in uncommitted changes to your branch; you will need to commit them as normal. Execute them in the root of your checkout.
For these changes to take effect, you'll have to make clean before running
make.
Installing gvt
$ go get -u github.com/FiloSottile/gvt
Adding a Dependency
~/service$ gvt fetch example.com/organisation/module
Updating a Dependency
~/service$ gvt update example.com/organisation/module
Removing a Dependency
~/service$ gvt delete example.com/organisation/module