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

Issue 4630056: code review 4630056: gofix: fixes for os/signal changes (Closed)

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

Description

gofix: fixes for os/signal changes Fixes issue 1971.

Patch Set 1 #

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

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

Total comments: 9

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

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

Patch Set 6 : diff -r e3c9fecaef4e https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r e3c9fecaef4e https://go.googlecode.com/hg/ #

Total comments: 8

Patch Set 8 : diff -r c5ff902a17b9 https://go.googlecode.com/hg/ #

Total comments: 8

Patch Set 9 : diff -r 18e35543f1af https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r 18e35543f1af https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+301 lines, -4 lines) Patch
M src/cmd/gofix/Makefile View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M src/cmd/gofix/fix.go View 1 2 3 4 5 6 7 8 3 chunks +155 lines, -4 lines 0 comments Download
A src/cmd/gofix/signal.go View 1 2 3 4 5 6 7 1 chunk +49 lines, -0 lines 0 comments Download
A src/cmd/gofix/signal_test.go View 1 2 3 4 5 6 7 8 1 chunk +96 lines, -0 lines 0 comments Download

Messages

Total messages: 20
rh
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
12 years, 10 months ago (2011-06-22 00:37:50 UTC) #1
adg
Nice work. http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/signal_test.go File src/cmd/gofix/signal_test.go (right): http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/signal_test.go#newcode11 src/cmd/gofix/signal_test.go:11: var signalTests = []testCase{ Perhaps add one ...
12 years, 10 months ago (2011-06-22 00:55:52 UTC) #2
adg
http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/fix.go File src/cmd/gofix/fix.go (right): http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/fix.go#newcode425 src/cmd/gofix/fix.go:425: func addImport(f *ast.File, path string) { It would be ...
12 years, 10 months ago (2011-06-22 01:04:44 UTC) #3
rh
Thanks for the review! PTAL. http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/fix.go File src/cmd/gofix/fix.go (right): http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/fix.go#newcode425 src/cmd/gofix/fix.go:425: func addImport(f *ast.File, path ...
12 years, 10 months ago (2011-06-22 02:31:05 UTC) #4
adg
On 22 June 2011 12:31, <robert.hencke@gmail.com> wrote: > http://codereview.appspot.com/4630056/diff/10001/src/cmd/gofix/signal.go#newcode32 > src/cmd/gofix/signal.go:32: if isTopName(n.X, "signal") { ...
12 years, 10 months ago (2011-06-22 03:16:07 UTC) #5
rh
OK, thank you. PTAL. I went ahead and fixed filepath, too. If you'd prefer it ...
12 years, 10 months ago (2011-06-22 03:50:17 UTC) #6
adg
On 2011/06/22 03:50:17, rh wrote: > OK, thank you. PTAL. > > I went ahead ...
12 years, 10 months ago (2011-06-22 04:03:43 UTC) #7
rh
Hello golang-dev@googlegroups.com, adg@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-22 04:15:38 UTC) #8
adg
LGTM Leaving for rsc.
12 years, 10 months ago (2011-06-22 05:38:42 UTC) #9
rsc
Very nice. http://codereview.appspot.com/4630056/diff/9006/src/cmd/gofix/Makefile File src/cmd/gofix/Makefile (right): http://codereview.appspot.com/4630056/diff/9006/src/cmd/gofix/Makefile#newcode19 src/cmd/gofix/Makefile:19: signal.go\ up one line (sort) http://codereview.appspot.com/4630056/diff/9006/src/cmd/gofix/fix.go File ...
12 years, 10 months ago (2011-06-22 20:04:49 UTC) #10
rh
Thank you! PTAL http://codereview.appspot.com/4630056/diff/9006/src/cmd/gofix/Makefile File src/cmd/gofix/Makefile (right): http://codereview.appspot.com/4630056/diff/9006/src/cmd/gofix/Makefile#newcode19 src/cmd/gofix/Makefile:19: signal.go\ On 2011/06/22 20:04:49, rsc wrote: ...
12 years, 10 months ago (2011-06-24 02:48:05 UTC) #11
rsc
looks pretty good; a few minor things below http://codereview.appspot.com/4630056/diff/9008/src/cmd/gofix/fix.go File src/cmd/gofix/fix.go (right): http://codereview.appspot.com/4630056/diff/9008/src/cmd/gofix/fix.go#newcode265 src/cmd/gofix/fix.go:265: // ...
12 years, 10 months ago (2011-06-27 15:33:00 UTC) #12
rh
http://codereview.appspot.com/4630056/diff/9008/src/cmd/gofix/fix.go File src/cmd/gofix/fix.go (right): http://codereview.appspot.com/4630056/diff/9008/src/cmd/gofix/fix.go#newcode265 src/cmd/gofix/fix.go:265: // getImport returns the import spec if f imports ...
12 years, 10 months ago (2011-06-28 03:36:32 UTC) #13
rh
Hello adg@golang.org, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 10 months ago (2011-06-28 03:36:46 UTC) #14
adg
LGTM
12 years, 10 months ago (2011-06-29 06:25:31 UTC) #15
adg
Actually, no it doesn't. The tests don't pass. signal.0: incorrect output. --- have package main ...
12 years, 10 months ago (2011-06-29 06:32:56 UTC) #16
rh
That's odd. It passes locally for me. Let me make sure I uploaded everything... On ...
12 years, 10 months ago (2011-06-29 06:39:04 UTC) #17
rh
ah dangit. The Makefile got removed from the CL somehow. PTAL.
12 years, 10 months ago (2011-06-29 06:41:54 UTC) #18
adg
LGTM Glad it was that simple. :-)
12 years, 10 months ago (2011-06-29 06:44:36 UTC) #19
adg
12 years, 10 months ago (2011-06-29 06:44:56 UTC) #20
*** Submitted as http://code.google.com/p/go/source/detail?r=8fe2bc5c3d53 ***

gofix: fixes for os/signal changes

Fixes issue 1971.

R=adg, rsc
CC=golang-dev
http://codereview.appspot.com/4630056

Committer: Andrew Gerrand <adg@golang.org>
Sign in to reply to this message.

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