now icon indicating copy to clipboard operation
now copied to clipboard

Add tsuru/golang PPA automatically

Open turicas opened this issue 9 years ago • 4 comments

I think we can add the tsuru/golang PPA automatically on this script, since the Go version on Ubuntu is not updated enough to install tsuru CLIs using go get. We can add this line to the script:

            sudo apt-add-repository ppa:tsuru/golang -y >/dev/null 2>&1

turicas avatar Aug 09 '15 02:08 turicas

The script already install the golang from tsuru ppa if the flag (--tsuru-from-source) to install tsuru from source is enabled: https://github.com/tsuru/now/blob/master/run.bash#L410

andrewsmedina avatar Aug 09 '15 02:08 andrewsmedina

@andrewsmedina, if I don't install using --tsuru-from-source the machine will end up without this PPA so if I just want to update the tsuru CLI on the future I'll need to add the PPA and then install. The suggestion to always add the PPA is to have a more homogeneous final environment on the machine, no matter the options you've used.

turicas avatar Aug 09 '15 02:08 turicas

I'm +1. I just added the link to the function that should be used to do it :)

andrewsmedina avatar Aug 09 '15 02:08 andrewsmedina

@turicas you don't need the golang to update tsuru CLI. unless you wan't to install the CLI from source.

andrewsmedina avatar Aug 09 '15 03:08 andrewsmedina