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

Issue 6453094: code review 6453094: godoc: adjust import path for directories with multiple... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 7 months ago by gri
Modified:
12 years, 7 months ago
Reviewers:
CC:
rsc, adg, golang-dev
Visibility:
Public.

Description

godoc: report error for directories with multiple packages Fixes issue 3922.

Patch Set 1 #

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

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

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

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

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

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

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

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -89 lines) Patch
M lib/godoc/package.html View 1 2 3 4 5 2 chunks +0 lines, -13 lines 0 comments Download
M lib/godoc/package.txt View 1 2 3 4 5 1 chunk +0 lines, -9 lines 0 comments Download
M src/cmd/godoc/godoc.go View 1 2 3 4 5 6 7 8 6 chunks +24 lines, -63 lines 0 comments Download
M src/cmd/godoc/main.go View 1 2 3 4 5 6 7 8 9 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 9
gri
Hello rsc@golang.org, 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, 7 months ago (2012-08-07 21:28:30 UTC) #1
adg
I don't think this is right. I updated the issue http://golang.org/issue/3922
12 years, 7 months ago (2012-08-08 00:24:32 UTC) #2
rsc
I suggest we assume that we can let go/build tell us about the one package ...
12 years, 7 months ago (2012-08-08 19:41:33 UTC) #3
gri
The question remains: what should godoc do in case of multiple packages in the same ...
12 years, 7 months ago (2012-08-08 20:36:00 UTC) #4
gri
PTAL. http://codereview.appspot.com/6453094 - godoc reports error for directories with multiple packages (excluding test and example ...
12 years, 7 months ago (2012-08-08 22:01:13 UTC) #5
rsc
http://codereview.appspot.com/6453094/diff/7005/src/cmd/godoc/godoc.go File src/cmd/godoc/godoc.go (right): http://codereview.appspot.com/6453094/diff/7005/src/cmd/godoc/godoc.go#newcode915 src/cmd/godoc/godoc.go:915: pkgs, err := parseDir(fset, abspath, filter) I think we ...
12 years, 7 months ago (2012-08-09 16:39:16 UTC) #6
gri
http://codereview.appspot.com/6453094/diff/7005/src/cmd/godoc/godoc.go File src/cmd/godoc/godoc.go (right): http://codereview.appspot.com/6453094/diff/7005/src/cmd/godoc/godoc.go#newcode915 src/cmd/godoc/godoc.go:915: pkgs, err := parseDir(fset, abspath, filter) On 2012/08/09 16:39:16, ...
12 years, 7 months ago (2012-08-09 17:05:40 UTC) #7
rsc
LGTM
12 years, 7 months ago (2012-08-09 18:49:42 UTC) #8
gri
12 years, 7 months ago (2012-08-09 23:10:49 UTC) #9
*** Submitted as http://code.google.com/p/go/source/detail?r=3ea251d89964 ***

godoc: report error for directories with multiple packages

Fixes issue 3922.

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

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