mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-03 02:00:43 +00:00
We will use this code to execute the code in some process' network namespace. I did the vendoring a bit differently, as gvt seems to be a bit dumb about getting dependencies for test packages (it tried to vendor ginkgo and gomega, since cni tests are using it). Also, instead of vendoring golang.org/x/sys as github.com/containernetworking/cni/vendor/golang.org/x/sys I moved it to scope's vendor directory.
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