commit | 86b969ccee5d027489ecd28e6a79818b0c171bea | [log] [tgz] |
---|---|---|
author | Gerrit Code Review <no-reply@gerritcodereview.com> | Thu Aug 19 14:33:41 2021 +0000 |
committer | Christophe Poucet <poucet@google.com> | Fri Aug 20 08:04:34 2021 +0000 |
tree | fd56419869a601f4dfbd4d4d5d9179eb5a69c0c1 | |
parent | c5c2df5267e1456b3d3ba081467ae62ff3026217 [diff] |
Add the override keyword to class members in TypeScript files TypeScript’s override keyword (added in 4.3) works similarly to @Override in Java. It makes the intention clear and ensures there is actually a member in the base class with the same name. This helps with things like: - Typos in the overriding member name - Remember to rename members in sub classes when renaming an overridden member in a base class class Parent { foo() {} } class Child extends Parent { override bar() {} // ~~~ This member cannot have an 'override' modifier because it is not declared in the base class 'Parent'. } This change will not cause a runtime change: the override keyword is not present in the resulting JavaScript. PiperOrigin-RevId: 391755198 Change-Id: Ic23d53da23e420430f2f570919293f67fd5e7bf5
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.