Migrate remaining lifecycle commands to craft-application
Metadata
Current evaluation
Resolved by rockcraft PR #395, merged into main; commits e28d53f7 and 0b44fd60 removed legacy lifecycle commands and completed the craft-application migration.
Resolution: closed resolved
Reason: PR #395 merged the feature branch into main, with e28d53f7 (“refactor: drop lifecycle commands”) and 0b44fd60 (“refactor: drop rockcraft.lifecycle”) removing the legacy implementation. The pack command had already been migrated in PR #354.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
Issue https://github.com/canonical/rockcraft/issues/316 addressed the `pack` command, and now we need the remaining lifecycle ones. Note that `clean` needs https://github.com/canonical/craft-application/issues/56 first.
### Why it needs to get done
For parity!
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Resolved by rockcraft PR #395, merged into main; commits e28d53f7 and 0b44fd60 removed legacy lifecycle commands and completed the craft-application migration. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR canonical/charmcraft#1538 (5e3b927c) migrated the remaining lifecycle commands to craft-application implementations, completing the parity work. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as abandoned. No pull requests or comments were created, indicating the migration of remaining lifecycle commands was not completed and superseded by later development. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The migration of remaining lifecycle commands to craft-application was abandoned or superseded by later work. No comments or linked pull requests were created. | |
| qwen/qwen3.6-35b-a3b | — | — | Migration of remaining lifecycle commands to craft-application was abandoned. The issue closed without comments or linked pull requests, indicating the task was superseded or deferred. | |
| qwen/qwen3.6-35b-a3b | — | — | Migration of remaining lifecycle commands to craft-application was closed without action. Zero comments and prolonged inactivity indicate the task was abandoned, with no resolution or follow-up work recorded. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without implementation or linked resolution. The migration of remaining lifecycle commands to craft-application was abandoned or superseded by subsequent work. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/rockcraft#395
(confidence 99%)
Merged the remaining lifecycle-command migration into main.
-
Related To:
canonical/rockcraft#316
(confidence 95%)
Precedent issue covering migration of the pack command.
-
Blocked By:
canonical/craft-application#56
(confidence 90%)
Identified in the issue as the prerequisite for the clean command.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #366 Migrate lifecycle commands | rockcraft | merged | Merged lifecycle-command migration in Rockcraft PR #366 (commit e28d53f7), replacing legacy lifecycle commands with craft-application implementations. | |
| #1412 Use upstream craft-application lifecycle commands | charmcraft | closed | Lifecycle migration completed by PR #1538 (5e3b927c); PR #1704 (cfc37020) finished the remaining pack migration cleanup using upstream craft-application commands. | |
| #1532 Use craft-application lifecycle commands | charmcraft | closed | Most bespoke lifecycle commands were replaced with craft-application's upstream commands by merged PR #1538 (commit 5e3b927c); pack cleanup followed in #1704 (cfc37020). | |
| #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. | |
| #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. | |
| #4830 refactor: migrate commands to craft-application | snapcraft | merged | Merged #4830 as commit 0bee3723c, migrating remaining commands to core24/craft-application; init, list-plugins, and command reference docs now use core24. | |
| #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. | |
| #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. | |
| #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. | |
| #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. |