Project push rules: Ensure that `regexp_uses_re2` column from `push_rules` is always `true`
Problem
Field regexp_uses_re2 in push_rules was created to introduce a RE2 regex syntax for push rules a long time ago. See commit: 206166e2.
All push rules should have regexp_uses_re2 set to true by now. But we need to verify that and migrate records with regexp_uses_re2 = false.
Proposal
- Verify the status of
regexp_uses_re2on GitLab.com. Are there anyregexp_uses_re2=falserecords in the database? - Create a migration plan for self-managed instances.
Edited by Vasilii Iakliushin