commit | 2b253600a7d3dbc71407dc636545ec011df10995 | [log] [tgz] |
---|---|---|
author | Antonio Barone <syntonyze@gmail.com> | Mon Oct 20 16:40:38 2025 +0200 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Oct 20 07:40:38 2025 -0700 |
tree | 4c45bfe9f8733052e5f05225d8ec67bc61c1ec52 | |
parent | a073bd95122ead0bb0174792ceaec135871ca3ce [diff] |
Update git submodules * Update plugins/codemirror-editor from branch 'master' to a6d0469b9cab54336c985ddc967cbca3407f2aeb - Merge branch 'stable-3.12' * stable-3.12: Build: Sort loads Resize CodeMirror dynamically Remove outline on textbox Display cursor position in the bottom Fix going to line Use Postgresql, PLSQL and Cassandra from sql package Allow jsx to be highlighted in .js Allow highlighting tsx files Create a gerrit theme for CodeMirror Revert "Use json from legacy-modes" Change-Id: I0572d8f8d1af969105ca719223528d3246983a24 - Build: Sort loads Change-Id: I2e83c3b761a8f50601a2abd11abb8c6d2f88bb11 - Merge changes Ia6823f9d,I549e570f,Ibcac9d5e,I75c48a1c into stable-3.12 * changes: Resize CodeMirror dynamically Remove outline on textbox Display cursor position in the bottom Fix going to line - Resize CodeMirror dynamically When you resize a window, CodeMirror will now resize dynamically without needing a page refresh. Video: https://imgur.com/a/VL9Zhax (first vid is before, second is after) Change-Id: Ia6823f9d7daef0cb6693a8768808e64b859d39b3 (cherry picked from commit f6f73e861f8175b43a5c562db2f953e2bb38a5aa) - Remove outline on textbox Screenshot: https://imgur.com/a/pw7BUcu Change-Id: I549e570f027bf50e4fc4d576bdcd57965d023828 (cherry picked from commit 05c98c5811edb76361c29e53f40641dc73cf4782) - Display cursor position in the bottom The line number the cursor is on and column number will be displayed. The column number is more important as it means users don't have to copy the line into a text editor to find the column number. We did this in GWTUI [1] but we never did this for the new UI. Screenshot: https://imgur.com/a/mkwOeAu [1] If9090a893631077349a6ccf4f065f580dc778b08 Change-Id: Ibcac9d5e4283c8c7bd642420627d44eaac4d4f44 (cherry picked from commit 47b6a5819969363a25914f60ffcbcec7abbb8232) - Fix going to line Change-Id: I75c48a1c8f1332525ca43c3cdeb07a8d0b303f21 (cherry picked from commit f9535d84a68cf0757e6df8d81e1490139e9d2105) - Use Postgresql, PLSQL and Cassandra from sql package Migrates from legacy to modern package. Change-Id: Idc40f5255427d4fe7cb70603fed18ffbafaafac8 (cherry picked from commit dfbd5c04821a982f9e4a06cc8cbd568fabf7a629) - Allow jsx to be highlighted in .js There's usage of jsx in .js out there. Change-Id: I0664b734ee058f7b73d37dcb151856aee1ead48a (cherry picked from commit 92b52c97c5fe67b07d00b27949ebd2253a85b48c) - Allow highlighting tsx files Change-Id: I9a4361933a72dd38409ba43f11221fa6c7e1f997 (cherry picked from commit 711fa96e8d9b3d6efb3a4cd366da671acf2161a9) - Create a gerrit theme for CodeMirror It highlights more. To name one it does extra with is propertyName. It also tries to align with what we do for highlight.js. Depends-On: Ibf3b98ff6a3f2edf093bf212b5f96bc4ef315547 Change-Id: Ie2873fece99f755805afa915fe1f052d531797ed (cherry picked from commit 331d1728d9a74fa9cdffbba3c85645a36419eff6) - Revert "Use json from legacy-modes" This reverts commit 1f3978dd6b038ca07f5514d23689ede3edc94403. The reason why under the moder lang-json that it didn't highlight as well, was because the default theme doesn't highlight everything. For example it doesn't highlight propertyName. We have to create our own theme that highlights it. Change-Id: I4899f5199484d22c317a2e238b132a307e01548b (cherry picked from commit 67b12072c8e05a921324c7cebf3b3cea68f70c9a)
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.