Allow hyphens in partition names
Metadata
Current evaluation
Closed without resolution. The request to allow hyphens in partition names and update conflict validation was logged as internal ticket CRAFT-3172 and appears abandoned. No code changes or pull requests were merged.
Suggested action: —
No scores available.
Issue body
### What needs to get done
1. Update validators to allow hyphens
2. Update [`_validate_namespace_conflicts()`](https://github.com/canonical/craft-parts/blob/9fe38d11637f037b37fe76aa5ecc013a9bc39695/craft_parts/utils/partition_utils.py#L124) to check that partitions and namespaced partitions won't overlap
For example, `foo/bar` and `foo-bar` should be flagged as conflicts because they will both use the same environment variables `CRAFT_FOO_BAR_STAGE` and `CRAFT_FOO_BAR_PRIME`.
### Why it needs to get done
To allow partitions to contain hyphens
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The request to allow hyphens in partition names and update conflict validation was logged as internal ticket CRAFT-3172 and appears abandoned. No code changes or pull requests were merged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to allow hyphens in partition names was synced to Jira ticket CRAFT-3172. No pull requests were merged or code changes applied, indicating the feature was deferred. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The request to allow hyphens in partition names and update conflict validators was not implemented. An automated bot synced it to Jira, but no pull requests were merged. The issue appears abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation. The request to allow hyphens in partition names and update namespace conflict validation was deferred, with tracking moved to internal Jira ticket CRAFT-3172. No code changes were merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #800 feat: allow hyphens in partition names | craft-parts | merged | Merged to allow hyphens in partition names. Approved by two reviewers, the change updates five files with 85 additions and 51 deletions, resolving CRAFT-3031. |