Masterminds / glide

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

glide no longer working for aliased repos? #967

Open sjpotter opened 6 years ago

sjpotter commented 6 years ago
$ glide get golang.org/x/crypto/ssh
[INFO]  Preparing to install 1 package.
[INFO]  Attempting to get package golang.org/x/crypto/ssh
[INFO]  --> Gathering release information for golang.org/x/crypto/ssh
[INFO]  --> Adding golang.org/x/crypto/ssh to your configuration
[INFO]  Downloading dependencies. Please wait...
[INFO]  --> Fetching golang.org/x/crypto/ssh
[INFO]  --> Fetching updates for github.com/apporbit/harvester
[INFO]  --> Fetching updates for github.com/fsouza/go-dockerclient
[WARN]  Unable to checkout golang.org/x/crypto/ssh
[ERROR] Update failed for golang.org/x/crypto/ssh: Cannot detect VCS
[ERROR] Failed to checkout packages: Cannot detect VCS

have no idea how to debug this, go get golang.org/x/crypto/ssh works and with -v shows it doing the right thing and glide get <github.com-url> works fine.

sjpotter commented 6 years ago

I should note that this was working fine, until I updated my ubuntu installation from 17.04 to 17.10

sjpotter commented 6 years ago

using the golang-glide package in Ubuntu 17.10 (instead of my own go get version worked

$ glide --version
glide version v0.13.1
$ /usr/bin/glide --version
glide version 0.12.3-2

first one fails repeatedly (its the one in my GOPATH), the second one works fine.