Hi all!
How does main dashboard "Status" column relate to patch submission conditions?
I am using following configuration in my project.config.
What I am trying to achieve here is that the change to be only possible to merge with +1 Verified and double +2 Code-Review votes.
[label "Code-Review"]
function = NoBlock
defaultValue = 0
value = -2 This shall not be submitted
value = -1 I would prefer this is not submitted as is
value = 0 No score
value = +1 Looks good to me, but someone else must approve
value = +2 Looks good to me, approved
copyCondition = changekind:NO_CHANGE OR changekind:TRIVIAL_REBASE OR is:MIN
[label "Verified"]
function = NoBlock
value = -1 Fails
value = 0 No score
value = +1 Verified
defaultValue = 0
copyCondition = changekind:NO_CHANGE OR changekind:NO_CODE_CHANGE
[submit-requirement "Verified"]
submittableIf = label:Verified=MAX
canOverrideInChildProjects = true
[submit-requirement "Code-Review"]
submittableIf = label:Code-Review=MAX,count>1 -label:Code-Review=MIN
canOverrideInChildProjects = true
This seems to work well when I am reviewing the change. CR label condition is not satisfied.
However when looking up the change in the main Gerrit dashboard:
Both "Status" and "CR" columns present status other than I'd expect. I assumed this would show up as "1 missing" for Status and "Unsatisfied" for CR.
Am I missing something in my configuration or is this a bug?
Thanks!