Change in gerrit-admin[master]: Add bug status check in set_post hook

From Shlomo Ben David <sbendavi@redhat.com>:
Shlomo Ben David has submitted this change and it was merged. Change subject: Add bug status check in set_post hook ...................................................................... Add bug status check in set_post hook It updates bug status to POST only for NEW patches and the bug status should be in NEW OR ASSIGNED state. Example: 1 patch status: NEW bug status: NEW or ASSIGNED result: OK ==> change bug status to POST Example: 2 patch status: MERGED bug status: other (POST|MODIFIED) result: IGNORE Change-Id: I81b43f01a59dffc2cdc7d64722deb794642fd9c0 Signed-off-by: Shlomi Ben-David <sbendavi@redhat.com> --- M hooks/custom_hooks/set_post 1 file changed, 72 insertions(+), 36 deletions(-) Approvals: Shlomo Ben David: Verified; Looks good to me, approved Gil Shinar: Looks good to me, but someone else must approve Jenkins CI: Passed CI tests -- To view, visit https://gerrit.ovirt.org/65943 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I81b43f01a59dffc2cdc7d64722deb794642fd9c0 Gerrit-PatchSet: 5 Gerrit-Project: gerrit-admin Gerrit-Branch: master Gerrit-Owner: Shlomo Ben David <sbendavi@redhat.com> Gerrit-Reviewer: Eyal Edri <eedri@redhat.com> Gerrit-Reviewer: Gil Shinar <gshinar@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Shlomo Ben David <sbendavi@redhat.com>
participants (1)
-
Code Review