Keyboard Shortcuts

File
u :up to issue
m :publish + mail comments
M :edit review message
j / k :jump to file after / before current file
J / K :jump to next file with a comment after / before current file
Side-by-side diff
i :toggle intra-line diffs
e :expand all comments
c :collapse all comments
s :toggle showing all comments
n / p :next / previous diff chunk or comment
N / P :next / previous comment
<Up> / <Down> :next / previous line
<Enter> :respond to / edit current comment
d :mark current comment as done
Issue
u :up to list of issues
m :publish + mail comments
j / k :jump to patch after / before current patch
o / <Enter> :open current patch in side-by-side view
i :open current patch in unified diff view
Issue List
j / k :jump to issue after / before current issue
o / <Enter> :open current issue
# : close issue
Comment/message editing
<Ctrl> + s or <Ctrl> + Enter :save comment
<Esc> :cancel edit
Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5)
Issues Repositories Search
Open Issues | Closed Issues | All Issues | Sign in with your Google Account to create issues and add comments

Issue 5158042: code review 5158042: codereview: gofmt check for non-src/ files

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 3 months ago by crawshaw1
Modified:
14 years, 1 month ago
Reviewers:
gri , rsc
CC:
rsc, gri, golang-dev
Visibility:
Public.
codereview: gofmt check for non-src/ files Gives other projects the benefit of the gofmt presubmit. Results in minor changes in the doc/ directory: find doc -name \*.go -exec gofmt -d {} \;

Patch Set 1 #

Patch Set 2 : diff -r 39de8f482ea8 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 39de8f482ea8 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 5dc686c3dda8 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 5dc686c3dda8 https://go.googlecode.com/hg/ #

Created: 14 years, 3 months ago
Download [raw] [tar.bz2]
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M lib/codereview/codereview.py View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
Total messages: 6
|
crawshaw1
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 3 months ago (2011年09月29日 15:53:43 UTC) #1
Hello rsc@golang.org (cc: golang-dev@googlegroups.com),
I'd like you to review this change to
https://go.googlecode.com/hg/ 
Sign in to reply to this message.
gri
LGTM - gri On Thu, Sep 29, 2011 at 8:53 AM, <crawshaw@google.com> wrote: > Reviewers: ...
14 years, 3 months ago (2011年09月29日 21:47:59 UTC) #2
LGTM
- gri
On Thu, Sep 29, 2011 at 8:53 AM, <crawshaw@google.com> wrote:
> Reviewers: rsc,
>
> Message:
> Hello rsc@golang.org (cc: golang-dev@googlegroups.com),
>
> I'd like you to review this change to
> https://go.googlecode.com/hg/
>
>
> Description:
> codereview: gofmt check for non-src/ files
>
> Gives other projects the benefit of the gofmt presubmit.
> Results in minor changes in the doc/ directory:
>    find doc -name \*.go -exec gofmt -d {} \;
>
> Please review this at http://codereview.appspot.com/5158042/
>
> Affected files:
> M lib/codereview/codereview.py
>
>
> Index: lib/codereview/codereview.py
> ===================================================================
> --- a/lib/codereview/codereview.py
> +++ b/lib/codereview/codereview.py
> @@ -1000,7 +1000,7 @@
>
> # Check that gofmt run on the list of files does not change them
> def CheckGofmt(ui, repo, files, just_warn):
> -    files = [f for f in files if (f.startswith('src/') or
> f.startswith('test/bench/')) and f.endswith('.go')]
> +    files = [f for f in files if (not f.startswith('test/') or
> f.startswith('test/bench/')) and f.endswith('.go')]
>    if not files:
>        return
>    cwd = os.getcwd()
>
>
>
Sign in to reply to this message.
gri
but wait for rsc - gri On Thu, Sep 29, 2011 at 2:47 PM, Robert ...
14 years, 3 months ago (2011年09月29日 21:48:16 UTC) #3
but wait for rsc
- gri
On Thu, Sep 29, 2011 at 2:47 PM, Robert Griesemer <gri@golang.org> wrote:
> LGTM
> - gri
>
> On Thu, Sep 29, 2011 at 8:53 AM, <crawshaw@google.com> wrote:
> > Reviewers: rsc,
> >
> > Message:
> > Hello rsc@golang.org (cc: golang-dev@googlegroups.com),
> >
> > I'd like you to review this change to
> > https://go.googlecode.com/hg/
> >
> >
> > Description:
> > codereview: gofmt check for non-src/ files
> >
> > Gives other projects the benefit of the gofmt presubmit.
> > Results in minor changes in the doc/ directory:
> > find doc -name \*.go -exec gofmt -d {} \;
> >
> > Please review this at http://codereview.appspot.com/5158042/
> >
> > Affected files:
> > M lib/codereview/codereview.py
> >
> >
> > Index: lib/codereview/codereview.py
> > ===================================================================
> > --- a/lib/codereview/codereview.py
> > +++ b/lib/codereview/codereview.py
> > @@ -1000,7 +1000,7 @@
> >
> > # Check that gofmt run on the list of files does not change them
> > def CheckGofmt(ui, repo, files, just_warn):
> > - files = [f for f in files if (f.startswith('src/') or
> > f.startswith('test/bench/')) and f.endswith('.go')]
> > + files = [f for f in files if (not f.startswith('test/') or
> > f.startswith('test/bench/')) and f.endswith('.go')]
> > if not files:
> > return
> > cwd = os.getcwd()
> >
> >
> >
>
Sign in to reply to this message.
crawshaw1
Ping. On Thu, Sep 29, 2011 at 2:48 PM, Robert Griesemer <gri@golang.org> wrote: > but ...
14 years, 3 months ago (2011年10月03日 22:48:49 UTC) #4
Ping.
On Thu, Sep 29, 2011 at 2:48 PM, Robert Griesemer <gri@golang.org> wrote:
> but wait for rsc
> - gri
>
>
> On Thu, Sep 29, 2011 at 2:47 PM, Robert Griesemer <gri@golang.org> wrote:
>
>> LGTM
>> - gri
>>
>> On Thu, Sep 29, 2011 at 8:53 AM, <crawshaw@google.com> wrote:
>> > Reviewers: rsc,
>> >
>> > Message:
>> > Hello rsc@golang.org (cc: golang-dev@googlegroups.com),
>> >
>> > I'd like you to review this change to
>> > https://go.googlecode.com/hg/
>> >
>> >
>> > Description:
>> > codereview: gofmt check for non-src/ files
>> >
>> > Gives other projects the benefit of the gofmt presubmit.
>> > Results in minor changes in the doc/ directory:
>> > find doc -name \*.go -exec gofmt -d {} \;
>> >
>> > Please review this at http://codereview.appspot.com/5158042/
>> >
>> > Affected files:
>> > M lib/codereview/codereview.py
>> >
>> >
>> > Index: lib/codereview/codereview.py
>> > ===================================================================
>> > --- a/lib/codereview/codereview.py
>> > +++ b/lib/codereview/codereview.py
>> > @@ -1000,7 +1000,7 @@
>> >
>> > # Check that gofmt run on the list of files does not change them
>> > def CheckGofmt(ui, repo, files, just_warn):
>> > - files = [f for f in files if (f.startswith('src/') or
>> > f.startswith('test/bench/')) and f.endswith('.go')]
>> > + files = [f for f in files if (not f.startswith('test/') or
>> > f.startswith('test/bench/')) and f.endswith('.go')]
>> > if not files:
>> > return
>> > cwd = os.getcwd()
>> >
>> >
>> >
>>
>
>
Sign in to reply to this message.
rsc
LGTM
14 years, 3 months ago (2011年10月05日 15:45:59 UTC) #5
LGTM
Sign in to reply to this message.
gri
*** Submitted as http://code.google.com/p/go/source/detail?r=4c556044efce *** codereview: gofmt check for non-src/ files Gives other projects the ...
14 years, 1 month ago (2011年11月18日 20:42:33 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=4c556044efce ***
codereview: gofmt check for non-src/ files
Gives other projects the benefit of the gofmt presubmit.
Results in minor changes in the doc/ directory:
 find doc -name \*.go -exec gofmt -d {} \;
R=rsc, gri
CC=golang-dev
http://codereview.appspot.com/5158042
Committer: Robert Griesemer <gri@golang.org>
Sign in to reply to this message.
|
Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b

AltStyle によって変換されたページ (->オリジナル) /