Adapt code and tests to latest Gerrit master

Adapt to the different return type of GetRelated API and
leverage the new ProjectOperations for configuring the project
ACLs in AutomaticMergerTest.

Change-Id: I2ee7a5a13a78d1c80ba46acd95d7bab4b8b75c77
2 files changed
tree: d8b3b50130e75e608e0d41f5774910dc1c3ec2a6
  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>"