← 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 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.

Suggested action:

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
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.
qwen3.6-35b-a3b-mtp-q6 Merged. Renamed list-X commands to X per DE013, deprecating and hiding the original list- variants. Closes #5711.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#84 Renamed 'list' command to 'names' in sync with latest UX decisions. charmcraft merged Merged following approval by two reviewers. The 'list' command was renamed to 'names' to align with updated UX decisions, affecting three files with nine additions and nine deletions.
74%