← Back to issue list

Move the init command to craft-application

View original Github issue

Metadata

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

Current evaluation

Init moved to craft-application and was adopted by Charmcraft in merged PR canonical/charmcraft#1340; upstream PR canonical/craft-application#522 landed it in commit f2a4becf.

Resolution: closed resolved

Reason: craft-application#522 added the generic init service, command, and tests in commit f2a4becf, and Charmcraft PR #1340 merged the migration. Cleanup PR #1520 later removed the obsolete implementation in commit 97fa9229.

Evaluated by: mr-cal-bot

No scores available.

Issue body

### What needs to get done Flesh out and test https://github.com/canonical/charmcraft/tree/craft-app/init ### Why it needs to get done craft-application project

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Init moved to craft-application and was adopted by Charmcraft in merged PR canonical/charmcraft#1340; upstream PR canonical/craft-application#522 landed it in commit f2a4becf.
stealth/space-bunny-alpha — closed resolved Moved init to craft-application via merged charmcraft#1340, integrating craft-application#522, which added the shared init service, command, and tests.
stealth/space-bunny-alpha — closed resolved init command fleshed out and moved into craft-application: charmcraft#1340 merged, with craft-application#522 adding the InitService, command and tests; old code removed later in #1520 (97fa9229).
stealth/space-bunny-alpha — closed resolved Craft-app’s init command was moved to craft-application via merged PR canonical/charmcraft#1340; craft-application#522 added the service, command and tests.
stealth/space-bunny-alpha — closed resolved Moved Charmcraft’s craft-app init command to craft-application in merged PR #1340; the legacy implementation was later removed by merged PR #1520.
qwen/qwen3.6-35b-a3b — — Closed without implementation. The migration of the init command to craft-application was abandoned or superseded, with no comments or merge details recorded.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 60
Confidence: 80
Support Request: 5
needs triage Task to move and flesh out the charmcraft init command into the craft-application library. Currently unlabelled, inactive for over a year, with no maintainer comments or assignee.
qwen3.6-35b-a3b-mtp-q6
Staleness: 90
Complexity: 40
Confidence: 85
Support Request: 10
close stale Task to move the init command to the craft-application project. Unlabelled, with zero comments and over three years of inactivity, indicating it has likely been abandoned or superseded.

Update history

Date Change
closed

Related work

Related issues

Issue Project State Summary Similarity
#1340 feat(craft-app): move init command charmcraft merged PR #1340 by lengau merged, relocating charmcraft's init command into craft-application (with the init service/command/tests) plus lint fixes (+500/-343, 18 files). Later cleanup commit 97fa9229 (#1520) removed the old implementation.
85%
#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.
78%
#5098 Use upstream `init` command from craft-application snapcraft closed Snapcraft adopted craft-application's init command in merged PR #5129 (commit de05a733d), preserving behavior while adding name, profile, and project-dir options.
77%
#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.
76%
#5129 refactor: use init command from craft-application snapcraft merged Merged PR #5129 (de05a733d) replaced Snapcraft’s init command with craft-application’s, fixed #5098, and added name, profile, and project-dir options.
75%
#753 Migrate to craft-application's InitService rockcraft closed Rockcraft replaced its bespoke init implementation with craft-application's InitService in commit 484099f5.
71%