← Back to issue list

feat: add --base option to the extensions command

View original Github issue

Metadata

Project
snapcraft
Number
#6507
Type
pull request
State
closed
Author
Shahzeb-DataEngineer
Labels
—
Created
Updated
Closed

Current evaluation

PR #6507 adds --base option to the extensions command to filter extensions by base, closing issue #4360. PR is closed without being merged.

Resolution: closed stale

Reason: PR #6507 was closed without being merged after 3 days with 0 reviewer comments and 0 CI failures. No maintainer feedback or merge activity is visible, suggesting it was closed due to lack of engagement or review.

Evaluated by: mr-cal-bot

No scores available.

Issue body

## Description Adds a `--base` option to the `extensions` command so users can list only the extensions available for a given base, consistent with how `plugins` already supports `--base` (issue #4360). When `--base` is given, the command validates it the same way `plugins` does (ESM bases raise `MaintenanceBase`, unknown bases raise `SnapcraftError`) and filters the table to extensions supporting that base. ## Related Issue closes #4360 ## Testing Added unit tests in `tests/unit/commands/test_list_extensions.py`: - `test_command_with_base`: `--base=core22` filters the table and shows the base in the output message - `test_command_with_invalid_base`: unknown base raises `SnapcraftError` - `test_command_with_esm_base`: ESM base raises `MaintenanceBase` The existing no-option behavior and its test are unchanged.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b — closed stale PR #6507 adds --base option to the extensions command to filter extensions by base, closing issue #4360. PR is closed without being merged.

Update history

Date Change
closed
created

Related work

  • Related To: snapcraft#4360 (confidence 95%)

    Issue #4360 requested the --base option that PR #6507 was intended to implement

Related issues

Issue Project State Summary Similarity
#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).
76%