Glide is a package manager for Go. Glide v0.12.3 is the latest release. For more details on Glide visit https://glide.sh. Pull requests are welcome.
Hi guys, could you please advice whether I am doing something wrong when trying to resolve github.com/ethereum/go-ethereum
subpackages like ethclient with glide ?
The issue that I encounter is
[ERROR] Error scanning github.com/ethereum/go-ethereum/ethclient: cannot find package "."
My imports are defined like this:
"github.com/sirupsen/logrus"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/gin-gonic/gin"
Although my glide.yaml has this subpackage defined
- package: github.com/ethereum/go-ethereum
version: ^2.0.0
subpackages:
- ethclient
but still fails to resolve
glide init
prints nothing
docker run --rm -it golang:1.8 curl https://glide.sh/get | sh
: command not found
: command not foundsh: line 5:
: command not foundsh: line 8:
: command not foundsh: line 10:
: command not foundsh: line 13:
: command not foundsh: line 15:
' sh: line 16: syntax error near unexpected token `{
'sh: line 16: `fail() {
glide up
and it changed all other dependencies -- I did google and saw that this was asked a lot and i sorta understand why it behaves the way it does. BUT, at this moment, glide.yaml doesn't match glide.lock anymore. So I'm confused what the designed use case is?
go install github.com/Masterminds/glide: open /usr/local/go/bin/glide: permission denied
y
when specified as dependency in package z's glide.yaml
works fine and pulls in all the dependencies from y
glide update
without the --all-dependencies
, glide should just walk the tree and fetch dependencies as specified in glide.yaml..