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

Issue 5676088: code review 5676088: go/doc: move firstSentence into go/doc (Closed)

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

Description

go/doc: move firstSentence into go/doc - renamed firstSentence -> Synopsis - also deal with common abbreviations

Patch Set 1 #

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

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

Total comments: 4

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

Total comments: 1

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -28 lines) Patch
M src/cmd/go/pkg.go View 1 3 chunks +2 lines, -27 lines 0 comments Download
M src/cmd/godoc/dirtrees.go View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
A src/pkg/go/doc/synopsis.go View 1 2 3 4 1 chunk +52 lines, -0 lines 0 comments Download
A src/pkg/go/doc/synopsis_test.go View 1 2 3 1 chunk +44 lines, -0 lines 0 comments Download

Messages

Total messages: 5
gri
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
13 years, 3 months ago (2012-02-18 01:06:25 UTC) #1
rsc1
http://codereview.appspot.com/5676088/diff/3001/src/cmd/godoc/dirtrees.go File src/cmd/godoc/dirtrees.go (right): http://codereview.appspot.com/5676088/diff/3001/src/cmd/godoc/dirtrees.go#newcode140 src/cmd/godoc/dirtrees.go:140: synopses[i] = t[0:doc.FirstSentenceLen(t)] Why not use Synopsis here? http://codereview.appspot.com/5676088/diff/3001/src/pkg/go/doc/synopsis.go ...
13 years, 3 months ago (2012-02-18 19:56:41 UTC) #2
gri
PTAL. Also improved firstSentenceLen by: a) getting rid of pi (not needed) b) being smarter ...
13 years, 3 months ago (2012-02-21 22:47:14 UTC) #3
rsc
LGTM http://codereview.appspot.com/5676088/diff/7001/src/pkg/go/doc/synopsis.go File src/pkg/go/doc/synopsis.go (right): http://codereview.appspot.com/5676088/diff/7001/src/pkg/go/doc/synopsis.go#newcode11 src/pkg/go/doc/synopsis.go:11: // not preceeded by exactly one uppercase letter. ...
13 years, 3 months ago (2012-02-22 18:13:10 UTC) #4
gri
13 years, 3 months ago (2012-02-22 18:49:38 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=87824db308ec ***

go/doc: move firstSentence into go/doc

- renamed firstSentence -> Synopsis
- also deal with common abbreviations

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

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