Adapt to recent change in plugin API

In Ifc83162780 ChangeNotes.Factory.createChecked() with only Change.Id
was removed to make change index lookup more explicit. Adapt the code
correspondingly.

Change-Id: Ic5350b0c8893dce1c6821ed729a0276c85712744
1 file changed
tree: 29c123762a6070c78dac70098a3a415bc6e9d193
  1. src/
  2. tools/
  3. .bazelignore
  4. .bazelrc
  5. .gitignore
  6. bazlets.bzl
  7. BUILD
  8. LICENSE
  9. README.md
  10. test.rb
  11. tests.txt
  12. WORKSPACE
README.md

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