commit | 4507ea689f625d8a06190c9ef271e6b6a8226216 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Fri Jun 30 14:07:33 2017 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Jul 05 01:01:22 2017 +0000 |
tree | dc06f9b2a17112523682a9fe9eef7b8df476cdc1 | |
parent | 4e0dea51e15180de917f70018144b7eb3605eb56 [diff] |
Add script to generate text for release announcement email Generates the text to paste into the email for announcing a new release of Gerrit. The text is generated based on a template that is filled with values either passed to the script or calculated at runtime. The script outputs a plain text file with the announcement text: release-announcement-gerrit-X.Y.txt and, if GPG is available, the announcement text wrapped with a signature: release-announcement-gerrit-X.Y.txt.asc Usage: ./tools/release-announcement.py -v 2.14.2 -p 2.14.1 -s "This release fixes several bugs since 2.14.1" Parameters: --version (-v): The version of Gerrit being released. --previous (-p): The previous version of Gerrit. Optional. If specified, the generated text includes a link to the gitiles log of commits between the previous and new versions. --summary (-s): Short summary of the release. Optional. When specified, the summary is inserted in the introductory sentence of the generated text. Prerequisites: - The Jinja2 python library [1] must be installed. - For GPG signing to work, the python-gnupg library [2] must be installed, and the ~/.gnupg folder must exist. - The war file must have been installed to the local Maven repository using the `./tools/mvn/api.sh war_install` command. [1] http://jinja.pocoo.org/ [2] http://pythonhosted.org/gnupg/ Change-Id: Ib0321545c8e19ced2b8f93987bf73c3dbefde0fb
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 --recursive 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.