MCPcopy Index your code
hub / github.com/GerritCodeReview/gerrit

github.com/GerritCodeReview/gerrit @v3.14.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v3.14.1 ↗ · + Follow
46,121 symbols 304,977 edges 4,991 files 6,019 documented · 13%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status Maven Central

Objective

Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.

Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.

Documentation

For information about how to install and use Gerrit, refer to the documentation.

Source

Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.

Reporting bugs

Please report bugs on the issue tracker.

Contribute

Gerrit is the work of hundreds of contributors. We appreciate your help!

Please read the contribution guidelines.

Note that we do not accept Pull Requests via the Github mirror.

Getting in contact

The Developer Mailing list is repo-discuss on Google Groups.

License

Gerrit is provided under the Apache License 2.0.

Build

Install Bazel and run the following:

    git clone --recurse-submodules https://gerrit.googlesource.com/gerrit
    cd gerrit && bazel build release

Install binary packages (Deb/Rpm)

The instruction how to configure GerritForge/BinTray repositories is here

On Debian/Ubuntu run:

    apt-get update && apt-get install gerrit=<version>-<release>

NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.

On CentOS/RedHat run:

    yum clean all && yum install gerrit-<version>[-<release>]

On Fedora run:

    dnf clean all && dnf install gerrit-<version>[-<release>]

Use pre-built Gerrit images on Docker

Docker images of Gerrit are available on DockerHub

To run a CentOS 8 based Gerrit image:

    docker run -p 8080:8080 gerritcodereview/gerrit[:version]-centos8

To run a Ubuntu 20.04 based Gerrit image:

    docker run -p 8080:8080 gerritcodereview/gerrit[:version]-ubuntu20

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.

Extension points exported contracts — how you extend this code

ResolvedDependency (Interface)
* A resolved dependency is valid within the connected lifetime of a component, * namely between connectedCallback and d [239 …
polygerrit-ui/app/models/dependency.ts
CommandRunnable (Interface)
Runnable function which can throw an exception. [138 implementers]
java/com/google/gerrit/sshd/BaseCommand.java
BeforeRestCall (Interface)
(no doc) [138 implementers]
javatests/com/google/gerrit/acceptance/rest/util/RestApiCallHelper.java
JSONRedirects (Interface)
(no doc)
tools/node_tools/polygerrit_app_preprocessor/redirects.ts
ChangeActionDialog (Interface)
(no doc) [8 implementers]
polygerrit-ui/app/types/common.ts
InitStep (Interface)
A single step in the site initialization process. [18 implementers]
java/com/google/gerrit/pgm/init/api/InitStep.java
Redirect (Interface)
(no doc)
tools/node_tools/polygerrit_app_preprocessor/redirects.ts
Finalizable (Interface)
(no doc) [33 implementers]
polygerrit-ui/app/types/types.ts

Core symbols most depended-on inside this repo

get
called by 9147
java/com/google/gerrit/index/Index.java
isEqualTo
called by 6920
java/com/google/gerrit/server/git/WorkQueue.java
id
called by 6516
java/com/google/gerrit/extensions/api/groups/Groups.java
add
called by 4147
polygerrit-ui/app/api/change-actions.ts
changes
called by 3943
java/com/google/gerrit/extensions/api/GerritApi.java
create
called by 3614
java/com/google/gerrit/util/cli/CmdLineParser.java
of
called by 3512
java/com/google/gerrit/index/RefState.java
name
called by 2252
java/com/google/gerrit/entities/Project.java

Shape

Method 37,349
Class 5,447
Interface 1,533
Function 1,403
Enum 388
Route 1

Languages

Java81%
TypeScript18%
Python1%
Go1%

Modules by API surface

javatests/com/google/gerrit/acceptance/api/change/ChangeIT.java257 symbols
polygerrit-ui/app/services/gr-rest-api/gr-rest-api-impl.ts232 symbols
javatests/com/google/gerrit/server/query/change/AbstractQueryChangesTest.java227 symbols
javatests/com/google/gerrit/acceptance/api/accounts/AccountIT.java211 symbols
javatests/com/google/gerrit/acceptance/server/mail/ChangeNotificationsIT.java207 symbols
polygerrit-ui/app/services/gr-rest-api/gr-rest-api.ts184 symbols
polygerrit-ui/app/test/mocks/gr-rest-api_mock.ts182 symbols
javatests/com/google/gerrit/acceptance/git/AbstractPushForReview.java178 symbols
javatests/com/google/gerrit/acceptance/api/revision/RevisionDiffIT.java148 symbols
javatests/com/google/gerrit/acceptance/rest/change/CreateChangeIT.java142 symbols
java/com/google/gerrit/acceptance/AbstractDaemonTest.java140 symbols
java/com/google/gerrit/server/query/change/ChangeData.java138 symbols

For agents

$ claude mcp add gerrit \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact