← Back to issue list

Use upstream craft-application lifecycle commands

View original Github issue

Metadata

Project
charmcraft
Number
#1412
Type
issue
State
closed
Author
lengau
Labels
—
Created
Updated
Closed

Current evaluation

Lifecycle migration completed by PR #1538 (5e3b927c); PR #1704 (cfc37020) finished the remaining pack migration cleanup using upstream craft-application commands.

Resolution: closed resolved

Reason: PR #1538 replaced the custom lifecycle commands with craft-application equivalents, and PR #1704 (cfc37020) completed the pack migration cleanup. The issue’s requested upstream command adoption was therefore implemented and merged.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Replace the custom lifecycle commands with upstream craft-application ones. * Pack should be split into the regular pack and a pack-bundle command * Deprecate --base-index ### Why it needs to get done We're repeating work from craft-application

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Lifecycle migration completed by PR #1538 (5e3b927c); PR #1704 (cfc37020) finished the remaining pack migration cleanup using upstream craft-application commands.
stealth/space-bunny-alpha — closed resolved Lifecycle migration landed in #1538 (5e3b927c); follow-up #1704 (cfc37020) completed the outstanding pack cleanup.
stealth/space-bunny-alpha — closed resolved PR #1538 (5e3b927c) replaced most lifecycle commands with upstream craft-application equivalents; PR #1704 later completed pack migration cleanup.
stealth/space-bunny-alpha — closed superseded Closed as a duplicate of #1532, where upstream lifecycle commands landed in merged PR #1538 (5e3b927c).
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The proposal to replace custom lifecycle commands with upstream craft-application equivalents and deprecate --base-index was abandoned or superseded by upstream updates. No related pull requests were created.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposal to replace custom lifecycle commands with upstream craft-application equivalents, split pack into pack and pack-bundle, and deprecate --base-index was abandoned or superseded due to lack of follow-up.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The proposal to replace custom lifecycle commands with upstream craft-application equivalents was abandoned or superseded by upstream changes, with no follow-up work or pull requests created.
qwen3.6-35b-a3b-mtp-q6 — — Closed without implementation. The request to replace custom lifecycle commands with upstream craft-application equivalents was abandoned or superseded by upstream updates, as no comments or resolution details were provided.

Update history

No update history recorded yet.

Related work

  • Likely Fixed By: canonical/charmcraft#1538 (confidence 98%)

    Replaced most custom lifecycle commands with upstream craft-application equivalents.

  • Likely Fixed By: canonical/charmcraft#1704 (confidence 98%)

    Completed the remaining craft-application pack migration cleanup.

Related issues

Issue Project State Summary Similarity
#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).
85%
#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.
83%
#1704 craft-application migration cleanup: pack command charmcraft merged Merged #1704 (commit cfc37020), removing the obsolete craft-application migration pack command missed during earlier cleanup.
77%
#1538 chore: replace most lifecycle commands with upstream ones charmcraft merged Merged as commit 5e3b927c, replacing most lifecycle commands with craft-application upstream commands; pack extension remained outstanding.
76%
#366 Migrate lifecycle commands rockcraft merged Merged lifecycle-command migration in Rockcraft PR #366 (commit e28d53f7), replacing legacy lifecycle commands with craft-application implementations.
76%
#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.
74%
#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.
74%
#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.
72%
#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.
72%
#1275 feat: use craft-application for pack command charmcraft closed Closed unmerged as superseded after a get_build_plan error. The broader craft-application migration landed in #1538 (5e3b927c), followed by pack-command cleanup in #1704 (cfc37020).
71%