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

Issue 120600043: code review 120600043: cmd/go: implement 'internal' convention (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
9 years, 8 months ago by rsc
Modified:
9 years, 8 months ago
Reviewers:
r, gobot
CC:
r, adg, golang-codereviews
Visibility:
Public.

Description

cmd/go: implement 'internal' convention See golang.org/s/go14internal for design.

Patch Set 1 #

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

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

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

Total comments: 6

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+83 lines, -5 lines) Patch
M src/cmd/go/pkg.go View 1 2 3 4 6 chunks +60 lines, -5 lines 0 comments Download
M src/cmd/go/test.bash View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
A src/cmd/go/testdata/testinternal/p.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
A src/cmd/go/testdata/testinternal2/p.go View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
A src/cmd/go/testdata/testinternal2/x/y/z/internal/w/w.go View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 9
rsc
Hello r, r@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
9 years, 8 months ago (2014-08-05 19:48:17 UTC) #1
r
https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go File src/cmd/go/pkg.go (right): https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go#newcode247 src/cmd/go/pkg.go:247: if perr := checkInternal(srcDir, p, stk); perr != nil ...
9 years, 8 months ago (2014-08-05 20:46:53 UTC) #2
rsc
https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go File src/cmd/go/pkg.go (right): https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go#newcode247 src/cmd/go/pkg.go:247: if perr := checkInternal(srcDir, p, stk); perr != nil ...
9 years, 8 months ago (2014-08-06 03:38:00 UTC) #3
adg
No test for the success case? package "foo/bar" successfully importing "foo/internal/quux"?
9 years, 8 months ago (2014-08-06 03:48:43 UTC) #4
adg
It would also be nice to test for failure when "foo/bar" and "foo/internal/quux" are in ...
9 years, 8 months ago (2014-08-06 03:50:29 UTC) #5
r
LGTM but i don't like the name checkInternal. https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go File src/cmd/go/pkg.go (right): https://codereview.appspot.com/120600043/diff/60001/src/cmd/go/pkg.go#newcode247 src/cmd/go/pkg.go:247: if ...
9 years, 8 months ago (2014-08-06 14:25:18 UTC) #6
rsc
The Error being part of the Package simplifies the rest of the program: it allows ...
9 years, 8 months ago (2014-08-06 20:33:17 UTC) #7
rsc
*** Submitted as https://code.google.com/p/go/source/detail?r=66feeb79a6ed *** cmd/go: implement 'internal' convention See golang.org/s/go14internal for design. LGTM=r R=r, ...
9 years, 8 months ago (2014-08-06 20:45:10 UTC) #8
gobot
9 years, 8 months ago (2014-08-06 21:00:56 UTC) #9
Message was sent while issue was closed.
This CL appears to have broken the windows-amd64 builder.
See http://build.golang.org/log/c1b9367d30e41ef3c429f4336be5ef341ff1eec9
Sign in to reply to this message.

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