Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update golang to version 1.0.2 #91

Closed
fd opened this issue Sep 20, 2012 · 10 comments
Closed

Update golang to version 1.0.2 #91

fd opened this issue Sep 20, 2012 · 10 comments
Labels

Comments

@fd
Copy link
Contributor

fd commented Sep 20, 2012

Go 1.0 and 1.0.1 have some bugs in their toolchain (go get './...' doesn't work as expected)

@michaelklishin
Copy link
Contributor

@fd please update gvm to 1.0.2 and it will be provisioned on travis a few days after.

@fd
Copy link
Contributor Author

fd commented Sep 20, 2012

It seams that gvm doesn't need updating... just run gvm install go1.0.2

@michaelklishin
Copy link
Contributor

Ok. It seems to need aliasing support, though, so that it can be switched to as go1. It would be great if you could add that feature before go1.1 is out.

@fd
Copy link
Contributor Author

fd commented Sep 20, 2012

I'll give it a go 😉

@michaelklishin
Copy link
Contributor

Awesome, thanks! 1.0.2 should be deployed tomorrow or so.

@fd
Copy link
Contributor Author

fd commented Sep 20, 2012

Great!

Could you elaborate a bit on what you're trying to achieve with the aliasing feature.

I'm thinking on doing some thing like this.

# list all aliases
$ gvm alias list
my-go -> go1.0.2

# add a new alias
$ gvm alias add go1.0.2 my-go

# use an alias
$ gvm use my-go
Using go1.0.2

# remove an alias
$ gvm alias rm my-go

@michaelklishin
Copy link
Contributor

The goal is to let developers specify multiple runtime versions that do not depend on the specific point version. E.g. if you have

go:
  - go1
  - go1.1

then we should be able to upgrade go1 to 1.0.3 without asking you to update your .travis.yml. For Ruby, for example, this feature is used a lot more aggressively: we have 2 versions of JRuby and Rubinius, built with different
Ruby version (both JRuby and Rubinius can work in either 1.8 or 1.9 mode). Go won't need that but the ability to
switch versions without knowing the exact patch level is essential to support multiple versions of a runtime.

michaelklishin added a commit that referenced this issue Sep 20, 2012
@fd
Copy link
Contributor Author

fd commented Sep 20, 2012

I'm waiting for my gvm PR to get accepted. In the mean time, here is commit adding alias support in travis-cookbooks

@michaelklishin
Copy link
Contributor

Should be live already (without aliasing but with 1.0.2). Give it a try.

@fd
Copy link
Contributor Author

fd commented Sep 21, 2012

go test './...' still doesn't work (see http://travis-ci.org/#!/fd/options/builds/2519570; were the boxes rolledback?)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants