From 90ad8a7e5881be7834909c649f994b6b5244c965 Mon Sep 17 00:00:00 2001
From: Tianon Gravi
The Go tool chain is written in C. To build it, you need a C compiler installed.
-Please refer to the InstallFromSource
+Please refer to the InstallFromSource
page on the Go community Wiki for operating system specific instructions.
-To perform the next step you must have Mercurial installed. (Check that you
-have an
-If you do not have a working Mercurial installation,
+If you do not have a working Git installation,
follow the instructions on the
-Mercurial downloads page.
-
-Mercurial versions 1.7.x and up require the configuration of
-Certification Authorities
-(CAs). Error messages of the form:
-
-when using Mercurial indicate that the CAs are missing.
-Check your Mercurial version ( Go will install to a directory named Install Mercurial, if needed
+Install Git, if needed
hg
command.)
+To perform the next step you must have Git installed. (Check that you
+have a git
command before proceeding.)
-warning: code.google.com certificate with fingerprint b1:af: ... bc not verified (check hostfingerprints or web.cacerts config setting)
-
-
-hg --version
) and
-configure the CAs
-if necessary.
+Git downloads page.
go
.
Change to the directory that will be its parent
and make sure the go
directory does not exist.
-Then check out the repository:
-$ hg clone -u release https://code.google.com/p/go +$ git clone https://go.googlesource.com/go +$ cd go +$ git checkout go1.4.1-
If you intend to modify the go source code, and contribute your changes to the project, then move your repository -off the release branch, and onto the default (development) branch. +off the release branch, and onto the master (development) branch. Otherwise, skip this step.
-$ hg update default +$ git checkout master
To install these tools, the go
get
command requires
-that Mercurial be installed locally.
+that Git be installed locally.
@@ -292,22 +277,18 @@ that receives a message summarizing each checkin to the Go repository.
-Bugs can be reported using the Go issue tracker. +Bugs can be reported using the Go issue tracker.
-The Go project maintains a stable tag in its Mercurial repository:
-release
.
-
-The release
tag refers to the current stable release of Go.
-Most Go users should use this version. New releases are announced on the
+New releases are announced on the
golang-announce
mailing list.
+Each announcement mentions the latest release tag, for instance,
+go1.4
.
@@ -316,11 +297,13 @@ To update an existing tree to the latest release, you can run:
$ cd go/src -$ hg pull -$ hg update release +$ git fetch +$ git checkout <tag> $ ./all.bash+Where
<tag>
is the version string of the release.
+