commit | a46c81ef364399d300e30bf4ba0db0d1b85b43eb | [log] [tgz] |
---|---|---|
author | Sven Selberg <svense@axis.com> | Thu Sep 10 16:19:17 2020 +0200 |
committer | Sven Selberg <svense@axis.com> | Wed Sep 16 17:37:33 2020 +0200 |
tree | 8f278a58ea9221e118acd3fd6819e753f3b85533 | |
parent | c6be2749c95bbe72fe41ea43c3254b17d7f26b5a [diff] |
Make log timestamps ISO8601 and RFC3339 compliant ISO8601 compliant timestamps were added with: 31037d3 - "Use ISO 8601 timestamp format for error/httpd/sshd logs" Some logging frameworks (like ES beats) does not support ISO8601 but does support RFC3339. By complying to both standards we make the life of Gerrit admins much easier. The current timeformat for timestamps in json-logs is: "yyyy-MM-dd'T'HH:mm:ss.SSSZ" This results in a timestamp that is ISO8601 compliant: 2020-09-10T16:21:13.571+0200 However RFC3339 does only allows timezones in the format: ("+" / "-") time-hour ":" time-minute [1] By changing the zone part of the timeformat: "yyyy-MM-dd'T'HH:mm:ss.SSSXXX" We will get a timestamp like: 2020-09-10T16:21:13.571+02:00 This complies with both RFC3339 and ISO8601 since ISO8601 allows: ("+" / "-") time-hour [[":"] time-minute] [1] https://tools.ietf.org/html/rfc3339 Change-Id: I5b56c5871215f8753e8b25e7664ed078461d5a00
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.