“snapcraft register” with invalid characters still blathers on about name ownership
Metadata
Current evaluation
`snapcraft register` shows the name-ownership blather and prompt before the store rejects invalid names. Still present at HEAD: names.py validates nothing client-side. Untriaged, only one self-comment from reporter.
Suggested action: needs triage
Reason: The report has no labels, no assignee, and the only comment is the reporter's own follow-up, so it has never been assessed by a maintainer. I confirmed the defect survives at HEAD: `StoreRegisterCommand.run` in snapcraft/commands/names.py:113-131 emits `_MESSAGE_REGISTER_CONFIRM` and calls `utils.confirm_with_user` before `store.StoreClientCLI().register()`, which POSTs straight to `/dev/api/register-name/` with no client-side name check (the repo's `validate_name` regex lives in snapcraft/models/project.py:267 and is not used here). Not a low-value closure either — the wording complaint overlaps the still-open #1886223 and #1723726, so a maintainer should decide whether to fix ordering alone or fold it into the broader prompt rewrite.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha |
Impact:
28
Quick Win:
14
Complexity:
30
Confidence:
82
Actionability:
70
|
needs triage | `snapcraft register` shows the name-ownership blather and prompt before the store rejects invalid names. Still present at HEAD: names.py validates nothing client-side. Untriaged, only one self-comment from reporter. | |
| stealth/space-bunny-alpha |
Impact:
30
Quick Win:
18
Complexity:
35
Confidence:
96
Actionability:
92
|
needs triage | snapcraft register still shows an ownership confirmation before the Store rejects invalid names. The UX bug remains open and untriaged, with no client-side name validation before the API request. | |
| qwen/qwen3.6-35b-a3b |
Impact:
30
Quick Win:
15
Complexity:
30
Confidence:
70
Actionability:
70
|
keep open | UX bug: snapcraft register shows ownership confirmation prompt before validating name format, confusing users when names contain invalid characters. | |
| qwen/qwen3.8-27b |
Impact:
10
Quick Win:
8
Staleness:
95
Complexity:
15
Confidence:
75
Support Request:
5
|
close stale | snapcraft register prints a lengthy name-ownership preamble and prompt before validating the name, so invalid names like 'Firefox' get confusing output. Unlabeled, 0 comments, inactive ~8.8 years; the register command/prompt no longer exists in current snapcraft. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
85
Support Request:
5
|
close stale | snapcraft register prints a lengthy ownership preamble before validating snap names, causing confusing output for invalid names. Unlabeled, 8+ years old, no maintainer response, and likely obsolete due to CLI changes. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
15
Confidence:
85
Support Request:
5
|
close stale | CLI validation order bug where snapcraft register prints ownership disclaimers before checking name validity. Extremely stale with no maintainer interaction or labels over 8 years. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
15
Confidence:
85
Support Request:
10
|
close stale | snapcraft register displays a lengthy ownership disclaimer before failing on invalid snap names. Unlabelled, inactive for ~8.5 years, no maintainer response. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Related To:
snapcraft (launchpad)#1886223
(confidence 85%)
Proposed rewrite of the same `_MESSAGE_REGISTER_CONFIRM` prompt (misleading rename/$username advice); its evaluation summary states the text is 'Still present verbatim at HEAD', matching what I read in snapcraft/commands/names.py:44-58.
-
Related To:
snapcraft (launchpad)#1723726
(confidence 65%)
Sibling report on the same `snapcraft register` output being 'mysterious and inaccurate'; listed as a related issue and would likely share a fix or be closed together.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1886223 snapcraft recommends bad naming standards | snapcraft (launchpad) | open | Proposed rewrite of the `snapcraft register` name-claim prompt, which wrongly says snaps can be renamed and steers users toward $username- name suffixes, contradicting the docs. Still present verbatim at HEAD. | |
| #1723726 “snapcraft register” message is mysterious and inaccurate | snapcraft (launchpad) | open | Wants the 'snapcraft register' confirmation prompt rewritten: undefined 'we'/'our community', false claim that snaps get renamed, hedged wording, and a prompt users can't truthfully answer. Text still unchanged in snapcraft/commands/names.py |