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

Issue 6920055: code review 6920055: go-tour/gotour: find html root through running director... (Closed)

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

Description

go-tour/gotour: find html root through running directory if package lookup fails.

Patch Set 1 #

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

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

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

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

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

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

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

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

Patch Set 10 : diff -r 9f2b64a094e5 https://code.google.com/p/go-tour/ #

Total comments: 10

Patch Set 11 : diff -r 9f2b64a094e5 https://code.google.com/p/go-tour/ #

Patch Set 12 : diff -r 9f2b64a094e5 https://code.google.com/p/go-tour/ #

Patch Set 13 : diff -r 9f2b64a094e5 https://code.google.com/p/go-tour/ #

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

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

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

Total comments: 2

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

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

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

Total comments: 7

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -2 lines) Patch
M gotour/local.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 5 chunks +43 lines, -2 lines 0 comments Download

Messages

Total messages: 20
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-tour/
11 years, 5 months ago (2012-12-12 19:29:43 UTC) #1
francesc
On 2012/12/12 19:29:43, gocampoy wrote: > Hello mailto:adg@golang.org (cc: mailto:golang-dev@googlegroups.com), > > I'd like you ...
11 years, 5 months ago (2012-12-13 02:40:44 UTC) #2
adg
https://codereview.appspot.com/6920055/diff/3005/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/3005/gotour/local.go#newcode45 gotour/local.go:45: func findServerRoot() (string, error) { it's not really a ...
11 years, 5 months ago (2012-12-13 06:02:18 UTC) #3
adg
https://codereview.appspot.com/6920055/diff/3005/run.go File run.go (right): https://codereview.appspot.com/6920055/diff/3005/run.go#newcode35 run.go:35: run("go", "build", "code.google.com/p/go-tour/gotour") Ah, I see. You want the ...
11 years, 5 months ago (2012-12-13 06:03:43 UTC) #4
francesc
Let's discuss this live https://codereview.appspot.com/6920055/diff/3005/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/3005/gotour/local.go#newcode45 gotour/local.go:45: func findServerRoot() (string, error) { ...
11 years, 5 months ago (2012-12-13 20:56:48 UTC) #5
francesc
PTAL Now genzip.sh generates a zip containing the executable gotour binary. If GOPATH is not ...
11 years, 5 months ago (2012-12-14 00:17:14 UTC) #6
minux1
On 2012/12/14 00:17:14, gocampoy wrote: > Now genzip.sh generates a zip containing the executable gotour ...
11 years, 5 months ago (2012-12-14 09:05:00 UTC) #7
francesc
You're guessing correctly :-) We think that providing an easy way to tun the go-tour, ...
11 years, 5 months ago (2012-12-14 17:46:49 UTC) #8
minux1
On Sat, Dec 15, 2012 at 1:46 AM, Francesc Campoy Flores <campoy@golang.org>wrote: > We think ...
11 years, 5 months ago (2012-12-14 17:50:05 UTC) #9
adg
That's a really great idea minux. The next step would be to modify the dist ...
11 years, 5 months ago (2012-12-16 23:08:36 UTC) #10
minux1
On Mon, Dec 17, 2012 at 7:08 AM, Andrew Gerrand <adg@golang.org> wrote: > That's a ...
11 years, 5 months ago (2012-12-17 17:10:30 UTC) #11
adg
On 18 December 2012 04:10, minux <minux.ma@gmail.com> wrote: > > On Mon, Dec 17, 2012 ...
11 years, 5 months ago (2012-12-17 23:04:32 UTC) #12
adg
This is supposed to complement our packaging of the tour inside $GOROOT/misc/tour, right? As per ...
11 years, 4 months ago (2013-01-10 23:32:13 UTC) #13
francesc
PTAL I modified the code to take into account your CL. I have tested it ...
11 years, 3 months ago (2013-01-24 01:03:32 UTC) #14
adg
https://codereview.appspot.com/6920055/diff/31002/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/31002/gotour/local.go#newcode46 gotour/local.go:46: // Set GOPATH to the current directory if it ...
11 years, 3 months ago (2013-01-24 01:54:52 UTC) #15
francesc
PTAL https://codereview.appspot.com/6920055/diff/31002/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/31002/gotour/local.go#newcode46 gotour/local.go:46: // Set GOPATH to the current directory if ...
11 years, 3 months ago (2013-01-24 17:33:40 UTC) #16
adg
https://codereview.appspot.com/6920055/diff/40001/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/40001/gotour/local.go#newcode50 gotour/local.go:50: func environ(replacement ...string) (env []string) { put this function ...
11 years, 3 months ago (2013-01-24 21:48:10 UTC) #17
francesc
PTAL https://codereview.appspot.com/6920055/diff/40001/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/40001/gotour/local.go#newcode50 gotour/local.go:50: func environ(replacement ...string) (env []string) { On 2013/01/24 ...
11 years, 3 months ago (2013-01-24 22:05:17 UTC) #18
adg
LGTM https://codereview.appspot.com/6920055/diff/40001/gotour/local.go File gotour/local.go (right): https://codereview.appspot.com/6920055/diff/40001/gotour/local.go#newcode77 gotour/local.go:77: ctx := build.Default On 2013/01/24 22:05:17, gocampoy wrote: ...
11 years, 3 months ago (2013-01-24 22:09:11 UTC) #19
francesc
11 years, 3 months ago (2013-01-24 22:16:55 UTC) #20
*** Submitted as https://code.google.com/p/go-tour/source/detail?r=884c45414de8
***

go-tour/gotour: find html root through running directory if package lookup
fails.

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

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