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

Clone this repo:
  1. 526ca75 Build with 3.1.0-SNAPSHOT API by David Pursehouse · 4 months ago master
  2. 212aca9 AutomergeConfigTest: Remove redundant calls to fail() by David Pursehouse · 4 months ago stable-3.0
  3. f3654ee AtomicityHelper: Remove unused import by David Pursehouse · 4 months ago
  4. 631c91b Build with 3.0.0 API by James Hartig · 4 months ago
  5. 8faa0af Remove all references to ReviewDb on master by Luca Milanesio · 6 months ago

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