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

Issue 7129048: code review 7129048: go/build: ImportDir reject directories that don't exist (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 3 months ago by adg
Modified:
11 years, 2 months ago
Reviewers:
CC:
dfc, remyoudompheng, rsc, golang-dev
Visibility:
Public.

Description

go/build: ImportDir reject directories that don't exist Fixes issue 3428.

Patch Set 1 #

Patch Set 2 : diff -r a55bd9f21507 https://code.google.com/p/go #

Patch Set 3 : diff -r a55bd9f21507 https://code.google.com/p/go #

Total comments: 3

Patch Set 4 : diff -r 938597eab997 https://code.google.com/p/go #

Patch Set 5 : diff -r 938597eab997 https://code.google.com/p/go #

Total comments: 2

Patch Set 6 : diff -r dff6e212f5cb https://code.google.com/p/go #

Total comments: 1

Patch Set 7 : diff -r 0aa3f72c1c8b https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -1 line) Patch
M src/pkg/go/build/build.go View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download
M src/pkg/go/build/build_test.go View 1 2 3 4 5 6 2 chunks +11 lines, -0 lines 0 comments Download

Messages

Total messages: 14
adg
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 3 months ago (2013-01-17 05:21:39 UTC) #1
adg
This fix works and (IMO) is certainly correct, but I'm not sure that there isn't ...
11 years, 3 months ago (2013-01-17 05:25:51 UTC) #2
dfc
LGTM for the simple fix. I share your concern that something deeper may be incorrect. ...
11 years, 3 months ago (2013-01-17 05:50:53 UTC) #3
remyoudompheng
https://codereview.appspot.com/7129048/diff/4/src/pkg/go/build/build.go File src/pkg/go/build/build.go (right): https://codereview.appspot.com/7129048/diff/4/src/pkg/go/build/build.go#newcode425 src/pkg/go/build/build.go:425: // It's okay that we didn't find a root ...
11 years, 3 months ago (2013-01-17 06:09:51 UTC) #4
adg
On 17 January 2013 17:09, <remyoudompheng@gmail.com> wrote: > The bug seems intentional. Well, that's in ...
11 years, 3 months ago (2013-01-17 06:32:57 UTC) #5
rsc
NOT LGTM, sorry This breaks the property that ImportDir (like Import) always returns a valid ...
11 years, 3 months ago (2013-01-17 14:15:40 UTC) #6
adg
On 18 January 2013 01:15, <rsc@golang.org> wrote: > This breaks the property that ImportDir (like ...
11 years, 3 months ago (2013-01-17 23:35:12 UTC) #7
adg
Hello golang-dev@googlegroups.com, dave@cheney.net, remyoudompheng@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 3 months ago (2013-01-17 23:36:49 UTC) #8
rsc
https://codereview.appspot.com/7129048/diff/8003/src/pkg/go/build/build.go File src/pkg/go/build/build.go (right): https://codereview.appspot.com/7129048/diff/8003/src/pkg/go/build/build.go#newcode423 src/pkg/go/build/build.go:423: // Test that p.Dir exists, and if so keep ...
11 years, 3 months ago (2013-01-18 16:31:08 UTC) #9
adg
https://codereview.appspot.com/7129048/diff/4/src/pkg/go/build/build_test.go File src/pkg/go/build/build_test.go (right): https://codereview.appspot.com/7129048/diff/4/src/pkg/go/build/build_test.go#newcode91 src/pkg/go/build/build_test.go:91: On 2013/01/17 05:50:53, dfc wrote: > // golang.org/issue/3248 Done. ...
11 years, 3 months ago (2013-01-18 23:07:12 UTC) #10
adg
Hello dave@cheney.net, remyoudompheng@gmail.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 3 months ago (2013-01-18 23:07:31 UTC) #11
rsc
LGTM after fixing error (Should include the path itself, and we don't know that it ...
11 years, 2 months ago (2013-01-22 22:44:08 UTC) #12
adg
*** Submitted as https://code.google.com/p/go/source/detail?r=4fa0edc28df9 *** go/build: ImportDir reject directories that don't exist Fixes issue 3428. ...
11 years, 2 months ago (2013-01-23 00:28:46 UTC) #13
rsc
11 years, 2 months ago (2013-01-28 17:47:35 UTC) #14
I don't understand how, but this broke 'godoc net/http'. Rolling back by
hand.
Sign in to reply to this message.

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