build/gerrit
Kevin Burke aaa6b3e605 cmd/gitmirror, gerrit: move GetProjects to gerrit
This adds more utility to the Gerrit client and lets us reuse the
Gerrit API logic, instead of inventing it on an adhoc basis inside
the gitmirror code.

I added a test that this deserializes the correct data from the
Gerrit API for go.googlesource.com (and then removed it).

Change-Id: I449594b0257ed15d9b5aa7aa1eda7fb371fad6c1
Reviewed-on: https://go-review.googlesource.com/37252
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2017-02-19 17:54:52 +00:00
..
auth.go gerrit: add Auth mode to use a specific cookie file, add more methods 2016-02-08 23:00:44 +00:00
demo.go gerrit: support contexts 2017-01-23 21:06:28 +00:00
example_test.go gerrit: support contexts 2017-01-23 21:06:28 +00:00
gerrit.go cmd/gitmirror, gerrit: move GetProjects to gerrit 2017-02-19 17:54:52 +00:00
gerrit_ctx.go gerrit: support contexts 2017-01-23 21:06:28 +00:00
gerrit_noctx.go gerrit: support contexts 2017-01-23 21:06:28 +00:00
gerrit_test.go gerrit: support contexts 2017-01-23 21:06:28 +00:00