feat!(platform): add reserved platform names
Metadata
Current evaluation
Merged. Reserves * and any as platform names and establishes a framework for additional reserved names. Approved by three reviewers with all CI checks passing. A proposed character domain restriction was deferred to future work.
Suggested action: —
No scores available.
Issue body
This makes `*` and `any` reserved (unusable) platform names and allows
for the creation of additional reserved platform names.
Drive-by: upgrade ruff pre-commit to 0.14.0
Signed-off-by: Alex Lowe <alex.lowe@canonical.com>
Requires: #935
Fixes: #890 CRAFT-4747
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `make lint && make test`?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged. Reserves * and any as platform names and establishes a framework for additional reserved names. Approved by three reviewers with all CI checks passing. A proposed character domain restriction was deferred to future work. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Reserves * and any as platform names and allows adding more. Fixes #890 and CRAFT-4747. Proposed stricter character validation was deferred to a future PR pending team alignment and documentation updates. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #947 feat!(platforms): prevent use of '/' in platform names | craft-application | merged | Prevents use of '/' in platform names, resolving issue #941 and CRAFT-4876. Merged after approval by two reviewers and passing all CI checks across four modified files. |