Skip to content

Conversation

@indraniel
Copy link

Supports installing Go 1.3, and correctly downloads older versions of Go (1.2.2 and older). Possibly future versions of Go can be downloaded correctly too.

indraniel and others added 6 commits July 1, 2014 18:30
  - try to check the following download locations in order

      1. http://golang.org/dl
      2. http://go.googlecode.com/files

    Otherwise, bail out with an error message.
  - looks like the http://go.googlecode.com/ doesn't respect
    HEAD requests.  This alternative approach is less rigorous
    than the prior approach, but it seems to work.

  - removed the 'warn' and 'die' helper functions because they weren't
    used in this 2nd pass approach.
  - Between go versions 1.2 through 1.4.3, osx packages were subdivided
    into two versions, one for OSX 10.6 and another for OSX 10.8
  - this helps when debugging far into the future when I've forgotten
    many of the downloading details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant