Hello Shawn,
On Tue, 13 Mar 2012 07:12:24 -0700 Shawn Pearce sop@google.com wrote:
On Tue, Mar 13, 2012 at 04:41, Paul Sokolovsky paul.sokolovsky@linaro.org wrote:
Now that Google itself doesn't use SSH interface to Gerrit (https://android-review.googlesource.com/ssh_info), does it mean that SSH interface is deprecated,
No, it isn't deprecated. The SSH interface is too useful for end-users, administrators, etc.
[]
Thanks for the detailed explanation, Shawn, much appreciated.
[]
Well, what we'd need right now is analog of "gerrit ls-projects", i.e. a stable, machine-readable way to get a list of projects in AOSP Gerrit. Any hints?
AOSP maintains an additional manifest file that lists every project... because ls-projects isn't (yet) available over HTTP. ls-projects has to be one of the simpler SSH commands... and patches are always be appreciated. :-)
We need this to automatically pull new AOSP projects to our mirror at http://android.git.linaro.org , and just had some old code using ls-projects which worked at kernel.org times. It probably makes sense to just rewrite it to use a manifest instead, especially if there's one maintained to list all projects, so it won't take parsing multiple manifests in multiple branches.