← Back to issue list

feat(extensions): support filtering by base

View original Github issue

Metadata

Project
snapcraft
Number
#6214
Type
pull request
State
open
Author
gcomneno
Labels
Created
Updated
Closed

Current evaluation

Adds --base option to snapcraft extensions command for filtering by base, mirroring plugins --base. 128 days old, 0 reviewer engagement, 2 unrelated CI failures, feature still unimplemented on main.

Suggested action: needs review

Reason: Small, well-scoped feature (+67/-4, 2 files) mirroring the existing plugins --base pattern; issue #4360 remains open and the code on main still lacks the option. No maintainer has reviewed in 128 days, and the two failing CI checks (spread core24/try, OSV-scanner) appear unrelated per the author's analysis. Needs a maintainer to triage and approve or request changes.

Impact: 25 Quick Win: 20.0 Staleness: 55 Complexity: 20 Confidence: 78

Issue body

Fixes #4360. This adds a `--base` option to `snapcraft extensions`, matching the existing `snapcraft plugins --base` behaviour. With this change, users can list only the extensions supported by a specific base, for example: snapcraft extensions --base core24 Changes: - add `--base` to the `extensions` command - filter listed extensions by supported base when provided - reject unsupported and maintenance bases - add unit coverage for base filtering and errors Validation: - `pytest -q tests/unit/commands/test_list_extensions.py -rs` - `ruff check snapcraft/commands/extensions.py tests/unit/commands/test_list_extensions.py`

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 25
Quick Win: 20.0
Staleness: 55
Complexity: 20
Confidence: 78
needs review Adds --base option to snapcraft extensions command for filtering by base, mirroring plugins --base. 128 days old, 0 reviewer engagement, 2 unrelated CI failures, feature still unimplemented on main.
qwen/qwen3.6-35b-a3b
Staleness: 65
Complexity: 15
Confidence: 85
needs review Adds --base filtering to snapcraft extensions command, matching plugins behavior. Includes unit tests and rejects unsupported bases. Currently awaiting maintainer review with minor unrelated CI failures.
qwen3.6-35b-a3b-mtp-q6
Staleness: 55
Complexity: 20
Confidence: 75
needs review Adds a --base flag to snapcraft extensions to filter supported bases, matching plugins behavior. Includes unit tests and passes local validation. Currently inactive for 73 days with no maintainer feedback.
qwen3.6-35b-a3b-mtp-q6
Staleness: 45
Complexity: 20
Confidence: 85
needs review Adds a --base flag to snapcraft extensions to filter by supported base. Passes QA, lint, and unit tests. Author notes unrelated CI failures. Open 52 days, awaiting review and merge.

Update history

No update history recorded yet.

Related work

  • Caused By: snapcraft#4360 (confidence 95%)

    PR body explicitly states 'Fixes #4360' which requests adding --base to snapcraft extensions for CLI consistency.

Related issues

Issue Project State Summary Similarity
#2012950 Can "snapcraft extensions" support "--base=" option like plugins? snapcraft (launchpad) open Feature request to add --base option to snapcraft extensions command, mirroring snapcraft plugins. Untriaged, no maintainer engagement.
81%
#4360 Add "--base=core2x"" option to "snapcraft extensions" snapcraft open Feature request to add a --base= option to the snapcraft extensions command, mirroring snapcraft plugins. Still unimplemented in the codebase. Labeled good first issue; a contributor recently asked to be assigned.
76%