-
Notifications
You must be signed in to change notification settings - Fork 536
Closed
Description
It happened so, that we are using bitbucket for our internal Git repository. It seems like glide has some problems with it.
Our internal repository is configured like this. All git ssh keys are available on the system.
Glide version:
glide version 0.11.0-dev (c25976f)
config
- package: go-superlib
repo: ssh://git@stash.local.net:7999/superlib/go-superlib.git
vcs: git
Glide version: glide version 0.11.0-dev
During the run of 'glide up' command I am getting the following set of warnings and errors:
[INFO] Downloading dependencies. Please wait...
....
[INFO] Fetching updates for go-superlib.
....
[INFO] Resolving imports
[INFO] Downloading dependencies. Please wait...
[INFO] Fetching updates for go-superlib/lib1.
[INFO] Fetching updates for go-superlib/lib2.
[WARN] go-superlib/lib1 appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[INFO] Fetching updates for go-superlib/lib3.
[INFO] Fetching updates for go-superlib/lib4.
[INFO] Fetching updates for go-superlib/lib5/lib6.
[WARN] go-superlib/lib2 appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN] go-superlib/lib3 appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN] go-superlib/lib4 appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[WARN] go-superlib/lib5/lib6 appears to be a vendored package. Unable to update. Consider the '--update-vendored' flag.
[ERROR] Failed to set version on go-superlib/lib1 to : Cannot detect VCS
[ERROR] Failed to set version on go-superlib/lib2 to : Cannot detect VCS
[ERROR] Failed to set version on go-superlib/lib3 to : Cannot detect VCS
[ERROR] Failed to set version on go-superlib/lib4 to : Cannot detect VCS
[ERROR] Failed to set version on go-superlib/lib5/lib6 to : Cannot detect VCS
[INFO] Project relies on 38 dependencies.
An Error has occurred
All these lib1,lib2... are just the internal packages which are the part of "superlib".
There is a workaround. I just add go-superlib/lib1 and others into ignore section, once it's done glide up and glide install work as expected.
However, it would be great to fix this problem when glide tries to dig deeper then necessary.
Metadata
Metadata
Assignees
Labels
No labels