Trim down snapcraft_legacy and plan migration effort
Metadata
Current evaluation
Closed by author mr-cal. Abandoned in favor of a revised migration strategy: moving store commands out of snapcraft_legacy first, then deleting the module entirely. A Jira ticket was created for tracking.
Suggested action: —
No scores available.
Issue body
### Check existing issues
- [x] I've verified that this request isn't described by any existing issues.
### Request
1. Remove lifecycle code from `snapcraft_legacy`
2. Remove lifecycle unit tests from `tests/legacy`
3. For the remaining store commands, determine the tasks needed to migrate them out of snapcraft_legacy
### The problem it solves
So that `snapcraft_legacy` can be fully removed from the codebase.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed by author mr-cal. Abandoned in favor of a revised migration strategy: moving store commands out of snapcraft_legacy first, then deleting the module entirely. A Jira ticket was created for tracking. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed by the maintainer, who abandoned the proposed lifecycle removal. The author will instead migrate store commands out of snapcraft_legacy first, then delete the legacy module entirely. | |
| qwen/qwen3.6-35b-a3b | — | — | Superseded by a revised migration strategy. The maintainer closed the issue to implement a different approach: moving store commands out of snapcraft_legacy first, then deleting the legacy module entirely. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed due to a revised migration strategy. The maintainer will now move store commands out of snapcraft_legacy first, then delete the legacy module entirely, bypassing the original lifecycle code removal plan. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed by the author to pursue a revised migration strategy. The legacy module will be removed by first migrating store commands out of snapcraft_legacy, then deleting the entire legacy codebase. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #5338 Migrate snapcraft_legacy store commands | snapcraft | closed | Partially completed. Migrated upload-metadata and set-default-track to modern snapcraft code. Promote and metrics commands deferred to a separate effort. Issue closed. | |
| #4194 Migrate snapcraft_legacy subcommands to use craft-cli | snapcraft | closed | Abandoned. The maintainer rejected the proposed approach, confirming the legacy CLI handler will remain in use short-term while commands are fully migrated out of snapcraft_legacy in the medium term. |