Fix submission of changes using the botUser identity

Since Change-Id: I39fe14d7e the submission isn't done anymore
using the botUser, which is exactly against the main purpose of this
plugin.

Restore the proper identity of the change submitter as botUser and add
validation tests to make sure that this fundamental feature does not
break anymore by accident and unnoticed.

Bug: Issue 10173
Change-Id: I064468385548c1696898158bd8153165684d5be2
2 files changed
tree: decfa4727d75ec15756e0947f4b8370d5bea2ef9
  1. .bazelignore
  2. .bazelrc
  3. .gitignore
  4. BUILD
  5. LICENSE
  6. README.md
  7. WORKSPACE
  8. bazlets.bzl
  9. src/
  10. test.rb
  11. tests.txt
  12. tools/
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>"