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

Issue 161760043: code review 161760043: cmd/digraph: digraph: a UNIX-style utility command for ... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 6 months ago by adonovan
Modified:
10 years, 6 months ago
Reviewers:
gri
CC:
gri, Sameer Ajmani, golang-codereviews
Visibility:
Public.

Description

cmd/digraph: digraph: a UNIX-style utility command for common operations on directed graphs in text format. Example: show the transitive closure of imports of the digraph tool itself: % go list -f '{{.ImportPath}}{{.Imports}}' ... | tr '[]' ' ' | digraph forward code.google.com/p/go.tools/cmd/digraph + basic test.

Patch Set 1 #

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

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

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

Total comments: 16

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

Total comments: 12

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+473 lines, -0 lines) Patch
A cmd/digraph/digraph.go View 1 2 3 4 5 1 chunk +411 lines, -0 lines 0 comments Download
A cmd/digraph/digraph_test.go View 1 2 3 4 5 1 chunk +62 lines, -0 lines 0 comments Download

Messages

Total messages: 9
adonovan
Hello gri@golang.org (cc: golang-codereviews@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go.tools
10 years, 6 months ago (2014-10-17 19:06:43 UTC) #1
gri
Should also have tests. https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go#newcode34 cmd/digraph/digraph.go:34: The graph is provided on ...
10 years, 6 months ago (2014-10-21 18:12:40 UTC) #2
adonovan
On 2014/10/21 18:12:40, gri wrote: > Should also have tests. > > https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go > File ...
10 years, 6 months ago (2014-10-21 19:08:14 UTC) #3
adonovan
https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/60001/cmd/digraph/digraph.go#newcode34 cmd/digraph/digraph.go:34: The graph is provided on the standard input. On ...
10 years, 6 months ago (2014-10-21 19:08:20 UTC) #4
gri
https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph.go#newcode50 cmd/digraph/digraph.go:50: extra blank line https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph.go#newcode244 cmd/digraph/digraph.go:244: func digraph(args []string) error ...
10 years, 6 months ago (2014-10-21 19:32:36 UTC) #5
adonovan
https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph.go File cmd/digraph/digraph.go (right): https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph.go#newcode50 cmd/digraph/digraph.go:50: On 2014/10/21 19:32:35, gri wrote: > extra blank line ...
10 years, 6 months ago (2014-10-21 20:00:22 UTC) #6
gri
LGTM https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go File cmd/digraph/digraph_test.go (right): https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go#newcode13 cmd/digraph/digraph_test.go:13: socks shoes On 2014/10/21 20:00:21, adonovan wrote: > ...
10 years, 6 months ago (2014-10-21 20:02:37 UTC) #7
adonovan
Thanks for the review. https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go File cmd/digraph/digraph_test.go (right): https://codereview.appspot.com/161760043/diff/80001/cmd/digraph/digraph_test.go#newcode13 cmd/digraph/digraph_test.go:13: socks shoes On 2014/10/21 20:02:37, ...
10 years, 6 months ago (2014-10-21 20:20:30 UTC) #8
adonovan
10 years, 6 months ago (2014-10-23 13:13:43 UTC) #9
*** Submitted as
https://code.google.com/p/go/source/detail?r=26bf67f2818a&repo=tools ***

cmd/digraph: digraph: a UNIX-style utility command for common operations on
directed graphs in text format.

Example: show the transitive closure of imports of the digraph tool itself:

% go list -f '{{.ImportPath}}{{.Imports}}' ... | tr '[]' '  ' |
    digraph forward code.google.com/p/go.tools/cmd/digraph

+ basic test.

LGTM=gri
R=gri, sameer
CC=golang-codereviews
https://codereview.appspot.com/161760043
Sign in to reply to this message.

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