commit | 67c8f1454c4b0a15015e0edfa53df6eddc2a809a | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Sun Oct 14 14:01:29 2018 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Mon Oct 28 16:39:50 2019 +0900 |
tree | 03bc0f9a0f899069f8ffed157c480c1a9ea28ec7 | |
parent | 839977d08587d762290d98dafe78e72fffeb2f70 [diff] |
PutConfig: Allow to add or update commentlinks Add a new CommentLinkInput class in the extension API, and include it in the ConfigInput as a map of commentlink names to CommentLinkInput. Each entry in the map is added or updated in the project's config. If the config already contains a commentlink with the same name, it is updated with the values supplied, otherwise it is added. If the map contains a null value, that entry is removed. Since commentlinks at project level may not supply the 'html' value, this is not included in the input. Now that we are able to set commentlinks via the API, also expand the tests to cover the behavior of project specific commentlinks together with globally configured commentlinks, and inheritance of commentlinks from the parent project. Change-Id: Ief84c2f3bb85c6fcb28ccb1c09c537f6ab75395a
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 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.