diff --git a/ac230ed20be6e2a8c497a8306a9e8979a46b5c91 b/ac230ed20be6e2a8c497a8306a9e8979a46b5c91 index 248610a7a..1194e8f1e 100644 --- a/ac230ed20be6e2a8c497a8306a9e8979a46b5c91 +++ b/ac230ed20be6e2a8c497a8306a9e8979a46b5c91 @@ -17,5 +17,139 @@ "revId": "ac230ed20be6e2a8c497a8306a9e8979a46b5c91", "serverId": "3ce6091f-6c88-37e8-8c75-72f92ae8dfba" } + ], + "submitRequirementResults": [ + { + "submitRequirement": { + "name": "Code-Review", + "description": { + "value": "If the author is a libyuv committer, code review is required from one other committer. Otherwise, code review is required from two committers." + }, + "applicabilityExpression": {}, + "submittabilityExpression": { + "expressionString": "((uploaderin:cria/project-libyuv-committers AND label:Code-Review\u003dMAX,user\u003dnon_uploader) OR label:Code-Review\u003dMAX,count\u003e\u003d2) AND -label:Code-Review\u003dMIN" + }, + "overrideExpression": { + "value": { + "expressionString": "label:Bot-Commit\u003d+1 AND -label:Code-Review\u003dMIN" + } + }, + "allowOverrideInChildProjects": true + }, + "applicabilityExpressionResult": {}, + "submittabilityExpressionResult": { + "value": {"expression":{"expressionString":"((uploaderin:cria/project-libyuv-committers AND label:Code-Review=MAX,user=non_uploader) OR label:Code-Review=MAX,count>=2) AND -label:Code-Review=MIN"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":["label:Code-Review=MAX,user=non_uploader","label:Code-Review=MAX,count>=2"],"failingAtoms":["label:Code-Review=MIN","uploaderin:cria/project-libyuv-committers"]} + }, + "overrideExpressionResult": { + "value": {"expression":{"expressionString":"label:Bot-Commit=+1 AND -label:Code-Review=MIN"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["label:Bot-Commit=+1","label:Code-Review=MIN"]} + }, + "patchSetCommitId": "ac230ed20be6e2a8c497a8306a9e8979a46b5c91", + "legacy": { + "value": false + }, + "forced": {}, + "hidden": {} + }, + { + "submitRequirement": { + "name": "No-Unresolved-Comments", + "description": { + "value": "Changes that have unresolved comments are not submittable. Unless overridden with Unresolved-Comment-Reason: \u003creason\u003e line in change message." + }, + "applicabilityExpression": { + "value": { + "expressionString": "has:unresolved" + } + }, + "submittabilityExpression": { + "expressionString": "-has:unresolved" + }, + "overrideExpression": { + "value": { + "expressionString": "message:\"^.*Unresolved-Comment-Reason:.*\"" + } + }, + "allowOverrideInChildProjects": false + }, + "applicabilityExpressionResult": { + "value": {"expression":{"expressionString":"has:unresolved"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["has:unresolved"]} + }, + "submittabilityExpressionResult": { + "value": {"expression":{"expressionString":"-has:unresolved"},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]} + }, + "overrideExpressionResult": { + "value": {"expression":{"expressionString":"message:\"^.*Unresolved-Comment-Reason:.*\""},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]} + }, + "patchSetCommitId": "ac230ed20be6e2a8c497a8306a9e8979a46b5c91", + "legacy": { + "value": false + }, + "forced": {}, + "hidden": {} + }, + { + "submitRequirement": { + "name": "Review-Enforcement", + "description": { + "value": "Two Google employees must approve the change. Uploading the change or voting positively on Code-Review count as approval. Using a trusted device is required, see go/gerrit-onboarding#review-enforcement." + }, + "applicabilityExpression": { + "value": { + "expressionString": "is:review-enforced_gerrit" + } + }, + "submittabilityExpression": { + "expressionString": "is:review-enforcement-satisfied_gerrit" + }, + "overrideExpression": {}, + "allowOverrideInChildProjects": false + }, + "applicabilityExpressionResult": { + "value": {"expression":{"expressionString":"is:review-enforced_gerrit"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":["is:review-enforced_gerrit"],"failingAtoms":[]} + }, + "submittabilityExpressionResult": { + "value": {"expression":{"expressionString":"is:review-enforced_gerrit"},"status":"PASS","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["is:review-enforcement-satisfied_gerrit"]} + }, + "overrideExpressionResult": {}, + "patchSetCommitId": "ac230ed20be6e2a8c497a8306a9e8979a46b5c91", + "legacy": { + "value": false + }, + "forced": {}, + "hidden": { + "value": true + } + }, + { + "submitRequirement": { + "name": "Verified", + "description": { + "value": "Submit requirement for the \u0027Verified\u0027 label" + }, + "applicabilityExpression": { + "value": { + "expressionString": "is:false" + } + }, + "submittabilityExpression": { + "expressionString": "is:true" + }, + "overrideExpression": {}, + "allowOverrideInChildProjects": true + }, + "applicabilityExpressionResult": { + "value": {"expression":{"expressionString":"is:false"},"status":"FAIL","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":["is:false"]} + }, + "submittabilityExpressionResult": { + "value": {"expression":{"expressionString":"is:true"},"status":"NOT_EVALUATED","errorMessage":{"value":null},"passingAtoms":[],"failingAtoms":[]} + }, + "overrideExpressionResult": {}, + "patchSetCommitId": "ac230ed20be6e2a8c497a8306a9e8979a46b5c91", + "legacy": { + "value": false + }, + "forced": {}, + "hidden": {} + } ] } \ No newline at end of file