Skip to content
This repository has been archived by the owner on Feb 26, 2019. It is now read-only.

Migration to vendor failed #487

Open
toni-moreno opened this issue Jun 5, 2016 · 0 comments
Open

Migration to vendor failed #487

toni-moreno opened this issue Jun 5, 2016 · 0 comments

Comments

@toni-moreno
Copy link

toni-moreno commented Jun 5, 2016

Expected behavior

After following the migration steps , I expect to have a new ./vendor directory in my package
https://github.com/toni-moreno/snmpcollector

Actual behavior

no vendor directory exists this is the output from the godep save ( no dependencies found)

$ godep save -v
godep: Go Version: go1.6
godep: Finding dependencies for [.]
godep: Found package: github.com/toni-moreno/snmpcollector
godep:  Deps: 
godep: Computing new Godeps.json file
godep: Computing diff between old and new deps
godep: Rewriting paths (if necessary)

Steps to reproduce behavior

$go get https://github.com/toni-moreno/snmpcollector
(to install godep)
$go run build.go setup 
(here download dependencies)
$go get github.com/Sirupsen/logrus
$go get github.com/go-macaron/binding
$go get github.com/go-macaron/cache
$go get github.com/go-macaron/session
$go get github.com/influxdata/influxdb/client/v2
$go get github.com/soniah/gosnmp
$go get github.com/spf13/viper
(now migration process)
$cd snmpcollector
$ unset GO15VENDOREXPERIMENT
$ godep restore
$ rm -rf Godeps
$ godep save

godep version output

godep v74 (linux/amd64/go1.6.2)

go version output

go version go1.6.2 linux/amd64

Contents of Godeps.json file

developer@ptlarqdev01:~/src/gospace/src/github.com/toni-moreno/snmpcollector$ cat Godeps/Godeps.json
{
"ImportPath": "github.com/toni-moreno/snmpcollector",
"GoVersion": "go1.6",
"GodepVersion": "v74",
"Deps": []
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants