← Back to issue list

Can "snapcraft extensions" support "--base=" option like plugins?

View original Launchpad issue

Metadata

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

Current evaluation

Asks for a `--base=` filter on `snapcraft extensions`, matching `plugins --base`. Unimplemented at HEAD; tracked on GitHub as canonical/snapcraft#4360 with an open, unreviewed PR #6214.

Suggested action: keep open

Reason: Verified at HEAD (e766db5d) that `ExtensionsCommand` in snapcraft/commands/extensions.py has no `fill_parser`/`--base` argument and unconditionally lists every extension via `extension_class.get_supported_bases()`, so the request is still valid and unimplemented — not a usage question. It is a small, clearly-scoped parity change with a precedent implementation in snapcraft/commands/plugins.py (`--base` argument, `MaintenanceBase`/unsupported-base error handling) and a ready-made PR (#6214, +67/-4 in 2 files) that remains open with no reviewer. Impact is a minor convenience/UX-parity gain since the table already prints a 'Supported bases' column, which is why the score stays in the low range.

Evaluated by: mr-cal-bot

Impact: 30 Quick Win: 19 Complexity: 20 Confidence: 87 Actionability: 78

Issue body

It would be nice if one could run: $ snapcraft extensions --base=core22 just like one does with "snapcraft plugins".

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 30
Quick Win: 19
Complexity: 20
Confidence: 87
Actionability: 78
keep open Asks for a `--base=` filter on `snapcraft extensions`, matching `plugins --base`. Unimplemented at HEAD; tracked on GitHub as canonical/snapcraft#4360 with an open, unreviewed PR #6214.
stealth/space-bunny-alpha
Impact: 28
Quick Win: 21
Complexity: 14
Confidence: 95
Actionability: 88
keep open Add `--base` filtering to `snapcraft extensions`, matching plugin discovery. Still unresolved in the current command; a ready-made PR is open with failing checks.
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 30
Staleness: 85
Complexity: 25
Confidence: 70
Support Request: 10
needs triage Feature request to add --base option to snapcraft extensions command, mirroring snapcraft plugins. Untriaged, no maintainer engagement.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 25
Confidence: 90
Support Request: 10
close stale Feature request to add --base= option to snapcraft extensions command, mirroring plugins functionality. Unlabelled and inactive for over 3 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 5
close stale Feature request to add --base option to snapcraft extensions command. Unaddressed for over 3 years with no maintainer comments or labels.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 15
Confidence: 85
Support Request: 10
close stale Feature request to add --base option to snapcraft extensions. Unassessed, no maintainer comments, references outdated core22 base.

Update history

Date Change
created

Related work

  • Duplicate Of: canonical/snapcraft#4360 (confidence 95%)

    Same request tracked on GitHub ('Add "--base=core2x"" option to "snapcraft extensions"'), which is already triaged and is the active point of discussion for this Launchpad report.

  • Likely Fixed By: canonical/snapcraft#6214 (confidence 80%)

    PR 'feat(extensions): support filtering by base' adds `--base` filtering to `snapcraft extensions` mirroring `plugins --base` plus unit tests, and explicitly fixes #4360; still unmerged, with lint/unit CI jobs failing (author attributes failures to an unrelated core24 spread test).

Related issues

Issue Project State Summary Similarity
#4360 Add "--base=core2x"" option to "snapcraft extensions" snapcraft open Add --base option to 'snapcraft extensions' for parity with 'plugins --base'. Triaged, unimplemented, with open PR #6214.
78%
#6214 feat(extensions): support filtering by base snapcraft open Adds `--base` filtering to `snapcraft extensions`, mirroring `plugins --base`, plus unit tests (+67/-4, 2 files). Fixes #4360. Open 160 days, no reviewers; lint/fast+slow unit test CI jobs failing, author says unrelated (core24 spread).
70%