Change snap name separator character
Metadata
Current evaluation
Superseded by PR #1575, which adopted @ for snap/channel separation and merged as commit 451adf2b; support shipped in craft-parts 2.36.0.
Resolution: closed superseded
Reason: The issue was superseded by PR #1575 after the design changed from = to @. That PR merged as commit 451adf2b, and the 2.36.0 release notes confirm support in stage-snaps and build-snaps.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
For entries in both `build-snaps` and `stage-snaps`, consider using a non-slash character that is both YAML- and command-line-friendly and unambiguously delineates name versus channel, e.g. `curl==latest/stable`.
This should be propagated to other fields that identify snaps, such as in Imagecraft's `snap-preseed` and `uc-prepare` plugins.
### Why it needs to get done
The current syntax is `name/channel`. This is awkward because `channel` is itself `track/risk`, resulting in strings like `curl/latest/stable`. Though technically unambiguous to parse, it is inelegant and doesn't match other tools.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed superseded | Superseded by PR #1575, which adopted @ for snap/channel separation and merged as commit 451adf2b; support shipped in craft-parts 2.36.0. | |
| stealth/space-bunny-alpha | — | closed superseded | Superseded by craft-parts#1575, which adopted @ (optionally space-padded) to separate snap names from channels instead of slash. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by #1575, which adopts an @ symbol, optionally padded with spaces, to replace the slash separator. This standardizes snap name and channel delineation across build-snaps, stage-snaps, and related plugins. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
35
Complexity:
50
Confidence:
90
Support Request:
5
|
keep open | Proposes changing the snap name separator from slash to @ or = to avoid awkward nested slashes in channel strings. Currently triaged and under maintainer discussion regarding syntax. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
15
Complexity:
60
Confidence:
90
Support Request:
5
|
keep open | Change snap identifier separator from slash to @ across build/stage fields and plugins. Issue is triaged, actively discussed by maintainers, and has a recent syntax decision with an associated Jira ticket. |
Update history
| Date | Change |
|---|---|
| closed |
Related work
-
Superseded By:
canonical/craft-parts#1575
(confidence 100%)
Merged implementation selected @ and added tests, documentation, and validation in commit 451adf2b.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #342 Update snap name /channel separator character in snap plugins | imagecraft | closed | Fixed by merged PR #345 (commit 3dfacf0): snap plugins now use @, with optional surrounding whitespace, instead of the proposed = separator. |