← Back to issue list

commands: help for all legacy commands

View original Github issue

Metadata

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

Current evaluation

Merged PR #3735, adding help passthrough for all legacy Snapcraft commands; merged as commit 8f8b2df42.

Resolution: closed resolved

Reason: PR #3735 was merged into the 7.0 branch as merge commit 8f8b2df42, completing CRAFT-986 through CRAFT-991 by routing legacy-command help to the legacy implementation.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Passthrough to legacy implementation. Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> - [ ] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `./runtests.sh static`? - [ ] Have you successfully run `./runtests.sh tests/unit`? ----- CRAFT-986 CRAFT-987 CRAFT-988 CRAFT-989 CRAFT-991

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #3735, adding help passthrough for all legacy Snapcraft commands; merged as commit 8f8b2df42.
stealth/space-bunny-alpha — closed resolved Merged #3735 via 8f8b2df42, adding help for all legacy commands through passthrough to the legacy implementation, covering CRAFT-986 through CRAFT-991.
qwen/qwen3.6-35b-a3b — — Merged implementation adding help text for all legacy commands via passthrough. Approved, passed CI, and resolves CRAFT-986 through CRAFT-991. Minor coverage decrease noted but accepted.
qwen3.6-35b-a3b-mtp-q6 — — Merged into snapcraft/7.0, the change adds help text for all legacy commands via passthrough to legacy implementations. Approved despite a minor overall coverage decrease reported by Codecov.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1845 cli: implement help <command> snapcraft merged PR #1845 (commit cf20b3593) by sergiusens merged command-specific help support, adding `snapcraft help <command>` to the CLI and closing feature request #1699.
76%
#5169 snapcraft help fails on many commands snapcraft closed Fixed by merged PR #5178 (commit f97d032bf), adding missing help text for positional args; maintainer closed the issue noting the fix ships in snapcraft 8.5.1.
74%
#5682 Remove legacy help and version code snapcraft closed Merged PR #5777 removed the unused snapcraft_legacy help/version commands and their tests; the legacy package was later removed wholesale for Snapcraft 9.
74%
#1986645 Some snapcraft 7.x commands have irrelevant "help" info snapcraft (launchpad) closed Fixed in Snapcraft 8 by command-group help refactoring merged in canonical/snapcraft#4934 (commit 6a388877f).
74%
#1789 cli: improve the help command snapcraft merged Merged PR #1789 in commit e66b29d84, giving snapcraft help parity with --help and exposing topic and plugin help; it resolved snapcraft#1698.
73%
#1699 snapcraft <help> command snapcraft closed Feature request by maintainer sergiusens to add a `snapcraft help <command>` sub-command. Resolved by merged PR #1845, commit cf20b3593 ("cli: implement help <command> (#1845)"), which added command-specific help support.
72%
#3682 cli: fix help command legacy fallback snapcraft merged Merged #3682 as commit 468051ea5, handling craft-cli's ProvideHelpException so legacy help prints the same message as --help and exits successfully.
72%
#5423 Add `--verbosity`, `--verbose`, and `--quiet` for legacy commands in Snapcraft 8 snapcraft closed Legacy command verbosity support merged in PR #5646 (3aeded2fa), with non-lifecycle coverage completed by PR #5680 (4a7663069).
71%
#5777 chore(legacy-cli): remove unused help and version commands snapcraft closed Merged #5777, removing unused legacy CLI help/version commands after confirming snapcraft_legacy was not exposed in official releases; it combined #5731 and #5773.
71%