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.

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

@kerubkim

Description

@kerubkim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions