42ebc67bb7
* Update plugins/delete-project from branch 'master' to 39dd25c822be14a69282d38e5205f0ca4f2902c1 - Merge branch 'stable-3.1' * stable-3.1: Fix so that GWTUI js file is not executed under PolyGerrit DeleteProjectIT: Check that project gets unwatched after deletion DeleteProjectIT: Assert that after forced delete reindexing happened DeleteProjectIT: Add ssh delete watched project test similar to http Fix reindex after project deletion Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bump Bazel version to 1.1.0 build.md: Correct in-tree test command Replace bazel-genfiles with bazel-bin in documentation Change-Id: I68db79e2797b254c7fd79d8587b51e066f81b7f4 - Merge branch 'stable-3.0' into stable-3.1 * stable-3.0: Fix so that GWTUI js file is not executed under PolyGerrit DeleteProjectIT: Check that project gets unwatched after deletion DeleteProjectIT: Assert that after forced delete reindexing happened DeleteProjectIT: Add ssh delete watched project test similar to http Fix reindex after project deletion Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bump Bazel version to 1.1.0 build.md: Correct in-tree test command Replace bazel-genfiles with bazel-bin in documentation Adjust DeleteProjectIT and DatabaseDeleteHandler to API changes. Change-Id: I7dd082b728fa7a98b225c10ef6d2ecf11e7daa09 - Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: Fix so that GWTUI js file is not executed under PolyGerrit Change-Id: I9b5e59bb31cc7de07cf863af7baebe556e8f494f - Merge "Fix so that GWTUI js file is not executed under PolyGerrit" into stable-2.16 - Merge branch 'stable-2.16' into stable-3.0 * stable-2.16: DeleteProjectIT: Check that project gets unwatched after deletion DeleteProjectIT: Assert that after forced delete reindexing happened DeleteProjectIT: Add ssh delete watched project test similar to http Fix reindex after project deletion Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Upgrade bazlets to latest stable-2.16 Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bump Bazel version to 1.1.0 build.md: Correct in-tree test command Replace bazel-genfiles with bazel-bin in documentation Change-Id: Ic060483ccb190c7f31c3bb13eeb15d230c3378b1 - Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: DeleteProjectIT: Check that project gets unwatched after deletion DeleteProjectIT: Assert that after forced delete reindexing happened DeleteProjectIT: Add ssh delete watched project test similar to http Fix reindex after project deletion Change-Id: I29fca09892a5a6878547c5d0bbd2966310d986a3 - Merge changes Iaf1826ab,I02632cb6,I5ca2ec2b,I6578e664 into stable-2.15 * changes: DeleteProjectIT: Check that project gets unwatched after deletion DeleteProjectIT: Assert that after forced delete reindexing happened DeleteProjectIT: Add ssh delete watched project test similar to http Fix reindex after project deletion - Fix so that GWTUI js file is not executed under PolyGerrit When using PolyGerrit, it appears that it loads GWTUI specific delete-project js files. It dosen't appear to inject "window.Polymer" into it thus will always equal undefined or false. To fix this we look for the GERRIT_UI cookie which if the user is using GWTUI, will have this set. Change-Id: I2512fe18108799f3a73b00ada8a756eb6e397879 - DeleteProjectIT: Check that project gets unwatched after deletion Change-Id: Iaf1826ab98280aa042304b30d873575c71bdac60 - DeleteProjectIT: Assert that after forced delete reindexing happened Unit tests didn't check whether reindexing happened after deletion or not. In NoteDb case even after git repo got deleted changes were still present in the index, so querying on a deleted project name returned change information. Bug: Issue 11650 Change-Id: I02632cb6195e262478850e5ec589d01aab4a9ef3 - DeleteProjectIT: Add ssh delete watched project test similar to http Change-Id: I5ca2ec2b7df92a8fc24135c4d94efe00ab4d761e - Fix reindex after project deletion Make plugin to properly support NoteDb. DatabaseDeleteHandler: - Check if ReviewDb is enabled from inside DatabaseHandler. - Add functionality for deleteChanges to check whether ReviewDb is enabled, since NoteDb behaves differently compared to ReviewDb. Bug: Issue 11650 Change-Id: I6578e6649e9fe0d8c139243cdade8c86e1b6c0ed - Upgrade bazlets to latest stable-2.16 to build with 2.16.13 API Change-Id: Ib378315a93969b1de605e2d9cc8b2758f37920e4 - Upgrade bazlets to latest stable-2.16 download_file.py: Fix root workspace directory detection Change-Id: I26017fc180b761feba2b5f01d4eb7a0e7c7b690c - Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Change-Id: Ib8b9c5efc04f2b2f983c091bf96c4eafeca510ec - Upgrade bazlets to latest stable-2.15 to build with 2.15.18 API Change-Id: Icf85a0b3340f2bfe58b3b21ec57a2640cf8a1ba4 - Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Upgrade bazlets to latest stable-2.14 Bazel: Migrate workspace status script to python Change-Id: I9ff2983f304b3cfa04ef88401f09d33c5746595f - Upgrade bazlets to latest stable-2.15 download_file.py: Fix root workspace directory detection Change-Id: I1c5eb23dfe5978270c10ef6d2baaed7ecd0a04fc - Upgrade bazlets to latest stable-2.14 download_file.py: Fix root workspace directory detection Change-Id: Id2da57a98ab0344dc9942d9ff0338309494b0f48 - Bazel: Migrate workspace status script to python Migrate tools/workspace-status.sh script to Python to ensure better compatibility with other operating systems, as suggested in: [1]. [1] https://github.com/bazelbuild/bazel/issues/5958 Change-Id: I20ec325d610353309a40fc85132382004bc61bd0 - Upgrade bazlets to latest stable-2.16 Fix genrule2 to clean up temporary folder content Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2 - Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Upgrade bazlets to latest stable-2.15 Upgrade bazlets to latest stable-2.14 Bump Bazel version to 1.1.0 Change-Id: Ie6b12736c2b07752cf91908764bf828a83694c6c - Upgrade bazlets to latest stable-2.15 Fix genrule2 to clean up temporary folder content Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2 - Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Upgrade bazlets to latest stable-2.14 Change-Id: I53bd20467b8c6268a102acc75badcaf7290ce720 - Upgrade bazlets to latest stable-2.14 Fix genrule2 to clean up temporary folder content Change-Id: I1d186a2082b364f7acc2d99c20ec0211efebbfd2 - Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Bump Bazel version to 1.1.0 Change-Id: Ia7d244ec3ec3ae0078cb8b766bef95b3c9be922a - Bump Bazel version to 1.1.0 Change-Id: I4e4c2a3c6f1b73e913fd6eda7e53f30fd8a20985 - Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: build.md: Correct in-tree test command Change-Id: Iea24800c7100e6c0ab405158a3573eceb0f3957e - build.md: Correct in-tree test command Change-Id: Iff17be4a87b058eeabc30faf774c04e26f9d51ea - Merge branch 'stable-2.15' into stable-2.16 * stable-2.15: Replace bazel-genfiles with bazel-bin in documentation Change-Id: I1496826af979861ef9391d113430379535a152e4 - Merge branch 'stable-2.14' into stable-2.15 * stable-2.14: Replace bazel-genfiles with bazel-bin in documentation Change-Id: I70ea61357ec662fa2e18325a437185d27bcd4f3d - Replace bazel-genfiles with bazel-bin in documentation Bug: Issue 11757 Change-Id: I0c901f84e0c4c07a4ae913eab4f71e1f6167dab5 |
||
---|---|---|
.settings | ||
antlr3 | ||
contrib | ||
Documentation | ||
e2e-tests/load-tests | ||
java | ||
javatests/com/google/gerrit | ||
lib | ||
modules | ||
plugins | ||
polygerrit-ui | ||
prolog | ||
prologtests | ||
proto | ||
resources | ||
tools | ||
webapp | ||
.bazelignore | ||
.bazelproject | ||
.bazelrc | ||
.bazelversion | ||
.editorconfig | ||
.git-blame-ignore-revs | ||
.gitignore | ||
.gitmodules | ||
.gitreview | ||
.mailmap | ||
.pydevproject | ||
BUILD | ||
COPYING | ||
INSTALL | ||
Jenkinsfile | ||
package.json | ||
README.md | ||
SUBMITTING_PATCHES | ||
version.bzl | ||
WORKSPACE |
Gerrit Code Review
Gerrit is a code review and project management tool for Git based projects.
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 7 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]
To run a Ubuntu 15.04 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.