Changed the code repository, https://code.google.com/p/go/ (hg) to https://go.googlesource.com/go (git)

Merged
#11 · Created  · Last updated

Merged pull request

LGTM. Thanks for pull request.

4794dde·Author: ·Closed by: ·2015-04-23

Description

I found Go source code repository has migrated to go.googlesource.com and vcs has also changed Mercurial to Git.

https://golang.org/doc/install/source#fetch

https://go.googlesource.com/go

I updated goenvwrapper.sh to be able to check out recent changes from go.googlesource.com.

I have some questions.

1) Where to go get

I think this code should be changed, but I couldn't find proper repository (I haven't understood what it means).

if $godef_flag; then eval `go get code.google.com/p/rog-go/exp/cmd/godef` fi

2) Build 1.3.x or 1.2.x

I tried to build go1.3.x or go1.2.x, but I got an error as below. I guess it's my environment issue. Do you know how to fix?

$ tail logs/go1.3.3-20150324040609.log Previous HEAD position was 886b02d... [release-branch.go1.4] go1.4.1 HEAD is now at 3dbc53a... go1.3.3 # Building C bootstrap tool. cmd/dist # Building compilers and Go bootstrap tool for host, darwin/amd64. go tool dist: opendir path/to/.goenvs/go/src/pkg/bufio: No such file or directory

3) README

Now hg is no longer used. It might remove about hg fingerprint, but I'm not sure whether other tools use Mercurial repository. Which is better, remove or remain?

* Make sure ``git`` and ``mercurial`` are installed.
If you feel anxious to the warning message as shown below:: warning: code.google.com certificate with fingerprint c3:32:c3:b6:4b:d0:87:78:ff:ab:20:6f:9b:9e:3b:c2:a9:b1:0c:eb not verified (check hostfingerprints or web.cacerts config setting) Then you can adding ``hostfingerprints`` section to ``~/.hgrc`` configuration file for Mercurial:: [hostfingerprints] code.google.com = c3:32:c3:b6:4b:d0:87:78:ff:ab:20:6f:9b:9e:3b:c2:a9:b1:0c:eb If you got error messages as below and failed checkout the repository of go, you have to check ``hostfingerprints``:: abort: certificate for code.google.com has unexpected fingerprint c3:32:c3:b6:4b:d0:87:78:ff:ab:20:6f:9b:9e:3b:c2:a9:b1:0c:eb

0 attachments

0 comments

Loading commits...