AtomicityHelper: Remove usage of deprecated SubmitInput.waitForMerge

SubmitInput.waitForMerge is deprecated since the merge queue was
removed in I089a5cf49 which was included in Gerrit 2.12.

Remove usage of it, and simplify the call to Submit.apply() by
inlining the input and resource.

Change-Id: I3b55501b764bac24a1aad5ce8ea0c5b87e3d71ad
1 file changed
tree: 121310d404057cab7c1f77659b7fa32d68af14e9
  1. src/
  2. tools/
  3. .bazelrc
  4. .gitignore
  5. bazlets.bzl
  6. BUILD
  7. LICENSE
  8. README.md
  9. test.rb
  10. tests.txt
  11. 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>"