← Back to issue list

BREAKING: Make "any" an invalid platform name.

View original Github issue

Metadata

Project
craft-platforms
Number
#166
Type
issue
State
closed
Author
lengau
Labels
Type: Enhancement Status: Triaged
Created
Updated
Closed

Current evaluation

Platform name "any" and "*" were made reserved by merged PR #176 in commit 62631bd, rejecting them with guidance toward a valid alternative.

Resolution: closed resolved

Reason: Although #166 lacks an explicit closing link, merged PR #176, commit 62631bd, implements the requested breaking change by adding "any" and "*" to RESERVED_PLATFORM_NAMES.

Evaluated by: mr-cal-bot

No scores available.

Issue body

This is a breaking change. The string "any" (with any capitalisation) is considered an invalid platform name. If a platform named "any" is provided, we should error out and offer "all" as an alternative name if they want to declare that this is a platform-independent build.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Platform name "any" and "*" were made reserved by merged PR #176 in commit 62631bd, rejecting them with guidance toward a valid alternative.
qwen/qwen3.6-35b-a3b — closed stale Issue to make "any" an invalid platform name was closed without resolution; no code changes or PRs were merged. Maintainer noted it's low priority and would be addressed during breaking changes.

Update history

Date Change
created

Related work

  • Likely Fixed By: canonical/craft-platforms#176 (confidence 99%)

    Merged as commit 62631bd with the title "feat!(platform): make 'any' and '*' invalid platform names".

  • Related To: canonical/craft-application#890 (confidence 90%)

    Maintainer identified this as a companion low-priority request intended for a future breaking-change cycle.

Related issues

Issue Project State Summary Similarity
#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).
86%
#176 feat!(platform): make 'any' and '*' invalid platform names craft-platforms merged Merged #176 as commit 62631bd, rejecting 'any' and '*' as platform names and adding reusable reserved-name handling; fixes #166.
83%