commit | d7c89a8dbce2400107624a43298b93090cc74e8f | [log] [tgz] |
---|---|---|
author | Patrick Hiesel <hiesel@google.com> | Mon Oct 15 13:23:47 2018 +0200 |
committer | Patrick Hiesel <hiesel@google.com> | Tue Oct 16 13:32:20 2018 +0200 |
tree | f5f3c4d387f52874b465971a7baac60ee859a9aa | |
parent | 4cec171465ef27fc97af3b46ea2461fcc9a3d7a5 [diff] |
Make TestSubmitRule compliant with docs The docs of TestSubmitRule say: "Tests the submit_rule Prolog rule in the project, or the one given.". However, we were calling the SubmitRuleEvaluator which did not adhere to this specification. Since this endpoint is only about Prolog rules, the desired behavior is: Use the provided rule, if present. Use rules.pl otherwise. Use the default rules (previously in Prolog, now in Java) as fallback. This commits changes the behavior to adhere to this specification. The previously added tests are adapted to assert the correct behavior. Change-Id: I4dab0a6ce8d2300633471e8403c33e1e24d3c0ba
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 IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
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 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.