Masterminds / glide

Package Management for Golang
https://glide.sh
Other
8.16k stars 539 forks source link

Aliasing repositories does not work #1043

Open Reifier opened 5 years ago

Reifier commented 5 years ago

My configuration:

  - package: github.com/orgname/common
    vcs: git
    repo: https://github.com/orgname/go-common.git
    version: master

Output


[WARN]  Unable to checkout common
[ERROR] Error looking for common: Cannot detect VCS
[WARN]  Unable to set version on common to . Err: Cannot detect VCS
[WARN]  Unable to set version on common to . Err: Cannot detect VCS
[WARN]  Unable to set version on common to . Err: Cannot detect VCS
[ERROR] Error scanning common/djpcommon: cannot find package "." in:
    /root/.glide/cache/src/https-common/djpcommon
[ERROR] Error scanning common/logger: cannot find package "." in:
    /root/.glide/cache/src/https-common/logger
[ERROR] Error scanning common/qhttp: cannot find package "." in:
    /root/.glide/cache/src/https-common/qhttp
[ERROR] Failed to retrieve a list of dependencies: Error resolving imports

I tried to change url to include/exclude http and .git but it doesn't work.