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

Issue 6976045: code review 6976045: go/misc: Adding go-tour to the generated packages for e... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 2 months ago by francesc
Modified:
12 years, 1 month ago
Reviewers:
CC:
adg, minux1, golang-dev
Visibility:
Public.

Description

go/misc: Adding go-tour to the generated packages for every distribution.

Patch Set 1 #

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

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

Total comments: 12

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

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

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

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

Patch Set 8 : diff -r b9bee6184b4e https://code.google.com/p/go #

Total comments: 2

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

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

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

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

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

Total comments: 18

Patch Set 14 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 15 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 16 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 17 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 18 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Total comments: 11

Patch Set 19 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Total comments: 2

Patch Set 20 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 21 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 22 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Total comments: 2

Patch Set 23 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Total comments: 14

Patch Set 24 : diff -r 9a3e56fe880c https://code.google.com/p/go #

Patch Set 25 : diff -r fd51d6123dfa https://code.google.com/p/go #

Total comments: 2

Patch Set 26 : diff -r fd51d6123dfa https://code.google.com/p/go #

Patch Set 27 : diff -r 20f79f2809b7 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -0 lines) Patch
M misc/dist/bindist.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 9 chunks +73 lines, -0 lines 0 comments Download

Messages

Total messages: 33
francesc
Hello adg@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
12 years, 2 months ago (2013-01-08 18:42:27 UTC) #1
minux1
description: use 'misc/dist' is better than 'go/misc'. the changes look good, i wonder if we ...
12 years, 2 months ago (2013-01-08 21:37:18 UTC) #2
adg
https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go#newcode44 misc/dist/bindist.go:44: tourRepoURL = "http://code.google.com/p/go-tour" make it a flag ("-tour") just ...
12 years, 2 months ago (2013-01-09 05:25:31 UTC) #3
adg
https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go#newcode372 misc/dist/bindist.go:372: {tourPkg, "go", "build"}, make it "go build -o tour" ...
12 years, 2 months ago (2013-01-09 05:26:25 UTC) #4
minux1
On Wed, Jan 9, 2013 at 1:25 PM, <adg@golang.org> wrote: > https://codereview.appspot.**com/6976045/diff/4001/misc/** > dist/bindist.go#newcode374<https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go#newcode374> > ...
12 years, 2 months ago (2013-01-09 09:48:45 UTC) #5
adg
On 9 January 2013 20:48, minux <minux.ma@gmail.com> wrote: > I wonder if we should put ...
12 years, 2 months ago (2013-01-10 00:51:45 UTC) #6
minux1
On Thu, Jan 10, 2013 at 8:51 AM, Andrew Gerrand <adg@golang.org> wrote: > Putting the ...
12 years, 2 months ago (2013-01-10 08:44:36 UTC) #7
francesc
I agree with minux. Polluting the standard library seems a pretty bad side effect. https://codereview.appspot.com/6976045/diff/4001/misc/dist/bindist.go ...
12 years, 2 months ago (2013-01-10 10:03:37 UTC) #8
adg
On 10 Jan 2013 21:03, <campoy@golang.org> wrote: > > I agree with minux. I agree ...
12 years, 2 months ago (2013-01-10 10:25:06 UTC) #9
francesc
Implemented in combination with https://codereview.appspot.com/6920055/ Tested and it seems it works nicely, so PTAL :-) ...
12 years, 2 months ago (2013-01-10 14:46:07 UTC) #10
adg
As discussed, the steps should be: create a temporary GOPATH call "go get code.google.com/p/go-tour/gotour" with ...
12 years, 2 months ago (2013-01-10 23:25:33 UTC) #11
francesc
PTAL On 2013/01/10 23:25:33, adg wrote: > As discussed, the steps should be: > > ...
12 years, 2 months ago (2013-01-14 20:00:15 UTC) #12
francesc
https://codereview.appspot.com/6976045/diff/5003/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/5003/misc/dist/bindist.go#newcode38 misc/dist/bindist.go:38: tourRepo = flag.String("tour", "http://code.google.com/p/go-tour", "Go tour repo URL") On ...
12 years, 2 months ago (2013-01-14 20:14:01 UTC) #13
adg
Please re-read the previous mail I sent on this CL. https://codereview.appspot.com/6976045/diff/26002/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/26002/misc/dist/bindist.go#newcode34 ...
12 years, 2 months ago (2013-01-14 22:27:06 UTC) #14
francesc
While I agree with moving GOPATH to the tmp directory, we should still fix the ...
12 years, 2 months ago (2013-01-14 23:11:58 UTC) #15
adg
On 15 January 2013 10:11, <campoy@golang.org> wrote: > Also "go get code.google.com/p/go-tour/**gotour<http://code.google.com/p/go-tour/gotour>" > fails > ...
12 years, 2 months ago (2013-01-14 23:14:22 UTC) #16
adg
On 15 January 2013 10:13, Andrew Gerrand <adg@golang.org> wrote: > > On 15 January 2013 ...
12 years, 2 months ago (2013-01-14 23:15:09 UTC) #17
francesc
Maybe this is caused by something else? package code.google.com/p/go-tour/gotour: /var/folders/00/10xjh000h01000cxqpysvccm0043p6/T/bindist579464539/go/misc/tour/src/ code.google.com/p/go-tour exists but /var/folders/00/10xjh000h01000cxqpysvccm0043p6/T/bindist579464539/go/misc/tour/src/ code.google.com/p/go-tour/.hg ...
12 years, 2 months ago (2013-01-14 23:22:24 UTC) #18
adg
Well something is wrong on your end. Check that go get works outside of dist ...
12 years, 2 months ago (2013-01-14 23:27:59 UTC) #19
adg
On Tuesday, January 15, 2013 10:22:22 AM UTC+11, Francesc wrote: > > Maybe this is ...
12 years, 2 months ago (2013-01-15 10:50:27 UTC) #20
francesc
PTAL, I tried to assess all of your comments and modified substantially the whole tour ...
12 years, 2 months ago (2013-01-15 19:09:58 UTC) #21
adg
Lookin' good. https://codereview.appspot.com/6976045/diff/32002/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/32002/misc/dist/bindist.go#newcode362 misc/dist/bindist.go:362: tourRel = filepath.Join(strings.Split(*tourPath, "/")...) tourRel = filepath.FromSlash(*tourPath) ...
12 years, 2 months ago (2013-01-15 21:12:04 UTC) #22
francesc
Glad we're getting closer to an agreement here :-) PTAL https://codereview.appspot.com/6976045/diff/32002/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/32002/misc/dist/bindist.go#newcode362 ...
12 years, 2 months ago (2013-01-15 23:36:03 UTC) #23
adg
LGTM Make sure you test it fully on at least OS X and Linux before ...
12 years, 2 months ago (2013-01-15 23:47:12 UTC) #24
adg
On 16 January 2013 10:47, <adg@golang.org> wrote: > Make sure you test it fully on ...
12 years, 2 months ago (2013-01-15 23:48:17 UTC) #25
francesc
Will test on linux tomorrow. https://codereview.appspot.com/6976045/diff/39001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/39001/misc/dist/bindist.go#newcode617 misc/dist/bindist.go:617: walk := func(path string, ...
12 years, 2 months ago (2013-01-16 00:09:33 UTC) #26
francesc
Works on Linux too. Did you create a CL for the change on the go-tour ...
12 years, 2 months ago (2013-01-16 23:03:19 UTC) #27
adg
https://codereview.appspot.com/6920055/ It's associated with the user "gocampoy" rather than "campoy", which might be why it ...
12 years, 2 months ago (2013-01-17 00:35:54 UTC) #28
francesc
PTAL https://codereview.appspot.com/6976045/diff/48002/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/48002/misc/dist/bindist.go#newcode614 misc/dist/bindist.go:614: stat, err := sf.Stat() Added this to make ...
12 years, 1 month ago (2013-01-24 01:07:15 UTC) #29
adg
Just nitpicky stuff https://codereview.appspot.com/6976045/diff/52001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/52001/misc/dist/bindist.go#newcode67 misc/dist/bindist.go:67: create top level variables: var tourPackages ...
12 years, 1 month ago (2013-01-24 02:12:46 UTC) #30
francesc
PTAL https://codereview.appspot.com/6976045/diff/52001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/52001/misc/dist/bindist.go#newcode67 misc/dist/bindist.go:67: On 2013/01/24 02:12:46, adg wrote: > create top ...
12 years, 1 month ago (2013-01-25 03:05:58 UTC) #31
adg
LGTM https://codereview.appspot.com/6976045/diff/59001/misc/dist/bindist.go File misc/dist/bindist.go (right): https://codereview.appspot.com/6976045/diff/59001/misc/dist/bindist.go#newcode619 misc/dist/bindist.go:619: stat, err := sf.Stat() looks like a fix ...
12 years, 1 month ago (2013-01-29 04:05:59 UTC) #32
francesc
12 years, 1 month ago (2013-01-29 05:46:53 UTC) #33
*** Submitted as https://code.google.com/p/go/source/detail?r=9bcb8f09b9dc ***

go/misc: Adding go-tour to the generated packages for every distribution.

R=adg, minux.ma
CC=golang-dev
https://codereview.appspot.com/6976045

https://codereview.appspot.com/6976045/diff/59001/misc/dist/bindist.go
File misc/dist/bindist.go (right):

https://codereview.appspot.com/6976045/diff/59001/misc/dist/bindist.go#newcod...
misc/dist/bindist.go:619: stat, err := sf.Stat()
On 2013/01/29 04:06:00, adg wrote:
> looks like a fix for a separate issue. please put it in a followup cl

Done.
Sign in to reply to this message.

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