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

Issue 5642045: code review 5642045: cmd/dist: fix GOROOT_FINAL (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 1 month ago by niemeyer
Modified:
13 years, 1 month ago
Reviewers:
CC:
rsc, gustavo_niemeyer.net, golang-dev
Visibility:
Public.

Description

cmd/dist: fix GOROOT_FINAL

Patch Set 1 #

Patch Set 2 : code review 5642045: cmd/dist: fix GOROOT_FINAL #

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

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

Patch Set 5 : diff -r 54e39f5d6b25 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 54e39f5d6b25 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 54e39f5d6b25 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 8 : diff -r ac41ed0b8995 https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r ac41ed0b8995 https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r ac41ed0b8995 https://go.googlecode.com/hg/ #

Total comments: 2

Patch Set 11 : diff -r 0b9d256eeec2 https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r 19f044f56d28 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -23 lines) Patch
M src/cmd/dist/a.h View 1 2 3 4 2 chunks +1 line, -1 line 0 comments Download
M src/cmd/dist/build.c View 1 2 3 4 5 6 7 4 chunks +5 lines, -16 lines 0 comments Download
M src/cmd/dist/buildruntime.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M src/make.bash View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M src/make.bat View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 14
niemeyer
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-02-07 02:29:00 UTC) #1
rsc
I'm really not sure what to do here. The dist command gets run during the ...
13 years, 1 month ago (2012-02-07 20:13:28 UTC) #2
gustavo_niemeyer.net
> I'm really not sure what to do here. The dist command > gets run ...
13 years, 1 month ago (2012-02-07 23:06:47 UTC) #3
gustavo_niemeyer.net
Hold on. GOROOT_FINAL is now guaranteed to be set when building dist. The logic may ...
13 years, 1 month ago (2012-02-07 23:15:02 UTC) #4
niemeyer
Hello golang-dev@googlegroups.com, rsc@golang.org, gustavo@niemeyer.net (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-07 23:16:15 UTC) #5
rsc
Thanks for working on this. I think it is close, but I don't understand how ...
13 years, 1 month ago (2012-02-09 18:48:31 UTC) #6
niemeyer
Hello rsc@golang.org, gustavo@niemeyer.net (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-09 22:13:38 UTC) #7
rsc
Were you able to produce the failure scenario I imagined?
13 years, 1 month ago (2012-02-09 22:14:05 UTC) #8
rsc
LGTM http://codereview.appspot.com/5642045/diff/10002/src/make.bat File src/make.bat (right): http://codereview.appspot.com/5642045/diff/10002/src/make.bat#newcode21 src/make.bat:21: if x%GOROOT_FINAL%==x set GOROOT_FINAL="%GOROOT%" I suspect you need ...
13 years, 1 month ago (2012-02-09 22:15:28 UTC) #9
gustavo_niemeyer.net
> Were you able to produce the failure scenario I imagined? I was indeed. It ...
13 years, 1 month ago (2012-02-09 22:16:10 UTC) #10
rsc
On Thu, Feb 9, 2012 at 17:15, Gustavo Niemeyer <gustavo@niemeyer.net> wrote: > Please note I'm ...
13 years, 1 month ago (2012-02-09 22:19:34 UTC) #11
niemeyer
http://codereview.appspot.com/5642045/diff/10002/src/make.bat File src/make.bat (right): http://codereview.appspot.com/5642045/diff/10002/src/make.bat#newcode21 src/make.bat:21: if x%GOROOT_FINAL%==x set GOROOT_FINAL="%GOROOT%" On 2012/02/09 22:15:29, rsc wrote: ...
13 years, 1 month ago (2012-02-09 22:19:38 UTC) #12
rsc
>> I suspect you need to say if "x%GOROOT_FINAL%"=="x" here. It can't > > hurt. ...
13 years, 1 month ago (2012-02-09 22:24:40 UTC) #13
niemeyer
13 years, 1 month ago (2012-02-09 22:47:27 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=f3575ec144d5 ***

cmd/dist: fix GOROOT_FINAL

R=rsc, gustavo
CC=golang-dev
http://codereview.appspot.com/5642045
Sign in to reply to this message.

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