gerritWeb-based code review and repository management for Git
3.15.0_1develΣ=0 Package not present on quarterly.This port was created during this quarter. It will be in the next quarterly branch but not the current one.
Gerrit is a free, web-based code collaboration tool. Software developers
in a team can review each other's modifications on their source code
using a web browser and approve or reject those changes. It integrates
closely with Git, a distributed version control system.
Reason:
Gerrit 3.15 requires Java 25 and needs a schema migration and a
changes index rebuild. If gerrit_java_home is set in rc.conf, point
it at a Java 25 runtime, then run:
# service gerrit stop
# su -m gerrit -c "/usr/local/openjdk25/bin/java -jar /usr/local/share/gerrit/gerrit.war init --batch -d /var/db/gerrit --no-auto-start"
# su -m gerrit -c "/usr/local/openjdk25/bin/java -jar /usr/local/share/gerrit/gerrit.war reindex --index changes -d /var/db/gerrit"
# service gerrit start
The rc.d script now keeps its pidfile in /var/run/gerrit. A stale
/var/db/gerrit/logs/gerrit.pid from an earlier version can be removed.
devel/gerrit: update to 3.15.0, fix rc.d and setup
Release notes: https://www.gerritcodereview.com/3.15.html
Gerrit 3.15 requires Java 25 and a schema migration plus changes
index rebuild; see UPDATING and pkg-message for the upgrade steps.
rc.d script:
- Keep the pidfile in /var/run/gerrit, created on start and owned
by the service user, instead of the site's logs directory.
- Send daemon output to gerrit_log_file, which was created but
never used.
Setup:
- Install /var/db/gerrit owned by gerrit:gerrit so the site can be
initialized as the unprivileged user.
- Tell users to run init as the gerrit user with --no-auto-start,
so init does not leave a Gerrit instance running outside of rc(8).
devel/gerrit: update to 3.14.5, fix pkg-message
The top-level pkg-message shadowed files/pkg-message.in, so users saw
literal %%DATADIR%% placeholders. Remove it and add the template to
SUB_FILES. Also substitute PORTVERSION in the documentation link.
Release notes: https://www.gerritcodereview.com/3.14.html
devel/gerrit: add new port for Gerrit Code Review 3.14.2
Gerrit is a free, web-based code collaboration tool for Git-based
projects. It provides code review, repository management, and an
integrated SSH server for git operations.
This port installs the pre-built WAR file with an RC script for
running Gerrit as a daemon.
WWW: https://www.gerritcodereview.com/