[opensuse-go] Make our package more userfriendly: set GOPATH
``` go get -u github.com/nsf/gocode package github.com/nsf/gocode: cannot download, $GOPATH not set. \ For more details see: go help gopath ``` This is not a really good user experience. how about we set: export GOPATH="~/go/" then the user can still overwrite it in their profile but at least the command above works out of the box. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org
On 04/26/2016 04:33 PM, Marcus Rückert wrote:
``` go get -u github.com/nsf/gocode package github.com/nsf/gocode: cannot download, $GOPATH not set. \ For more details see: go help gopath ```
This is not a really good user experience.
how about we set:
export GOPATH="~/go/"
then the user can still overwrite it in their profile but at least the command above works out of the box.
Hi, sorry I haven't answer before. To be honest I don't have a strong opinion on this. Is "~/go" the expected place? Does Fedora do it like this too? Do we do this for other packages (for other languages for example)? What if the user changes that and we update go afterwards? We shouldn't overwrite it ... (I guess the user will overwrite it on his .bashrc , so it shouldn't be a problem, right?) Is there any drawback I am missing?
darix
-- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org
On 2016-05-02 11:16:59 +0200, Jordi Massaguer Pla wrote:
Hi, sorry I haven't answer before. To be honest I don't have a strong opinion on this. Is "~/go" the expected place? Does Fedora do it like this too? Do we do this for other packages (for other languages for example)? What if the user changes that and we update go afterwards? We shouldn't overwrite it ... (I guess the user will overwrite it on his .bashrc , so it shouldn't be a problem, right?)
Is there any drawback I am missing?
The user can always override it in his shell config? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org
On 05/02/2016 12:58 PM, Marcus Rueckert wrote:
On 2016-05-02 11:16:59 +0200, Jordi Massaguer Pla wrote:
Hi, sorry I haven't answer before. To be honest I don't have a strong opinion on this. Is "~/go" the expected place? Does Fedora do it like this too? Do we do this for other packages (for other languages for example)? What if the user changes that and we update go afterwards? We shouldn't overwrite it ... (I guess the user will overwrite it on his .bashrc , so it shouldn't be a problem, right?)
Is there any drawback I am missing? The user can always override it in his shell config?
ok. I am fine with this change. Any objections? thanks
darix
-- To unsubscribe, e-mail: opensuse-go+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-go+owner@opensuse.org
participants (3)
-
Jordi Massaguer Pla
-
Marcus Rueckert
-
Marcus Rückert