commit | d49320978bfc9691c54d7c635d964039b627f19c | [log] [tgz] |
---|---|---|
author | Adithya Chakilam <achakila@codeaurora.org> | Tue Dec 21 08:13:13 2021 -0800 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 21 16:13:13 2021 +0000 |
tree | 81c7a30e92ef4f9d2ec6e4170c06ad39c976d51b | |
parent | 1da41d626487437cb442889c1c281d13cb4f0dd0 [diff] |
Update git submodules * Update plugins/gitiles from branch 'master' to fa993c05a1861c766c79cc304cc2ce4e9ae2905a - Merge branch 'stable-3.4' into 'master' * stable-3.4: fix: cannot build 'gerrit-3.2' on MacOS Load fonts directly from Gerrit instead of 3rd party domains Change-Id: I44e5fab908d4d338727097503cd64378c6b607c8 - Merge branch 'stable-3.3' into stable-3.4 * stable-3.3: fix: cannot build 'gerrit-3.2' on MacOS Load fonts directly from Gerrit instead of 3rd party domains Change-Id: I9d299ee3176544418662d959072ea47143be60b9 - Merge branch 'stable-3.2' into stable-3.3 * stable-3.2: fix: cannot build 'gerrit-3.2' on MacOS Load fonts directly from Gerrit instead of 3rd party domains Change-Id: I1bb1c0a342dc91961ac54aa340ccfb09db4ed7f6 - fix: cannot build 'gerrit-3.2' on MacOS When `bazel build release` is called the following issue is being thrown: ERROR: /Users/jacek.centkowski/workspace/open/open-source/gerrit/plugins/gitiles/BUILD:23:9: Executing genrule //plugins/gitiles:gitiles-servlet-resources failed: (Exit 1): bash failed: error executing command /bin/bash -c ... (remaining 1 argument(s) skipped) Use --sandbox_debug to see verbose messages from the sandbox sed: -I or -i may not be used with stdin Target //plugins/gitiles:gitiles failed to build It seems that 'Load fonts directly from Gerrit instead of 3rd party domains' introduced the `sed` transformation that is not supported under MacOS. As suggested in [1] the most portable way is to handle the backup file in the command line (at least it works on MacOS ;)). [1] https://stackoverflow.com/a/21243111 Bug: Issue 15307 Change-Id: I3c40bc42d0a0d1a25aacd1cd2687af03970f88b4 - Merge "Load fonts directly from Gerrit instead of 3rd party domains" into stable-3.2 - Merge branch 'stable-3.4-2021-07' into stable-3.4 * stable-3.4-2021-07: Hide repository name and description when user has no access Change-Id: Ic9b8a0e0f8068892a553b3a6b57ea03c6e1c5e8b - Merge branch 'stable-3.3-2021-07' into stable-3.3 * stable-3.3-2021-07: Hide repository name and description when user has no access Change-Id: Ife6cfeeac037a11b38c6152c47d719bef47fd8f1 - Merge branch 'stable-3.2-2021-07' into stable-3.2 * stable-3.2-2021-07: Hide repository name and description when user has no access Change-Id: I1ebc91324242ca960c065360ea62fce6d725254b - Load fonts directly from Gerrit instead of 3rd party domains In environments without public Internet access or where tight control of loaded resources is necessary, loading fonts from 3rd party domains might be restricted. Hence, we switch to the fonts directly supplied by Gerrit. gitiles loads only the fonts 'Open Sans' and 'Source Code Pro'. Gerrit provides 'Open Sans' directly and offers 'Roboto Mono' as monospace alternative to 'Source Code Pro'. Change-Id: I4f4a0b7dd575cbc27641063e05d13b8a43a51d8b
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.