1.0.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAABAgAGBQJV5FfEAAoJEEv142X0f+J4yQ4H/i7Bv8Vi7qeuPiHeGlmwhITj
v2laa4ZBwnq7FYGurYfQxP/vBpzU4udZ+0AqcetDWc9/I+z7WnvUf+/lBvNuSIGO
b5pJXPccWTRMJlqJPXe6dMXvUR6x3e6i/LLv5tA9FuHj51fFA1vrF9vvfC45xoli
L8n5nPLy4YxSvyZMqSGYwYgSPfnLgIEStuZDqR53ukcXTHY11pSi026TYXhBNXU8
UBrXu3kO45eKeZBPweJ8wdY2IdrrMY/SBf2s6oRjXcu9t8HqgrHdOrD45h/mBoaz
mZcw4oRY8wq7qSQGK5Ygw7Y8XfXs5pH9Lzw9X9mf7JrqJtVqYxXKvnkxlwl+g88=
=NHlM
-----END PGP SIGNATURE-----
Fix NullPointerException when evaluating draft reviews

This change in Gerrit introduced a bug for draft reviews:
https://gerrit-review.googlesource.com/#/c/67762/3/gerrit-server/src/main/java/com/google/gerrit/server/project/SubmitRuleEvaluator.java
An NPE is thrown when the patchSet is not set before calling
SubmitRuleEvaluator#evaluate().  This fix is a workaround until Gerrit
is fixed.

Change-Id: If531822421d501bd7970e03754d5ae5d8f3654ae
1 file changed
tree: 37b8096ea53ca4bccadde7f681c4a74edda8883a
  1. .gitignore
  2. .travis.yml
  3. BUCK
  4. LICENSE
  5. README.md
  6. src/
  7. test.rb
  8. tests.txt
README.md

automerge-plugin

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.11 or later.