Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Gerrit REST API https access using curl/wget tools #57

Open
chrisinmtown opened this issue Apr 17, 2020 · 0 comments
Open

Query Gerrit REST API https access using curl/wget tools #57

chrisinmtown opened this issue Apr 17, 2020 · 0 comments

Comments

@chrisinmtown
Copy link

chrisinmtown commented Apr 17, 2020

Extend the gerritstats downloader to query the REST API via HTTPS using curl or wget. This will allow use of this stats tool on gerrit repositories that block access to statistics by SSH but grant access via anonymous HTTPS.

Unfortunately the protocols are sharply different. The SSH access path is script friendly; the REST API is machine friendly. Both return JSON, but formatted significantly differently.

https://gerrit-review.googlesource.com/Documentation/rest-api.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant