{"id":34334574,"url":"https://github.com/uwolfer/gerrit-rest-java-client","last_synced_at":"2025-12-17T20:02:51.927Z","repository":{"id":17453911,"uuid":"20227824","full_name":"uwolfer/gerrit-rest-java-client","owner":"uwolfer","description":"Java REST client for Gerrit Code Review","archived":false,"fork":false,"pushed_at":"2025-09-18T05:14:12.000Z","size":2022,"stargazers_count":170,"open_issues_count":10,"forks_count":87,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-09-18T07:17:02.133Z","etag":null,"topics":["code-review","gerrit","git","java","rest"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/uwolfer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2014-05-27T16:58:38.000Z","updated_at":"2025-09-18T05:14:08.000Z","dependencies_parsed_at":"2023-01-11T20:26:38.114Z","dependency_job_id":"96a2218d-3bd0-4ef8-a36c-b03ab5ee1d17","html_url":"https://github.com/uwolfer/gerrit-rest-java-client","commit_stats":null,"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/uwolfer/gerrit-rest-java-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwolfer%2Fgerrit-rest-java-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwolfer%2Fgerrit-rest-java-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwolfer%2Fgerrit-rest-java-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwolfer%2Fgerrit-rest-java-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/uwolfer","download_url":"https://codeload.github.com/uwolfer/gerrit-rest-java-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/uwolfer%2Fgerrit-rest-java-client/sbom","scorecard":{"id":359147,"data":{"date":"2025-08-11","repo":{"name":"github.com/uwolfer/gerrit-rest-java-client","commit":"6d81cfb2c0d806342cc535c99060bb4014b0fca3"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.9,"checks":[{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 15 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":1,"reason":"2 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/uwolfer/gerrit-rest-java-client/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/uwolfer/gerrit-rest-java-client/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/uwolfer/gerrit-rest-java-client/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/uwolfer/gerrit-rest-java-client/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/uwolfer/gerrit-rest-java-client/release.yml/master?enable=pin","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T10:21:13.180Z","repository_id":17453911,"created_at":"2025-08-18T10:21:13.181Z","updated_at":"2025-08-18T10:21:13.181Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27786162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["code-review","gerrit","git","java","rest"],"created_at":"2025-12-17T20:00:42.055Z","updated_at":"2025-12-17T20:02:51.922Z","avatar_url":"https://github.com/uwolfer.png","language":"Java","readme":"gerrit-rest-java-client\n======================\n\n[![Linux Build](https://app.travis-ci.com/uwolfer/gerrit-rest-java-client.svg?branch=master)](https://app.travis-ci.com/uwolfer/gerrit-rest-java-client)\n[![Windows Build](https://ci.appveyor.com/api/projects/status/ctm64o74lxdri26s/branch/master?svg=true)](https://ci.appveyor.com/project/uwolfer/gerrit-rest-java-client/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/uwolfer/gerrit-rest-java-client.svg)](https://coveralls.io/r/uwolfer/gerrit-rest-java-client)\n[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=com.urswolfer.gerrit.client.rest%3Agerrit-rest-java-client\u0026metric=alert_status)](https://sonarcloud.io/summary/new_code?id=com.urswolfer.gerrit.client.rest%3Agerrit-rest-java-client)\n[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=com.urswolfer.gerrit.client.rest%3Agerrit-rest-java-client\u0026metric=sqale_rating)](https://sonarcloud.io/summary/new_code?id=com.urswolfer.gerrit.client.rest%3Agerrit-rest-java-client)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.urswolfer.gerrit.client.rest/gerrit-rest-java-client/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.urswolfer.gerrit.client.rest/gerrit-rest-java-client)\n\nIntroduction\n-----------\n\nJava implementation of the [Gerrit Code Review Tool] REST API.\n\nOnly Gerrit 2.6 or newer is supported (missing / incomplete REST API in older versions).\n\nThis implementation is used for example as base for the [Gerrit IntelliJ Plugin].\n\nMany different authentication-methods are supported (HTTP basic, HTTP digest, LDAP with form,\nHTTP password from Gerrit setting, ...).\n\n[Gerrit Code Review Tool]: https://www.gerritcodereview.com/\n[Gerrit IntelliJ Plugin]: https://github.com/uwolfer/gerrit-intellij-plugin\n\n\nUsage\n-------\nThis library implements \u003ccode\u003e[com.google.gerrit.extensions.api.GerritApi]\u003c/code\u003e.\n\nYou just need a few lines to get it working:\n```java\nGerritRestApiFactory gerritRestApiFactory = new GerritRestApiFactory();\nGerritAuthData.Basic authData = new GerritAuthData.Basic(\"http://localhost:8080\");\n// or: authData = new GerritAuthData.Basic(\"https://example.com/gerrit\", \"user\", \"password\");\nGerritApi gerritApi = gerritRestApiFactory.create(authData);\nList\u003cChangeInfo\u003e changes = gerritApi.changes().query(\"status:merged\").withLimit(10).get();\n```\n\nIf you like to write a script instead of a full Java application, you might want to use [Groovy].\nThere is a [basic Groovy example] available.\n\n_Note:_ It is not guaranteed that all interfaces are implemented. If an implementation is missing, you get a\n\u003ccode\u003ecom.google.gerrit.extensions.restapi.NotImplementedException\u003c/code\u003e. Feel free to implement it and create a pull\nrequest at GitHub - it is quite easy! :)\n\n_Note:_ The source of \u003ccode\u003ecom.google.gerrit.extensions\u003c/code\u003e is included in this repository at the\nmoment because not all extensions to this API are merged into Gerrit repository yet.\n\n[com.google.gerrit.extensions.api.GerritApi]: https://gerrit.googlesource.com/gerrit/+/HEAD/gerrit-extension-api/src/main/java/com/google/gerrit/extensions/api/GerritApi.java\n[Groovy]: http://www.groovy-lang.org/\n[basic Groovy example]: https://github.com/uwolfer/gerrit-rest-java-client/blob/master/examples/Basic.groovy\n\nMaven Artifact\n--------------\nReleases are available with Maven:\n```xml\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.urswolfer.gerrit.client.rest\u003c/groupId\u003e\n    \u003cartifactId\u003egerrit-rest-java-client\u003c/artifactId\u003e\n    \u003cversion\u003e0.9.7\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nAndroid Support\n---------------\nApache HttpClient causes problems on Android platform. There is a workaround by using [HttpClient for Android].\nAndroid support builds are not officially released, but you should be able to create your own build by using the\n[httpclient-android branch]. You probably want to merge master branch into this branch before building it.\n\n[HttpClient for Android]: https://hc.apache.org/httpcomponents-client-4.3.x/android-port.html\n[httpclient-android branch]: https://github.com/uwolfer/gerrit-rest-java-client/tree/httpclient-android\n\nDependencies\n------------\nThis library depends on [Apache HttpClient], [Gson] and [Guava].\n\n[Apache HttpClient]: https://hc.apache.org/httpcomponents-client-ga/\n[Gson]: https://github.com/google/gson\n[Guava]: https://github.com/google/guava\n\nYour Support\n------------\nIf you like this library, you can support it:\n* Star it: [Star it at GitHub](https://github.com/uwolfer/gerrit-rest-java-client). GitHub account required.\n* Improve it: Report bugs or feature requests. Or even fix / implement them by yourself - everything is open source!\n* Donate: You can find donation-possibilities at the bottom of this file.\n\n\nDonations\n--------\nIf you like this work, you can support it with\n[this donation link](https://www.paypal.com/webscr?cmd=_s-xclick\u0026hosted_button_id=8F2GZVBCVEDUQ).\nIf you don't like Paypal (Paypal takes 2.9% plus $0.30 per transaction fee from your donation), please contact me.\nPlease only use the link from github.com/uwolfer/gerrit-intellij-plugin to verify that it is correct.\n\n\nCopyright and license\n--------------------\n\nCopyright 2013 - 2018 Urs Wolfer\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this work except in compliance with the License.\nYou may obtain a copy of the License in the LICENSE file, or at:\n\n  [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","funding_links":["https://www.paypal.com/webscr?cmd=_s-xclick\u0026hosted_button_id=8F2GZVBCVEDUQ"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwolfer%2Fgerrit-rest-java-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fuwolfer%2Fgerrit-rest-java-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fuwolfer%2Fgerrit-rest-java-client/lists"}