commit | f6bc7d8501d8ad20fe1602d23cf746386924a471 | [log] [tgz] |
---|---|---|
author | Douglas Danger Manley <doug.manley@gmail.com> | Tue Oct 17 14:32:24 2017 -0400 |
committer | Hugo Arès <hugo.ares@ericsson.com> | Wed Nov 08 16:14:02 2017 +0000 |
tree | e457f01a1be71739638454b64756f5484678cc27 | |
parent | c6e1e9c9d3c4cc5bf0e319cf5e40a49a663ad97c [diff] |
Added support for package-level queries (and a README) I noticed that package-level queries were not supported, with a vague note about how Gerrit supports arbitrarily deep repos making this impossible. It's actually pretty simple to support this: you just find the package with the greatest depth that matches the request. If you have a Gerrit setup with packages that have overlapping names (for example, you have both "a" and "a/b" projects at the same time), then when a request for package "a/b" is made, repo "a/b" will be preferred over "a" (even if "a" actually had a package "b"). Just because Gerrit allows you to do crazy things with your names doesn't mean that you should actually take it up on that offer. Anyway, we're using this now in production and it has made it so that `go dep` works with our private Gerrit instance. Change-Id: I5c5daa4984a5993aec39da60ea8cca2d3ab94415
This plugin allows you to perform go get
requests against a Gerrit project.
For more information, see: src/main/resources/Documentation/about.md