Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(68)

Issue 1929153002: Add beginnings of new cr command (Closed)

Created:
4 years, 7 months ago by agable
Modified:
4 years, 6 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org
Base URL:
https://chromium.googlesource.com/infra/infra.git@master
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

Add beginnings of new cr command This CL * Establishes the root cr command, including subcommand dispatch and help * Creates two minimal libraries for managing subcommands and terminal interaction * Implements the help command and the beginning of the firstrun command R=seanmccullough@chromium.org BUG=605772 Committed: https://chromium.googlesource.com/infra/infra/+/d6d8a0f314f854a0b9e4b191af331a764563920d

Patch Set 1 #

Total comments: 6

Patch Set 2 : Style and documentation #

Total comments: 32

Patch Set 3 : Comments #

Total comments: 13

Patch Set 4 : Comments and improvements #

Patch Set 5 : Comments and improvements #

Patch Set 6 : Lots of tests #

Patch Set 7 : Fix lint #

Patch Set 8 : coverage expectations #

Patch Set 9 : Fix windows arguments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+766 lines, -0 lines) Patch
A go/src/infra/tools/cr/cmd/firstrun/common.go View 1 2 3 4 5 6 1 chunk +53 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cmd/firstrun/firstrun.go View 1 2 3 5 1 chunk +62 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cmd/firstrun/firstrun.infra_testing View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cmd/firstrun/firstrun_test.go View 1 2 3 4 5 6 1 chunk +119 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cmd/firstrun/firstrun_unix.go View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cmd/firstrun/firstrun_windows.go View 1 2 3 4 5 6 7 8 1 chunk +38 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/cr.infra_testing View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/help.go View 1 2 3 4 5 1 chunk +41 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/subcommand/subcommand.go View 1 2 3 4 5 1 chunk +107 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/subcommand/subcommand.infra_testing View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/subcommand/subcommand_test.go View 1 2 3 4 5 1 chunk +137 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/terminal/terminal.go View 1 2 3 4 5 1 chunk +36 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/terminal/terminal.infra_testing View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/lib/terminal/terminal_test.go View 1 2 3 4 5 1 chunk +21 lines, -0 lines 0 comments Download
A go/src/infra/tools/cr/main.go View 1 2 3 4 5 1 chunk +81 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (12 generated)
agable
This CL replaces https://codereview.chromium.org/1905233002 It doesn't require third-party dependencies. I've learned a lot more since ...
4 years, 7 months ago (2016-04-28 22:50:10 UTC) #1
agable
PTAL at patchset 2; our toolchain seems happy with the style and documentation.
4 years, 7 months ago (2016-04-28 23:21:38 UTC) #2
seanmccullough1
https://codereview.chromium.org/1929153002/diff/1/go/src/infra/tools/cr/cmd/firstrun/firstrun_nix.go File go/src/infra/tools/cr/cmd/firstrun/firstrun_nix.go (right): https://codereview.chromium.org/1929153002/diff/1/go/src/infra/tools/cr/cmd/firstrun/firstrun_nix.go#newcode21 go/src/infra/tools/cr/cmd/firstrun/firstrun_nix.go:21: // firstrunCheckNotInstalled is a sanity check to make sure ...
4 years, 7 months ago (2016-04-29 00:54:37 UTC) #4
agable
Patchset responding to comments, but not finishing implementation of firstrun command, now available. https://codereview.chromium.org/1929153002/diff/1/go/src/infra/tools/cr/cmd/firstrun/firstrun_nix.go File ...
4 years, 7 months ago (2016-05-05 23:59:43 UTC) #5
seanmccullough1
https://codereview.chromium.org/1929153002/diff/20001/go/src/infra/tools/cr/main.go File go/src/infra/tools/cr/main.go (right): https://codereview.chromium.org/1929153002/diff/20001/go/src/infra/tools/cr/main.go#newcode65 go/src/infra/tools/cr/main.go:65: cmd = subcommands[os.Args[1]] On 2016/05/05 23:59:43, agable wrote: > ...
4 years, 7 months ago (2016-05-06 00:43:54 UTC) #6
agable
https://codereview.chromium.org/1929153002/diff/40001/go/src/infra/tools/cr/cmd/firstrun/firstrun.go File go/src/infra/tools/cr/cmd/firstrun/firstrun.go (right): https://codereview.chromium.org/1929153002/diff/40001/go/src/infra/tools/cr/cmd/firstrun/firstrun.go#newcode39 go/src/infra/tools/cr/cmd/firstrun/firstrun.go:39: firstrunCheckNotInstalled() On 2016/05/06 at 00:43:54, seanmccullough1 wrote: > What ...
4 years, 7 months ago (2016-05-10 00:34:11 UTC) #7
seanmccullough1
lgtm
4 years, 7 months ago (2016-05-10 02:00:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929153002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1929153002/80001
4 years, 7 months ago (2016-05-10 17:44:53 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Precise 32 Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Linux%20Precise%2032%20Tester/builds/1843) ...
4 years, 7 months ago (2016-05-10 17:48:03 UTC) #12
agable
We enforce coverage! Cool! Adding tests.
4 years, 7 months ago (2016-05-10 17:49:08 UTC) #13
seanmccullough1
On 2016/05/10 17:49:08, agable wrote: > We enforce coverage! Cool! Adding tests. Any plans to ...
4 years, 6 months ago (2016-06-03 16:47:29 UTC) #14
agable
On 2016/06/03 at 16:47:29, seanmccullough wrote: > On 2016/05/10 17:49:08, agable wrote: > > We ...
4 years, 6 months ago (2016-06-03 17:03:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929153002/120001
4 years, 6 months ago (2016-06-03 19:55:54 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: Infra Linux Trusty 64 Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Linux%20Trusty%2064%20Tester/builds/2006)
4 years, 6 months ago (2016-06-03 20:03:50 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929153002/140001
4 years, 6 months ago (2016-06-03 20:48:29 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: Infra Win Tester on tryserver.infra (JOB_FAILED, https://build.chromium.org/p/tryserver.infra/builders/Infra%20Win%20Tester/builds/1963)
4 years, 6 months ago (2016-06-03 20:56:47 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1929153002/160001
4 years, 6 months ago (2016-06-03 21:25:13 UTC) #28
commit-bot: I haz the power
4 years, 6 months ago (2016-06-03 21:53:26 UTC) #30
Message was sent while issue was closed.
Committed patchset #9 (id:160001) as
https://chromium.googlesource.com/infra/infra/+/d6d8a0f314f854a0b9e4b191af331...

Powered by Google App Engine
This is Rietveld 408576698