← Back to issue list

Help includes expand-extensions entry with reference to snapcraft.yaml

View original Github issue

Metadata

Project
rockcraft
Number
#658
Type
issue
State
open
Author
hartmutobendorf
Labels
good first issue
Created
Updated
Closed
—

Current evaluation

rockcraft help --all shows 'expand-extensions: Expand extensions in snapcraft.yaml', a copy-paste leftover; rockcraft.yaml is the correct file. Still present at HEAD; fixes #885/#1103 approved but unmerged.

Suggested action: keep open

Reason: Verified the defect still exists in the current tree: rockcraft/commands/extensions.py:88 sets help_msg = "Expand extensions in snapcraft.yaml" for ExpandExtensionsCommand, while the same file's overview already correctly says rockcraft.yaml. Two approved PRs (#885, #1103) carry the one-line correction but neither is merged, so the issue is valid and still reproducible with `rockcraft help --all`; impact is limited to misleading help text and the scope is already pinpointed. It carries the maintainer-assigned 'good first issue' label (tracked internally as CRAFT-3188), so it has been triaged rather than left unattended.

Evaluated by: mr-cal-bot

Impact: 20 Quick Win: 16 Complexity: 5 Confidence: 86 Actionability: 85

Issue body

### Bug Description When listing all commands, this includes: ``` expand-extensions: Expand extensions in snapcraft.yaml ``` ### To Reproduce rockcraft help --all ### Environment rockcraft 1.5.3 ### rockcraft.yaml ```shell - ``` ### Relevant log output ```shell - ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 20
Quick Win: 16
Complexity: 5
Confidence: 86
Actionability: 85
keep open rockcraft help --all shows 'expand-extensions: Expand extensions in snapcraft.yaml', a copy-paste leftover; rockcraft.yaml is the correct file. Still present at HEAD; fixes #885/#1103 approved but unmerged.
qwen/qwen3.6-35b-a3b
Impact: 20
Quick Win: 17
Complexity: 5
Confidence: 90
Actionability: 90
keep open The expand-extensions command help text incorrectly references snapcraft.yaml instead of rockcraft.yaml. A simple one-line string fix is needed.
qwen/qwen3.8-27b
Impact: 15
Quick Win: 14
Staleness: 65
Complexity: 5
Confidence: 85
Support Request: 0
keep open rockcraft help --all shows expand-extensions referencing snapcraft.yaml instead of rockcraft.yaml. Bug still present in code; two approved but unmerged PRs (#885, #1103) fix the help text. Labeled good first issue, no maintainer activity since 2024.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 15
Confidence: 85
Support Request: 5
needs triage rockcraft help --all incorrectly lists expand-extensions referencing snapcraft.yaml. Issue lacks maintainer acknowledgment or assignee after two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 20
Confidence: 70
Support Request: 5
needs triage rockcraft help --all incorrectly lists expand-extensions referencing snapcraft.yaml. Reported over two years ago with one automated comment; currently inactive and awaiting maintainer assessment.
qwen3.6-35b-a3b-mtp-q6
Staleness: 85
Complexity: 15
Confidence: 75
Support Request: 10
needs triage rockcraft help --all incorrectly lists an expand-extensions command referencing snapcraft.yaml instead of rockcraft.yaml. Open since ~2023, last activity ~10 months ago, awaiting maintainer triage.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: rockcraft#1103 (confidence 90%)

    Approved, CI-passing two-line fix in rockcraft/commands/extensions.py replacing snapcraft.yaml with rockcraft.yaml; explicitly references this issue.

  • Likely Fixed By: rockcraft#885 (confidence 85%)

    Earlier approved one-line removal of the snapcraft.yaml reference from expand-extensions help text, fixes #658 but stale for 212 days.

  • Related To: snapcraft#4110 (confidence 45%)

    Surfaced as related; same snapcraft.yaml vs rockcraft.yaml confusion in the expand-extensions path, but in the snapcraft codebase.

Related issues

Issue Project State Summary Similarity
#1210 fix(commands): reference rockcraft.yaml in extensions help rockcraft closed PR #1210 (fix expand-extensions help to say rockcraft.yaml instead of snapcraft.yaml) was closed unmerged by its author as a duplicate of canonical/rockcraft#1103, which is already approved and CI-passing.
84%
#1103 fix: remove snapcraft.yaml reference from expand-extensions rockcraft open Two-line help/docstring fix in rockcraft/commands/extensions.py replacing "snapcraft.yaml" with "rockcraft.yaml" in expand-extensions. Approved, CI passing, no unresolved comments; verified still applicable to current main.
84%
#1117 fix(cli): refer to rockcraft.yaml in expand-extensions help rockcraft closed Docs-only PR correcting the expand-extensions help text to say rockcraft.yaml. Closed unmerged by the author after maintainer @asanvaq noted it duplicated the work in #1103 and #1110; fix still pending in #1103.
81%
#1111 Fix expand-extensions help text to reference rockcraft.yaml rockcraft closed Closed unmerged as a duplicate of #1103, which included the same rockcraft.yaml help-text correction and additional overview wording fixes.
80%
#885 fix: Removed reference to snapcraft.yaml in expand extensions rockcraft open Removes a snapcraft.yaml reference from expand-extensions help text (1 line, fixes #658). Approved, CI green, but untouched for 212 days and superseded by newer approved PR #1103, which makes the same correction more completely.
74%
#292 extensions: add cli commands rockcraft merged Merged PR #292 (commit e8858077) added `list-extensions` and `expand-extensions` CLI commands with Snapcraft-equivalent semantics, plus test-data refactoring; closed rockcraft#274.
73%