Refactor: introduce Change class

This prepares a following commit that fixes the merge of non mergeable
crossrepos when processing RefUpdatedEvent.

Change-Id: Id608b41f8df9c751d12e04f53d32e4970c231a65
3 files changed
tree: c4dc0232b7b69adb7b9db2e769f88f6f65e96c5c
  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.