A plugin that takes care of automatically submitting changes when all approvals and preconditions are satisfied.

Clone this repo:
  1. 3f25ccf Adapt to API changes in Gerrit 3.7 introduced in I3fccb05d21 by Matthias Sohn · 1 year, 10 months ago master
  2. 3d616d3 Merge branch 'stable-3.3' by Luca Milanesio · 3 years, 11 months ago stable-3.6
  3. 2d16efd Adapt to recent change in plugin API by David Ostrovsky · 3 years, 11 months ago stable-3.3 v3.3.1
  4. 340b3e2 Move Permission and SubmitRecord to entities by Luca Milanesio · 4 years, 2 months ago v3.3.0
  5. 6cca351 Adapt to Gerrit master by Réda Housni Alaoui · 4 years, 8 months ago stable-3.2

Autosubmitter

Build Status

A gerrit plugin that takes care of automatically merging reviews when all approvals are present.

Also, it introduces the concept of cross-repository reviews. Cross repository reviews are reviews that share a common topic, and are all in different gerrit repositories. They will be merged at the same time, when all approvals for all reviews are present, and all reviews are mergeable.

Requires Gerrit 2.14 or later.

Configuration

[automerge]
        botEmail=admin@example.com
[commentlink "change"]
        match = "#/c/(\\d+)"
        html = "<a href=\"/#/c/$1/\">$1</a>"