← Back to issue list

[DRAFT] chore: refactor lifecycle commands

View original Github issue

Metadata

Project
craft-application
Number
#339
Type
pull request
State
closed
Author
mr-cal
Labels
Created
Updated
Closed

Current evaluation

Refactoring lifecycle commands was abandoned due to implementation issues. The maintainer closed the draft pull request and superseded it with pull request #340.

Suggested action:

No scores available.

Issue body

- [ ] Have you followed the guidelines for contributing? - [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you successfully run `tox`? ----- A first attempt at refactoring the lifecycle commands to: 1. Remove the `parts` argument from the `pack` command 2. Add another `pack` command that can skip running the lifecycle This prototype isn't working very well, especially because `*craft pack` has to load a project and `*craft pack <directory>` does not.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Refactoring lifecycle commands was abandoned due to implementation issues. The maintainer closed the draft pull request and superseded it with pull request #340.
qwen3.6-35b-a3b-mtp-q6 Closed as a draft due to inconsistent project loading behavior. Superseded by pull request #340, which continues the lifecycle command refactoring.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1538 chore: replace most lifecycle commands with upstream ones charmcraft merged Merged. Replaced most lifecycle commands with upstream versions, removing 297 lines across two files. Approved by three reviewers. Unit tests were not removed since only the pack command had substantial tests, which still requires upstream extension.
71%
#1283 Make all lifecycle commands available charmcraft closed Abandoned. Closed without resolution or comments. The requested lifecycle commands were not implemented.
71%
#5037 [draft] chore(merge): 8.3.4 into merge/8.3.4 snapcraft closed Closed without merging. This draft pull request outlined prerequisites for merging version 8.3.4 and updating changelogs but was abandoned, likely superseded by subsequent release workflows.
70%