commit | 976e39c2dc267b652885bace57546104cfc9a806 | [log] [tgz] |
---|---|---|
author | Edwin Kempin <ekempin@google.com> | Tue Feb 07 16:03:55 2023 +0100 |
committer | Edwin Kempin <ekempin@google.com> | Tue Feb 07 16:12:30 2023 +0100 |
tree | c610da4aeb34f809149f0dee03ebadf6fe10ec2a | |
parent | cb15b829ee1f022675fda1715ef76ea14a620812 [diff] |
AbstractQueryChangesTest: Drop byOwnerInvalidQuery test that made no sense This test queried by 'owner: "<nameEmail>"\' which is translated to querying by owner=<nameEmail> and defaultField=\. So if anything is invalid with this query it's not the owner part of the query, as the test name would suggest, but the default field part of the query. In addition, searching by defaultField=\ is only invalid for Lucene, but not for other indexes. That's why byOwnerInvalidQuery expected an empty result rather than an exception as the test name would suggest. Just drop this test to avoid further confusion, but keep a test in LuceneQueryChangesTest that verifies that a query by defaultField=\ results in a proper error message if Lucene is used. Release-Notes: skip Signed-off-by: Edwin Kempin <ekempin@google.com> Change-Id: Icb710990898f3f016bbcc5f66ab373810eaca77d
Gerrit is a code review and project management tool for Git based projects.
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.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
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.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Bazel and run the following:
git clone --recurse-submodules https://gerrit.googlesource.com/gerrit cd gerrit && bazel build release
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>]
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.