Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1095)

Issue 7786047: code review 7786047: cmd/go: check GOROOT directory is present before acting (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 1 month ago by brainman
Modified:
10 years, 11 months ago
Reviewers:
adg
CC:
golang-dev, adg, rsc
Visibility:
Public.

Description

cmd/go: check GOROOT directory is present before acting Fixes issue 5042.

Patch Set 1 #

Patch Set 2 : diff -r c793965b31d8 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 3 : diff -r cc83df684054 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r cc83df684054 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -0 lines) Patch
M src/cmd/go/main.go View 1 2 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 12
brainman
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 1 month ago (2013-03-22 05:21:02 UTC) #1
adg
Oh wait, I was wrong. This LGTM.
11 years, 1 month ago (2013-03-22 05:48:03 UTC) #2
adg
This will prevent people from even seeing "go help" without GOROOT set correctly. That doesn't ...
11 years, 1 month ago (2013-03-22 05:51:17 UTC) #3
brainman
On 2013/03/22 05:51:17, adg wrote: > This will prevent people from even seeing "go help" ...
11 years, 1 month ago (2013-03-22 05:52:16 UTC) #4
brainman
On 2013/03/22 05:51:17, adg wrote: > This will prevent people from even seeing "go help" ...
11 years, 1 month ago (2013-03-24 22:48:28 UTC) #5
rsc
https://codereview.appspot.com/7786047/diff/2001/src/cmd/go/main.go File src/cmd/go/main.go (right): https://codereview.appspot.com/7786047/diff/2001/src/cmd/go/main.go#newcode148 src/cmd/go/main.go:148: fmt.Fprintf(os.Stderr, "go: cannot find GOROOT directory: %q\n", goroot) Should ...
11 years, 1 month ago (2013-03-25 21:56:05 UTC) #6
brainman
On 2013/03/25 21:56:05, rsc wrote: > Should this use %s instead of %q? It's going ...
11 years, 1 month ago (2013-03-25 22:33:33 UTC) #7
brainman
Can we decide what to do here, please? Alex
10 years, 11 months ago (2013-05-23 03:16:23 UTC) #8
adg
We don't quote our other diagnostic strings in cmd/go (AFAICT) so it seems like it ...
10 years, 11 months ago (2013-05-23 03:21:40 UTC) #9
brainman
Hello golang-dev@googlegroups.com, adg@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
10 years, 11 months ago (2013-05-23 04:09:48 UTC) #10
adg
LGTM
10 years, 11 months ago (2013-05-23 04:11:29 UTC) #11
brainman
10 years, 11 months ago (2013-05-23 04:13:14 UTC) #12
*** Submitted as https://code.google.com/p/go/source/detail?r=a1fb1560e22e ***

cmd/go: check GOROOT directory is present before acting

Fixes issue 5042.

R=golang-dev, adg, rsc
CC=golang-dev
https://codereview.appspot.com/7786047
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b