Open mvdan opened 2 years ago
cc @mpvl to confirm XXX
is indeed the "trigger" text for this.
Gerrit already has a "Hold +1" label to block submission, perhaps that would be a better convention?
IIRC, you can't match on CL contents using submit requirements, so it'd have to be the CI doing it?
IIRC, you can't match on CL contents using submit requirements, so it'd have to be the CI doing it?
I think this is possible via https://gerrit-review.googlesource.com/Documentation/config-submit-requirements.html#operator_file
See https://review.gerrithub.io/c/cue-unity/unity/+/543960/comments/ca065ef1_d81bfe3f. Right now, if a Gerrit CL's commit message contains "DO NOT REVIEW" or "DO NOT SUBMIT", the CL cannot be submitted.
However, we don't have anything equivalent for the changes made to files. Paul says that Google have a convention of "XXX" to mean something that must be resolved before a change is merged, akin to a TODO that cannot be left for later.
That sounds useful - we should add it.