An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 2.1% on proxy.golang.org
Top 0.6% dependent packages on proxy.golang.org
Top 0.3% dependent repos on proxy.golang.org
Top 4.2% forks on proxy.golang.org
Top 0.9% docker downloads on proxy.golang.org

proxy.golang.org : github.com/andygrunwald/go-gerrit

Package gerrit provides a client for using the Gerrit API. Construct a new Gerrit client, then use the various services on the client to access different parts of the Gerrit API. For example: Set optional parameters for an API method by passing an Options object. The services of a client divide the API into logical chunks and correspond to the structure of the Gerrit API documentation at https://gerrit-review.googlesource.com/Documentation/rest-api.html#_endpoints. The go-gerrit library supports various methods to support the authentication. This methods are combined in the AuthenticationService that is available at client.Authentication. One way is an authentication via HTTP cookie. Some Gerrit instances hosted like the one hosted googlesource.com (e.g. https://go-review.googlesource.com/, https://android-review.googlesource.com/ or https://gerrit-review.googlesource.com/) support HTTP Cookie authentication. You need the cookie name and the cookie value. You can get them by click on "Settings > HTTP Password > Obtain Password" in your Gerrit instance. There you can receive your values. The cookie name will be (mostly) "o" (if hosted on googlesource.com). Your cookie secret will be something like "[email protected]=SomeHash...". Some other Gerrit instances (like https://review.typo3.org/) has auth.gitBasicAuth activated. With this you can authenticate with HTTP Basic like this: Additionally when creating a new client, pass an http.Client that supports further actions for you. For more information regarding authentication have a look at the Gerrit documentation: https://gerrit-review.googlesource.com/Documentation/rest-api.html#authentication

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/andygrunwald/go-gerrit
Keywords: code-review , gerrit , go , golang , hacktoberfest , review
License: MIT
Latest release: 7 months ago
First release: almost 7 years ago
Namespace: github.com/andygrunwald
Dependent packages: 86
Dependent repositories: 795
Stars: 88 on GitHub
Forks: 29 on GitHub
Docker dependents: 14
Docker downloads: 19,605
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/andygrunwald, https://paypal.me/andygrunwald
Last synced: about 1 month ago

    Loading...
    Readme
    Loading...