refactor: migrate commands to craft-application
Metadata
Current evaluation
Merged #4830 as commit 0bee3723c, migrating remaining commands to core24/craft-application; init, list-plugins, and command reference docs now use core24.
Resolution: closed resolved
Reason: PR #4830 was merged via commit 0bee3723c and resolved #4742 by migrating the remaining commands to core24/craft-application, including init, list-plugins, and command documentation.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox run -m lint`?
- [x] Have you successfully run `tox run -e test-py310`? (supported versions: `py39`, `py310`, `py311`, `py312`)
-----
Migrate the remaining commands to core24/craft-application. This is broken into many discrete commits.
Behavioral changes:
- `snapcraft list-plugins` no longer errors when in a core24 project directory
- `snapcraft init` creates a core24 snapcraft.yaml file, instead of core22
- `snapcraft list-plugins` shows core24 plugins when not in a snapcraft project directory, instead of core22
- command reference docs are based on core24 lifecycle commands, instead of core22
Fixes #4742
(CRAFT-2822)
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #4830 as commit 0bee3723c, migrating remaining commands to core24/craft-application; init, list-plugins, and command reference docs now use core24. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in snapcraft#4830 via 0bee3723c, migrating remaining commands to craft-application/core24 and resolving #4742; init, list-plugins, and command docs now use core24. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #4830 via commit 0bee3723c, resolving #4742 by migrating remaining commands to core24/craft-application; init, list-plugins, and command docs now use core24. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged following three approvals and passing CI. Migrates remaining commands to core24/craft-application, updating snapcraft init to generate core24 files, correcting list-plugins output, and refreshing command docs. Resolves #4742. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Migrated remaining commands to core24/craft-application, updating init and list-plugins to target core24 and refreshing documentation. Resolves #4742. |
Update history
No update history recorded yet.
Related work
-
Related To:
snapcraft#4742
(confidence 100%)
PR #4830 explicitly fixes #4742, whose closure records #4830 as the resolution.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4742 Migrate commands to craft-application command | snapcraft | closed | Migrated list-plugins and init to craft-application/core24 in merged PR #4830 (commit 0bee3723c), fixing core24 list-plugins; the issue was closed. | |
| #395 refactor: merge feature/craft-application | rockcraft | merged | Merged PR #395 into main, completing the breaking migration to craft-application 1.0.0 and resolving seven linked migration and command issues. | |
| #359 Migrate remaining lifecycle commands to craft-application | rockcraft | closed | Resolved by rockcraft PR #395, merged into main; commits e28d53f7 and 0b44fd60 removed legacy lifecycle commands and completed the craft-application migration. | |
| #4468 feature/craft-application: migrate version command | snapcraft | closed | Version command migration to craft-application landed in merged PR #4614 (commit 885106d06), completing the work drafted in 24d48da8 and closing the tracking issue ahead of the craft-application rebase. | |
| #1520 refactor: remove old "init" command implementation | charmcraft | merged | Merged PR #1520 in commit 97fa9229, removing 248 lines of obsolete init command code after the craft-application transition. | |
| #1358 feat(craft-application): migrate store commands | charmcraft | merged | Merged PR #1358 migrated Charmcraft store commands to craft-application, completing #1284; 5cb01186 contains the mechanical migration, and 9da46c37 later removed legacy implementations. | |
| #360 Migrate non-lifecycle commands to craft-application | rockcraft | closed | Resolved by merged PR #761 (commit 484099f5), which adopted craft-application’s upstream Init command/service and added --project-dir support. | |
| #4614 feat(craft-application): migrate version command | snapcraft | merged | Merged PR #4614 (commit 885106d06) migrated Snapcraft's version command to craft-application, resolving #4468; legacy version handling remained out of scope. | |
| #1284 Migrate store commands to craft-application | charmcraft | closed | Store commands were migrated to craft-application in merged PR #1358 (commit 5cb01186); commit 9da46c37 later removed the unused legacy implementations. | |
| #856 refactor: use craft-application 5 | rockcraft | merged | Merged as commit 2139bcd2: refactored Rockcraft onto craft-application 5 (49 files, +959/-915) after approval from 3 reviewers; later bumped to craft-application 6.0 via #1027. |