← Back to issue list

"snapcraft help <plugin>" fails with SC7 and core22 in project directory

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1990126
Type
issue
State
open
Author
~rpjday
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft 7's help command rejected core22 projects using ros2-humble; the affected legacy CLI has since been removed from the current codebase.

Suggested action: close stale

Reason: The reporter provided an exact reproducer and confirmed it in 7.2.9.post31+git31a3990c. The current command registry has no help command, and commit ffb164b7a removed snapcraft_legacy, making this SC7-era behavior obsolete rather than something to fix on current main.

Evaluated by: mr-cal-bot

Impact: 22 Quick Win: 17 Complexity: 18 Confidence: 94 Actionability: 93

Issue body

In a 22.04 LXD container running SC7, running: # snapcraft help <plugin> fails if you are in the context of a snapcraft build directory whose snapcraft.yaml file refers to a core22 extension. As an example, if I am in an arbitrary directory in my container (say home), then this works: # snapcraft help catkin Displaying help for the 'catkin' plugin for 'core20'. The catkin plugin for ROS 1 parts. .. and so on ... However, if I happen to be in my ROS2/Humble project directory, where the snapcraft.yaml file incorporates the ros2-humble extension, then: # snapcraft help catkin Issues while validating snapcraft.yaml: The 'apps/ros2-talker-listener/extensions[0]' property does not match the required schema: 'ros2-humble' is not one of ['flutter-stable', 'flutter-beta', 'flutter-dev', 'flutter-master', 'gnome-3-28', 'gnome-3-34', 'gnome-3-38', 'kde-neon', 'ros1-noetic', 'ros2-foxy'] It seems clear(?) that, even though I am simply asking for some help, snapcraft insists on validating my snapcraft.yaml file and chokes on a core22 extension (this is already a known bug). This seems unnecessary -- simply asking for help should not dictate doing anything other than displaying that help.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 22
Quick Win: 17
Complexity: 18
Confidence: 94
Actionability: 93
close stale Snapcraft 7's help command rejected core22 projects using ros2-humble; the affected legacy CLI has since been removed from the current codebase.
stealth/space-bunny-alpha
Impact: 34
Quick Win: 13
Complexity: 45
Confidence: 87
Actionability: 72
needs triage SC7's snapcraft help <plugin> validates the local project and fails for core22 ros2-humble projects; persistence was confirmed in 7.2.9, but no maintainer triage or fix evidence exists
stealth/space-bunny-alpha
Impact: 32
Quick Win: 18
Complexity: 37
Confidence: 84
Actionability: 88
needs triage SC7's snapcraft help <plugin> command fails in core22 project directories because unrelated project validation rejects ros2-humble. The report is open, untriaged, and inactive for over three years.
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 35
Staleness: 95
Complexity: 30
Confidence: 65
Support Request: 10
needs triage snapcraft help <plugin> validates snapcraft.yaml unnecessarily, failing when core22 extensions are used. Untriaged, 1445 days old, no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 80
Support Request: 0
needs triage snapcraft help <plugin> incorrectly validates snapcraft.yaml when displaying help, failing with core22 extensions. Unlabelled, zero maintainer comments, inactive for ~3.5 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Bug report: 'snapcraft help <plugin>' fails with SC7/core22 in project directory due to snapcraft.yaml validation. No maintainer response yet.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale snapcraft help <plugin> incorrectly validates snapcraft.yaml in the current directory, failing on unsupported core22 extensions. Issue is unlabelled, has zero comments, and has been inactive for over 3 years.

Update history

Date Change
created

Related work

  • Related To: snapcraft (launchpad)#1986634 (confidence 92%)

    Reports the same missing core22 extension recognition; that singular extension command was also retired in commit 3623601d7.

Related issues

Issue Project State Summary Similarity
#1986634 "snapcraft extension" does not recognize core22 extensions snapcraft (launchpad) closed Obsolete after commit 3623601d7 removed the deprecated singular snapcraft extension command; core22 lookup was never repaired.
72%