Skip to content

Problems installing glide #1082

@mcandre

Description

@mcandre

Hi, I am experiencing a problem migrating git submodules to go mod. I figured glide could help to ease the transition. Unfortunately, many of the available mechanisms for installing glide for legacy use appear to be down.

$ curl https://glide.sh/get | sh
$

$ \curl https://glide.sh/get
curl: (60) SSL: no alternative certificate subject name matches target host name 'glide.sh'
More details here: https://curl.haxx.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

$ go install github.com/Masterminds/glide
go install: version is required when current directory is not in a module
        Try 'go install github.com/Masterminds/glide@latest' to install the latest version

$ go install github.com/Masterminds/glide@latest
go: downloading github.com/Masterminds/glide v0.13.3
go: finding module for package gopkg.in/yaml.v2
go: finding module for package github.com/Masterminds/semver
go: finding module for package github.com/codegangsta/cli
go: finding module for package github.com/Masterminds/vcs
go: finding module for package github.com/mitchellh/go-homedir
go: downloading github.com/mitchellh/go-homedir v1.1.0
go: downloading github.com/Masterminds/semver v1.5.0
go: downloading github.com/codegangsta/cli v1.22.5
go: found github.com/codegangsta/cli in github.com/codegangsta/cli v1.22.5
go: found github.com/Masterminds/semver in github.com/Masterminds/semver v1.5.0
go: found github.com/Masterminds/vcs in github.com/Masterminds/vcs v1.13.1
go: found github.com/mitchellh/go-homedir in github.com/mitchellh/go-homedir v1.1.0
go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
go: github.com/Masterminds/glide imports
        github.com/codegangsta/cli: github.com/codegangsta/cli@v1.22.5: parsing go.mod:
        module declares its path as: github.com/urfave/cli
                but was required as: github.com/codegangsta/cli

As a workaround, I am using one of the prebuilt binaries.

https://github.com/Masterminds/glide/releases/tag/v0.13.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions