feat!(platform): make 'any' and '*' invalid platform names
Metadata
Current evaluation
Merged #176 as commit 62631bd, rejecting 'any' and '*' as platform names and adding reusable reserved-name handling; fixes #166.
Resolution: closed resolved
Reason: PR #176 was merged as commit 62631bd. It implements reserved platform-name validation and resolves issue #166.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Also creates a way to reserve other platform names.
Fixes #166
CRAFT-4746
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #176 as commit 62631bd, rejecting 'any' and '*' as platform names and adding reusable reserved-name handling; fixes #166. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR making 'any' and '*' invalid platform names and adding a reservation mechanism, resolving craft-platforms#166. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
craft-platforms#166
(confidence 100%)
The PR explicitly fixes this issue by making 'any' invalid and reserves additional names.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #166 BREAKING: Make "any" an invalid platform name. | craft-platforms | closed | Platform name "any" and "*" were made reserved by merged PR #176 in commit 62631bd, rejecting them with guidance toward a valid alternative. | |
| #947 feat!(platforms): prevent use of '/' in platform names | craft-application | merged | Merged PR #947 as commit f7f3b1ff, adding validation that rejects platform names containing "/" and fixing #941 (CRAFT-4876). | |
| #936 feat!(platform): add reserved platform names | craft-application | merged | Merged PR #936 (commit b534c8a8) adding RESERVED_PLATFORM_NAMES in craft_application/models/platforms.py, blocking '*' and 'any'; fixes #890 (CRAFT-4747). Includes ruff 0.14.0 bump. | |
| #890 BREAKING: "any" is an invalid platform name. | craft-application | closed | Reserved "any" as an invalid platform name and exported that restriction in the schema via merged PR #936 (commit b534c8a8). |