Questions tagged [godeps]

Godep(Godeps) helps build packages reproducibly by fixing their dependencies. Now deprecated, use `dep` instead.

Godep(Godeps) helps build packages reproducibly by fixing their dependencies.

Now deprecated, use dep instead.

https://github.com/tools/godep

64 questions
1
vote
1 answer

Godep removing all depedency

I am new to Go, and I have been working on a Go project locally. I have installed Godep in my local system by: go get github.com/tools/godep and then installed Aerospike dependency go get -u github.com/aerospike/aerospike-client-go However…
Mangat Rai Modi
  • 5,397
  • 8
  • 45
  • 75
1
vote
0 answers

"godep save" Not Adding New Packages

I'm trying to submit a pull request to a golang project. I've never used godep before and it's giving me some grief. In this commit I added an import--github.com/Parallels/docker-machine-parallels but godep save is not adding it to…
pnovotnak
  • 4,341
  • 2
  • 27
  • 38
1
vote
0 answers

How do I get my godep dependencies in my ...project_folder/Godeps/_workspace/?

I was given source code with a Godeps/Godeps.json file. From what I understand is I need to get my dependancies into ...project_folder/Godeps/_workspace/src. My Go Path: /users/me/work I used godep restore which downloaded all the dependancies to…
devinov
  • 517
  • 1
  • 6
  • 17
1
vote
2 answers

How do I build utilities with my Go web app on Heroku?

I've developed a web app using Go, which I've deployed to Heroku. I'm using mattes/migrate to manage migrations. It works great locally, but the migrate command-line binary isn't available when I deploy to Heroku. The only binaries that are included…
Christian Niles
  • 331
  • 4
  • 8
1
vote
1 answer

Go "unrecognized imports"

On fedora 22, I found that all the standard go libraries aren't visible on the path for go. NOTE I have indeed cleaned my system of golang - so I'm pretty sure it's not a mixed package versioning problem which often can happen when upgrading go.…
jayunit100
  • 17,388
  • 22
  • 92
  • 167
0
votes
0 answers

Building go dependencies

I am using dep to build dependencies. In the below toml file , I hit issue in apimachinery # Gopkg.toml example # # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md # for detailed Gopkg.toml documentation. # required =…
ambikanair
  • 4,004
  • 11
  • 43
  • 83
0
votes
2 answers

Error when running dep ensure: Grouped write of manifest, lock and vendor: could not stat file that VerifyVendor claimed existed

I'm getting the following error when running dep ensure: Grouped write of manifest, lock and vendor: could not stat file that VerifyVendor claimed existed: stat "path to package inside vendor": no such file or directory This is my…
Nic
  • 12,220
  • 20
  • 77
  • 105
0
votes
1 answer

Vendoring problem from Opencensus Libraries for Golang

I'm having problem while vendoring my go-project. Tried with both glide and go-dep - getting same problem. $ go get -u go.opencensus.io gives the following error: package go.opencensus.io/opencensus-go: unrecognized import path…
kfoozminus
  • 136
  • 9
0
votes
1 answer

Cannot update dependency package with godeps

I need to update stripe-go library version. Project has 19.** New version 52.** There is a godeps dependency manager When I try to run godep save github.com/stripe/stripe-go I get godep: cannot save github.com/stripe/stripe-go/form at revision …
b3lowster
  • 415
  • 1
  • 6
  • 18
0
votes
1 answer

Problems with dependencies after setting up go dep

My project is located in $GOPATH/src/smp-cloudupload I can run dep init without errors. After that I cant compile the project anymore. One of the errors: main/scs/scsApiGateway.go:5:2: cannot find package…
Alex Tbk
  • 2,042
  • 2
  • 20
  • 38
0
votes
0 answers

GOPATH duplicating path with underscore with dep packages

My GOPATH is /Users/admin/go/marketing Running dep ensure then go build -ldflags="-s -w" -o bin/ma ma/*.go creates the following error. ../database-helpers/database-drivers.go:5:2: cannot find package…
Parris Varney
  • 11,320
  • 12
  • 47
  • 76
0
votes
0 answers

Using revel with dep for dependency management

I'm trying to create a production system with revel and go. I found dep as the version and dependency management tool. Since this is going to be a production system, I wanted to lock down the versions I'm using, using dep. It seems to be working…
Shaumux
  • 735
  • 11
  • 25
0
votes
0 answers

Hierarchy of vendors

My go project consists of many components. Every component has its own vendor directory, which is populated by the dep. Because components have similar dependencies, there is a huge duplication in vendor directories. Additionally, vendors are quite…
Adam Szecowka
  • 675
  • 3
  • 8
  • 20
0
votes
0 answers

Dep/Godep: define revision at package level

In govendor was possible to specify which revision you wanted for each package of a dependency. For example: Repo "github.com/myorg/myrepo". Package "github.com/myorg/myrepo/x" with revision "16b65b2a4e3d30f47875b1cb2abc8a43fc" Package…
fff
  • 1
  • 1
0
votes
1 answer

Go dep does not resolve "golang.org/x/crypto"

I'm not very familiar with go dep (nor golang in general) but I inherited a project in which I need to add a dependency. When running dep ensure -v I get the following output: Root project is "github.com/MyOrg/myProject" 7 transitively valid…
Zack
  • 540
  • 5
  • 12