parts: integrate craft-parts (CRAFT-765)
Metadata
Current evaluation
Merged after reviewer approval and passing CI checks. Integrates craft-parts for part validation and lifecycle processing. Modifies 12 files, adding 369 lines and removing 20, fulfilling CRAFT-765.
Suggested action: —
No scores available.
Issue body
Use craft-parts to validate project parts and to process the parts
lifecycle.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [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 `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh tests/unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after reviewer approval and passing CI checks. Integrates craft-parts for part validation and lifecycle processing. Modifies 12 files, adding 369 lines and removing 20, fulfilling CRAFT-765. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Integrated craft-parts to validate project parts and process the parts lifecycle. The change passed static and unit tests, received maintainer approval, and was successfully merged. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Integrated craft-parts to validate project parts and manage the parts lifecycle. Merged after passing static and unit tests, with CLA and contribution guidelines confirmed. No additional discussion required. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #3909 parts: use part validator from craft-parts | snapcraft | merged | Merged into main. Replaced the local part validator with the shared craft-parts implementation, removing 119 lines across six files. Approved by reviewers, passed CI, and increased test coverage by 0.80%. | |
| #3 parts: add parts support (CRAFT-27) | rockcraft | merged | Merged after approval. Integrates craft-parts to add initial parts processing support to Rockcraft. Changes span 11 files with 375 additions and 6 deletions. Zero unresolved comments and passing CI checks. | |
| #799 Update craft parts, minor build and ci fixes | rockcraft | merged | Merged after two reviewers approved and CI passed. The update modifies craft parts and resolves minor build and CI issues, changing 381 lines across eight files. | |
| #25 parts: add PartsLifecycle support | craft-application | merged | Merged into main following reviewer approval and passing CI. Adds PartsLifecycle support to the parts module, modifying 9 files with 100% test coverage. Addresses CRAFT-1752. | |
| #1334 refactor(parts): move craft-parts related things into their own package | charmcraft | merged | Merged a refactor that moves craft-parts components into a dedicated package. Approved by two reviewers with zero unresolved comments. The change modifies 16 files, adding 960 lines and removing 794. | |
| #294 docs: import Craft Parts documentation fragments | rockcraft | merged | Merged after two reviewers approved and requested rebasing to sync with main. The change imports Craft Parts documentation fragments. CI passed, and preview confirms successful integration pending a Craft Parts release. | |
| #458 build: integrate craft-parts lifecycle (CRAFT-89, CRAFT-367, CRAFT-357) | charmcraft | merged | Integrated the craft-parts lifecycle to execute the charm builder via a craft-parts charm build plugin. Merged after two approvals and passing CI checks. Author plans to refactor plugin-level transformations in a follow-up. | |
| #19 parts: add craftctl support | rockcraft | merged | Merged after reviewer approval. Updated craft-parts to 1.4.1 and enabled craftctl support in step overrides across 16 files. Changes totaled +145/-66 lines. All CI checks passed with no unresolved comments. | |
| #207 build(deps): use craft-parts 2.23.0 | imagecraft | merged | Merged following three approvals and successful CI validation. Updated the craft-parts dependency to version 2.23.0, modifying six files with a net addition of 115 lines. | |
| #466 pack: implement bundle plugin (CRAFT-360) | charmcraft | merged | Implemented the craft-parts bundle plugin and integrated the parts lifecycle into the bundle packing command. Merged following dual reviewer approval and passing CI checks, modifying six files with 191 additions and 124 deletions. |