RETIRED, Gerrit as used by OpenStack
Go to file
Dmitrii Filippov 3d7ad5534b Add eslint rules for modules and fix imports
1. Create bazel rules\macro for eslint, use it everywhere instead of
   direct run eslint from npm. Cleanup all duplicated\unused eslint
   pieces.
   The macro can be reused to define rules for other folders and\or
   typescript.
2. Convert eslint configuration to .js. It improves flexibility and
   allows comments in config files.
3. Add eslint-plugin-import and configuration for it.

Change-Id: Ic599a4cd088842f195ecf22ca67e1835fcd9b559
2020-04-01 12:30:53 +02:00
.settings Merge branch 'stable-2.14' into stable-2.15 2018-05-16 08:15:29 +09:00
antlr3 Merge branch 'stable-2.16' into stable-3.0 2019-09-05 08:17:48 +09:00
contrib Merge branch 'stable-3.1' 2020-03-02 08:12:22 +09:00
Documentation Merge "Add topic to CherryPickInput" 2020-03-30 11:32:34 +00:00
e2e-tests e2e-tests: Enable postfix operators with compiler 2020-03-27 16:43:42 -04:00
java Merge "Add topic to CherryPickInput" 2020-03-30 11:32:34 +00:00
javatests/com/google/gerrit Fix flaky test in CreateMergePatchSet 2020-03-30 15:04:38 +02:00
lib Do not use jsonevent-layout for error logs in JSON format 2020-03-06 16:23:46 +01:00
modules Upgrade JGit to v5.7.0.202003090808-r 2020-03-10 18:49:31 +09:00
plugins Update git submodules 2020-03-28 02:41:45 +00:00
polygerrit-ui Add eslint rules for modules and fix imports 2020-04-01 12:30:53 +02:00
polymer-bridges@855f4781b7 Update polymer-bridges to latest master revision 2020-02-14 08:28:03 +09:00
prolog Extract prolog predicates from gerrit-server:server rule 2017-10-31 11:02:36 -04:00
prologtests Bazel: Pass current host java runtime to sh_test rule 2019-10-30 16:42:00 +09:00
proto REST endpoints for managing the attention set 2020-03-19 19:03:16 +01:00
resources Remove ShadyDom/ShadyCSS 2020-02-25 13:20:53 +00:00
tools Add eslint rules for modules and fix imports 2020-04-01 12:30:53 +02:00
webapp Remove ReviewDb DataSource from WebAppInitializer 2018-12-20 07:00:34 -08:00
.bazelignore Add node_modules to .bazelignore 2019-11-22 14:38:04 +01:00
.bazelproject Use node modules for polygerrit-ui release build 2020-02-12 15:42:23 +00:00
.bazelrc Bazel: Migrate workspace status script to python 2019-11-03 08:45:12 +00:00
.bazelversion Bump Bazel version to 2.2.0 2020-03-05 20:05:55 +09:00
.editorconfig Added continuation indent to editorconfig 2016-04-26 14:42:58 +02:00
.git-blame-ignore-revs Update git hyper-blame configuration 2017-02-17 16:35:50 +09:00
.gitignore Merge branch 'stable-2.16' into stable-3.0 2019-10-17 00:47:50 +09:00
.gitmodules Add submodule to support legacy HTML imports 2020-02-12 15:29:20 +00:00
.gitreview Update .gitreview file 2020-02-27 15:17:32 -08:00
.mailmap Merge branch 'stable-3.0' into stable-3.1 2020-03-01 17:21:02 +09:00
.pydevproject Update PyDev project to use Python 2.7 2014-10-02 15:16:44 +09:00
.zuul.yaml Add Zuul config 2020-03-19 13:28:13 +09:00
BUILD Bazel: Fix issues flagged by buildifier 2020-01-09 08:01:28 +01:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
Jenkinsfile Merge branch 'stable-2.16' into stable-3.0 2020-01-29 08:19:37 +09:00
package.json Add eslint rules for modules and fix imports 2020-04-01 12:30:53 +02:00
README.md Merge branch 'stable-2.15' into stable-2.16 2019-06-28 16:39:36 +09:00
SUBMITTING_PATCHES Add step to SUBMITTING_PATCHES to ensure Change-Id 2018-01-11 20:35:37 +00:00
version.bzl Set version to 3.1.5-SNAPSHOT 2020-03-27 15:53:23 +09:00
WORKSPACE Upgrade rules_nodejs to the version 1.5.0 2020-03-31 11:20:29 +00:00
yarn.lock Add eslint rules for modules and fix imports 2020-04-01 12:30:53 +02:00

Gerrit Code Review

Gerrit is a code review and project management tool for Git based projects.

Build Status

Objective

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.

Documentation

For information about how to install and use Gerrit, refer to the documentation.

Source

Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.

Reporting bugs

Please report bugs on the issue tracker.

Contribute

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.

Getting in contact

The Developer Mailing list is repo-discuss on Google Groups.

License

Gerrit is provided under the Apache License 2.0.

Build

Install Bazel and run the following:

    git clone --recurse-submodules https://gerrit.googlesource.com/gerrit
    cd gerrit && bazel build release

Install binary packages (Deb/Rpm)

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>]

Use pre-built Gerrit images on Docker

Docker images of Gerrit are available on DockerHub

To run a CentOS 7 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]

To run a Ubuntu 15.04 based Gerrit image:

    docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]

NOTE: release is optional. Last released package of the version is installed if the release number is omitted.