chore(legacy-cli): remove unused help and version commands
Metadata
Current evaluation
Merged after confirming the legacy CLI entrypoint was never exposed in official releases. The unused help and version commands were safely removed, finalizing the cleanup of deprecated legacy code.
Suggested action: —
No scores available.
Issue body
This is a merge of #5731 and #5773, which both implement this change.
Authors: @Serena6688 and @Nalin-Kumar-Gupta
- [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`?
---
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after confirming the legacy CLI entrypoint was never exposed in official releases. The unused help and version commands were safely removed, finalizing the cleanup of deprecated legacy code. | |
| qwen/qwen3.8-27b |
Impact:
10
Quick Win:
9.0
Staleness:
15
Complexity:
10
Confidence:
85
|
close not mergeable | Removes unused legacy CLI help/version commands (merge of #5731 and #5773). Approved, but targets files already deleted when the entire snapcraft_legacy directory was removed in a subsequent commit. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
70
Complexity:
10
Confidence:
90
|
needs review | Removes unused legacy help and version commands. Approved, CI passes aside from unrelated failures. Inactive for ~9 months but maintainers agreed on the approach and it is ready to land. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
90
Complexity:
10
Confidence:
85
|
close stale | Removes unused legacy help and version CLI commands. Discussion confirms the legacy entrypoint isn't exposed in the official snap, making removal safe. Currently inactive for ~9 months. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
70
Complexity:
10
Confidence:
85
|
needs review | Removes unused help and version commands from the legacy CLI. Contributors confirmed the legacy entrypoint is unexposed in the official snap and agreed to proceed. Awaiting final review and merge. |
Update history
| Date | Change |
|---|---|
| closed | |
| updated |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5731 chore(legacy-cli): remove unused help.py and version.py, drop related test | snapcraft | closed | Superseded by PR #5777, which combined this cleanup with #5773. The unused legacy help.py and version.py modules and their tests were removed, and the contributor received credit in the merged PR. | |
| #6035 chore!: remove deprecated commands | snapcraft | merged | Merged after maintainer approval and a clean rebase. The changes remove deprecated commands and options, resolving issue #5674. | |
| #5821 chore(legacy): remove script entry point | snapcraft | merged | Merged removal of a legacy script entry point causing user confusion. Approved by two reviewers, passed CI checks, and deleted a single line in one file to clean up the codebase. | |
| #5682 Remove legacy help and version code | snapcraft | closed | Closed as obsolete. The entire snapcraft_legacy module is being removed in Snapcraft 9, rendering the specific cleanup of legacy help and version commands unnecessary. No pull request was merged. |