Skip to content

Glide requires $GOPATH, but Go 1.8 doesn't #771

Closed

Description

@treeder

Glide should use the default of $HOME/go if not set.

Activity

  1. mattfarina commented on Mar 21, 2017

    @mattfarina
    Member

    I wonder if we could use go env GOPATH if the GOPATH env var is empty. That may give us the right result.

  2. jmalloc commented on Mar 23, 2017

    @jmalloc

    I am using go env in Makefiles for similar reasons, and can confirm that it gives the correct results under 1.8 when $GOPATH is not set :)

  3. added a commit that references this issue on Apr 7, 2017
    248aaca
  4. added this to the 0.13 milestone on Apr 7, 2017
  5. mattfarina commented on Apr 7, 2017

    @mattfarina
    Member

    There's a PR for this on #798

  6. added a commit that references this issue on Apr 7, 2017
    71562b2
  7. added a commit that references this issue on Apr 10, 2017
    4b59f9a
  8. comerc commented on May 29, 2017

    @comerc
    $ glide install
    [ERROR]	$GOPATH is not set.
    
    $ glide -v
    glide version v0.12.3
    
    go version go1.8.3 linux/amd64
    
    Ubuntu 14.04.5 LTS
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址