← Back to issue list

commands: list-extensions and extensions alias

View original Github issue

Metadata

Project
snapcraft
Number
#3678
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #3678 (commit 39d42857d, merge 23c327e82) into snapcraft/7.0 adding an `extensions` command listing new-codebase extensions merged with legacy ones, with `list-extensions` kept as an alias via inheritance. Later renamed and removed.

Resolution: closed resolved

Reason: The PR itself was merged as commit 39d42857d via merge commit 23c327e82, adding snapcraft/commands/extensions.py with ExtensionsCommand plus a ListExtensionsCommand subclass alias. Follow-up PR #5828 later renamed `list-` commands to `extensions` and PR #6068 removed the deprecated alias.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bring in the extensions available from the new code base and then mesh them with the ones from legacy. Use inheritance to support the alias of extensions to list-extensions. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `./runtests.sh static`? - [x] Have you successfully run `./runtests.sh tests/unit`? ----- CRAFT-947

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3678 (commit 39d42857d, merge 23c327e82) into snapcraft/7.0 adding an `extensions` command listing new-codebase extensions merged with legacy ones, with `list-extensions` kept as an alias via inheritance. Later renamed and removed.
stealth/space-bunny-alpha — closed resolved Merged into snapcraft/7.0 in PR #3678 (merge commit 23c327e82), adding list-extensions and the extensions alias by combining new and legacy extensions.
stealth/space-bunny-alpha — closed resolved Merged PR #3678 as 23c327e82, adding list-extensions and an extensions alias that combine new-codebase and legacy extensions.
qwen/qwen3.6-35b-a3b — — Merged into snapcraft/7.0. Implements the list-extensions command and extensions alias, integrating new codebase extensions with legacy ones via inheritance. Approved by reviewers and passed CI checks.
qwen3.6-35b-a3b-mtp-q6 — — Merged into snapcraft/7.0. Introduces the list-extensions command and extensions alias, leveraging inheritance to merge new extension code with legacy implementations. Diff coverage achieved 100%.

Update history

No update history recorded yet.

Related work

  • Superseded By: snapcraft#5828 (confidence 90%)

    'feat: rename `list-` commands' later renamed the alias handling; list-extensions became 'extensions' only.

  • Superseded By: snapcraft#6068 (confidence 85%)

    'chore!: remove deprecated commands' removed the hidden list-extensions alias, which now raises RemovedCommand.

Related issues

Issue Project State Summary Similarity
#2237 cli: add list-extensions command snapcraft merged Merged in snapcraft#2237 via commit 9a6c7ed3a, adding list-extensions and bash completion; resolves LP #1788639.
77%
#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%
#3679 Expand extensions snapcraft merged Merged PR snapcore/snapcraft#3679 via commit 07a8d695c, expanding extensions for CRAFT-948 in the snapcraft/7.0 branch.
73%
#274 Support Extensions CLI rockcraft closed list-extensions and expand-extensions shipped via merged PR #292, commit e8858077, adding rockcraft/commands/extensions.py plus a hidden `extensions` alias; follow-ups fixed validation-error reporting.
71%