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

Migration to vendor failed #487

@toni-moreno

Description

@toni-moreno

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": []
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions