Adapt to 2.15 API

The 2.15 API requires a couple of changes:

- Support for draft changes was removed
- SubmitRulEvaluator.Factory#create now requires a CurrentUser

Change-Id: Iccf609f342bd65893ccea66cc0ea34b28ea42609
3 files changed
tree: e68a7df45ed161bbdf050be99ff91435d500c09c
  1. src/
  2. .gitignore
  3. BUILD
  6. test.rb
  7. tests.txt


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.


[commentlink "change"]
        match = "#/c/(\\d+)"
        html = "<a href=\"/#/c/$1/\">$1</a>"