Re: [go-nuts] Re: Go one-line installer

2017-08-02 Thread Tyler Compton
> No, most Linux users are used to installing from package managers. I don't know if that's true. Many popular distributions provide undesirably out-of-date versions of common tools and require users to use other means to install them. But both of our assertions are valueless without data, so it m

[go-nuts] Re: Go one-line installer

2017-08-02 Thread mhhcbon
Hi, As you at this kind of work, have you considered a reliable one-liner to install dependencies ? I got that own, just today, from a gae repo (?), anyways here it is, go get -u -v $(go list -f '{{join .Imports "\n"}}{{"\n"}}{{join .TestImports "\n"}}' ./... | sort | uniq | grep -v golang-sam

[go-nuts] Re: Go one-line installer

2017-08-02 Thread Igor Maznitsa
I also had interest for such installer about year ago and developed mvn-golang plugin (which can download and install go sdk and tune environment during build process) but it works in maven environment of course -- You received this message because you ar

[go-nuts] Re: Go one-line installer

2017-08-02 Thread Florin Pățan
On Wednesday, August 2, 2017 at 3:14:07 AM UTC+1, Steve Francia wrote: > > On Tuesday, August 1, 2017 at 7:49:32 PM UTC-4, Florin Pățan wrote: >> >> Hi, >> >> The idea is good but: >> - it needs to modify the path to add GOROOT/bin and GOPATH/bin to it >> > It does. If it didn't do this you've foun

Re: [go-nuts] Re: Go one-line installer

2017-08-02 Thread Henrik Johansson
At home on my Arch i really prefer pacman for everything and only as a last resort do I ever exec any curlable installer. The problem is usually that they don't get properly updated and the packagemanager anyway pulls in Go since it is a dependency for something else and it is a mess with two or mo

Re: [go-nuts] Re: Go one-line installer

2017-08-02 Thread Aram Hăvărneanu
> most Linux users are used to setting environment variables and > installing from tarballs. No, most Linux users are used to installing from package managers. Unless you were referring to installing Go in particular, where I conjecture that most Linux users who don't use some package manager to i

Re: [go-nuts] Re: Go one-line installer

2017-08-01 Thread Dan Kortschak
Thanks. On Tue, 2017-08-01 at 19:14 -0700, Steve Francia wrote: > > On Tuesday, August 1, 2017 at 7:49:32 PM UTC-4, Florin Pățan wrote: > > > > > > Hi, > > > > The idea is good but: > > - it needs to modify the path to add GOROOT/bin and GOPATH/bin to > > it > > > It does. If it didn't do thi

[go-nuts] Re: Go one-line installer

2017-08-01 Thread Steve Francia
Please file an issue with this information and as much details as you can. On Tuesday, August 1, 2017 at 5:38:24 PM UTC-4, Val wrote: > > Hello Steve, that looks very promising, thank you so much! > > I just tried on GCE, here is a gist >

[go-nuts] Re: Go one-line installer

2017-08-01 Thread Steve Francia
On Tuesday, August 1, 2017 at 7:49:32 PM UTC-4, Florin Pățan wrote: > > Hi, > > The idea is good but: > - it needs to modify the path to add GOROOT/bin and GOPATH/bin to it > It does. If it didn't do this you've found a bug. Please report it. > - it should allow for multiple versions of Go to be

[go-nuts] Re: Go one-line installer

2017-08-01 Thread Val
Hello Steve, that looks very promising, thank you so much! I just tried on GCE, here is a gist . Possible quirk : $ go version go: cannot find GOROOT directory: /usr/local/go $ go doc fmt go: cannot find GOROOT directory: /usr/l