← Back to issue list

feat: rename `list-` commands

View original Github issue

Metadata

Project
snapcraft
Number
#5828
Type
pull request
State
merged
Author
bepri
Labels
—
Created
Updated
Closed

Current evaluation

Merged in canonical/snapcraft#5828 (d2dbfb2f8): list-X commands became X, with old names retained as hidden deprecated aliases; it closed #5711.

Resolution: closed resolved

Reason: PR #5828 was approved and merged, resolving #5711 in commit d2dbfb2f8. It renamed the list-prefixed commands and preserved compatibility through hidden deprecated aliases.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [x] Have you followed the [guidelines for contributing](https://github.com/canonical/snapcraft/blob/main/CONTRIBUTING.md)? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint`? - [x] Have you successfully run `make test`? --- Can be reviewed per-commit if that's desired. Reverses some deprecation warnings, adds some new ones, and creates a couple of command aliases all in accordance to [DE013](https://docs.google.com/document/d/1qsNbj1aipo6F6RuEqd3un43ArBoMenCiddCcrJBl23s/edit?tab=t.0). Any command following the pattern of `list-X` has been renamed to `X`, with the `list-` variant being marked as deprecated and hidden from help messages. Closes #5711. SNAPCRAFT-1210.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged in canonical/snapcraft#5828 (d2dbfb2f8): list-X commands became X, with old names retained as hidden deprecated aliases; it closed #5711.
stealth/space-bunny-alpha — closed resolved PR #5828 merged (SNAPCRAFT-1210): `list-X` commands renamed to `X` (list-extensions→extensions, list-plugins→plugins, etc.) per DE013; old names kept as hidden deprecated aliases raising RemovedCommand. Closes #5711.
stealth/space-bunny-alpha — closed resolved Merged command rename: `list-X` commands became `X`; old names remain hidden deprecated aliases. Closes #5711 (SNAPCRAFT-1210).
qwen/qwen3.6-35b-a3b — — Merged after approval by three reviewers. Renamed list-X commands to X, deprecated the list- variants, and added aliases per DE013. Resolved issue #5711 and SNAPCRAFT-1210.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Renamed list-X commands to X, deprecated list- variants, and added aliases per DE013. Resolves #5711.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#5711 (confidence 100%)

    The PR explicitly closes #5711 and tracks the work as SNAPCRAFT-1210.

Related issues

Issue Project State Summary Similarity
#4278 snapcraft "list-*" subcommands are inconsistent snapcraft closed Deprecated redundant list-* commands via #5341 and #5524, then removed them in commit 3623601d7 for Snapcraft 9/core26, resolving the inconsistency.
74%
#83 Rename 'list' command to 'names' charmcraft closed Renamed the list command to names via merged PR canonical/charmcraft#84 (commit 3c8b4d91; merge ef02a14e).
74%
#3063 cli: update command names to new design snapcraft merged Merged in snapcraft#3063 (2efd78de3), adopting new command names while retaining deprecated legacy commands and removing redundant store CLI tests.
72%