|
|
Drover's back, baby!
Implements drover for git!
Assumes some things about the git repo though:
* uses cr-rev to disambiguate commit-to-land
* includes automatic discovery of git repo
* uses gitiles to fetch the minimal subset of objects necessary for the
specified action.
* knows about codereview.settings and the pending ref stuff.
Features:
* Colors
* Progress bars
* It's really really fast
* Performs the action in a real on-disk environment with real (minimal) git
commits. No history is available, but if there's a conflict, you can
resolve it in the normal way.
* Pops you into a shell in the directory if it detects a conflict.
* Currently stops short of the push, but I've verified that the git client
can correctly synthesize the packfile and perform the push.
* Intermediate progress is cached locally... if something goes sideways in
the process you can re-do the command and it will only fetch objects it
doesn't have yet.
* Probably works on windows (untested)
R=agable@chromium.org,maruel@chromium.org
BUG= 404755
Total comments: 88
Total comments: 84
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+4042 lines, -15 lines) |
Patch |
 |
M |
go/src/infra/hello_pkg/hello_pkg.go
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/blob.go
|
View
|
1
2
3
4
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/blob_test.go
|
View
|
1
2
3
4
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/child.go
|
View
|
1
2
3
4
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/child_test.go
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/commit.go
|
View
|
1
2
3
4
|
1 chunk |
+242 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/commit_test.go
|
View
|
1
2
3
4
|
1 chunk |
+163 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/emptyObject.go
|
View
|
1
2
3
4
|
1 chunk |
+54 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/emptyObject_test.go
|
View
|
1
2
3
4
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/git.goconvey
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/mode.go
|
View
|
1
2
3
|
1 chunk |
+32 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/mode_test.go
|
View
|
1
2
3
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/object.go
|
View
|
1
2
3
4
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/objectID.go
|
View
|
1
2
|
1 chunk |
+90 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/objectID_test.go
|
View
|
1
2
3
|
1 chunk |
+43 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/objectType.go
|
View
|
1
2
|
1 chunk |
+57 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/objectType_test.go
|
View
|
1
2
3
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/object_test.go
|
View
|
1
2
3
4
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/repo/repo.go
|
View
|
1
2
3
4
|
1 chunk |
+345 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/repo/repo_test.go
|
View
|
1
2
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/tree.go
|
View
|
1
2
3
4
|
1 chunk |
+424 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/treeDiff.go
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/tree_test.go
|
View
|
1
2
3
4
|
1 chunk |
+558 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/types.go
|
View
|
1
2
3
4
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/user.go
|
View
|
1
2
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/git/user_test.go
|
View
|
1
2
3
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/gitiles.go
|
View
|
1
2
|
1 chunk |
+155 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/priv_jsonCommitDiff.go
|
View
|
1
2
3
4
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/priv_jsonRequest.go
|
View
|
1
2
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/priv_objRequest.go
|
View
|
1
2
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/priv_textRequest.go
|
View
|
1
2
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/gitiles/statusError.go
|
View
|
1
2
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/infra_util/buf.go
|
View
|
1
2
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/infra_util/errors.go
|
View
|
1
2
3
4
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/infra_util/stringSet.go
|
View
|
1
2
3
4
|
1 chunk |
+60 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/libs/infra_util/test_utils.go
|
View
|
1
2
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A + |
go/src/infra/tools/drover/default_shell_darwin.go
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
go/src/infra/tools/drover/default_shell_linux.go
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
A + |
go/src/infra/tools/drover/default_shell_windows.go
|
View
|
1
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/tools/drover/disambiguate.go
|
View
|
1
|
1 chunk |
+167 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/tools/drover/main.go
|
View
|
1
2
|
1 chunk |
+215 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/tools/drover/merge.go
|
View
|
1
2
3
4
|
1 chunk |
+366 lines, -0 lines |
0 comments
|
Download
|
 |
A |
go/src/infra/tools/drover/util.go
|
View
|
1
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (2 generated)
|