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

Changed git provider. Most vendor packages are still using the old git link #561

Open
kerubkim opened this issue Jun 21, 2018 · 0 comments

Comments

@kerubkim
Copy link

Hi,

My employer recently switched git provider, from bitbucket to github. There was also a different developer working on this project. I noticed he used Godeps. I am wondering if this package could help me change all the package imports/links to github instead of bitbucket.

Note: I am fairly new with goLang.

Thank you!

Expected behavior

Need go install to look for 'github.com/accountName/repoName/folderName' instead of 'bitbucket.org/accountName/repoName/folderName'.

Actual behavior

After 'go clone' from github. Did 'go install'. I am receiving '.... cannot find package "bitbucket.org/accountName/repoName/folderName" in any of:'
/Users/myName/golang/src/github.com/accountName/repoName/vendor/bitbucket.org/accountName/repoName/folderName (vendor tree)
/usr/local/go/src/bitbucket.org/accountName/repoName/folderName (from $GOROOT)
/Users/myName/golang/src/bitbucket.org/accountName/repoName/folderName (from $GOPATH)

Steps to reproduce behavior

Private repo. Please excuse the privacy.

godep version output

I have not installed godep myself.

go version output

go version go1.10.3 darwin/amd64

Contents of Godeps.json file

{
"ImportPath": "bitbucket.org/accountName/repoName",
"GoVersion": "go1.7",
"GodepVersion": "v79",
"Deps": [ ... ],
}

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

No branches or pull requests

1 participant