zuul/releasenotes/notes/project-regex-update-dcc183d923a6acdd.yaml
Clark Boylan c393e41d00 Handle greedy project name regexes
Some users (and our documentation [0]) may want to have project name
regexes that match all projects: ^.*$. If the zuul installation has
colliding project names this is always an error because we evaluate the
non canonical names first then check for collisions.

We have realized the point of the regex system is to simplify
configuration and apply configs to any projects that match. Collisions
don't impact this. Stop returning an error if there are collisions and
instead apply the configs to those projects.

[0] https://zuul-ci.org/docs/zuul/latest/tutorials/quick-start.html#configure-zuul-pipelines

Change-Id: I48fbab74fb42ba7c8005ef1a07b61c090acc154d
2022-04-05 16:35:25 -07:00

9 lines
378 B
YAML

---
fixes:
- |
Project name regex handling has been updated to return all possible
matches. Previously if there were collisions with short names it was an
error. The point of the regex system is to simplify configuration and
apply configs to all projects that match. Collisions don't impact this
behavior so we don't need to raise an error in these cases.