feat: cleaning with partitions
Metadata
Current evaluation
Merged after craft-parts PR #1109. Properly cleans the shared area while accounting for partitions, resolving issue #665. Includes a changelog entry and passed three reviews.
Suggested action: —
No scores available.
Issue body
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Properly clean shared area taking into account the partitions.
To be merged **after** https://github.com/canonical/craft-parts/pull/1109
CRAFT-4585
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after craft-parts PR #1109. Properly cleans the shared area while accounting for partitions, resolving issue #665. Includes a changelog entry and passed three reviews. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged after craft-parts#1109. Properly cleans the shared area while accounting for partitions, resolving issue #665. Includes a changelog entry for the fix. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #634 Clean partitions directories | craft-parts | closed | Implemented partition directory cleanup during craft-parts part cleaning to prevent dirty build environments. Resolved and merged via pull request #652. | |
| #600 feat(partitions): handle namespaced partitions in utils | craft-parts | merged | Merged following two reviewer approvals and passing CI. Updates utility functions to handle namespaced partitions across eight files (+229/-72 lines). Resolves #596 and CRAFT-2303. | |
| #88 feat: create craft partitions from structure items | imagecraft | merged | Merged implementation of dynamic craft partition creation from structure items in the Volumes section, resolving issue #81. Approved by two reviewers and passed CI checks across 12 files. | |
| #1109 feat: track content migrated to partitions | craft-parts | merged | Merged after craft-parts PR 1108. Introduces a partitions_contents key in state files to track content migrated to partitions. Resolves None versus default partition handling conflicts. Approved by three reviewers and passed CI checks. | |
| #652 feat(partitions): clean partition directories | craft-parts | merged | Merged changes cleaning partition directories when the partitions feature is enabled. Approved by two reviewers, passed CI, and resolves issue #634. | |
| #763 partitions feature documentation | craft-parts | merged | Merged documentation for the partitions feature targeting application developers. Approved by two reviewers, the update adds 66 lines and removes 5 across nine files, resolving CRAFT-3030. | |
| #493 partitions: validate usage of partitions in parts | craft-parts | merged | Implemented partition validation for filepaths in the organize, overlay, stage, and prime keywords within parts. Merged after reviewer approval and passing CI checks, modifying seven files to resolve CRAFT-1844. | |
| #754 Document Partitions | craft-parts | closed | Completed and merged via pull request #763 in canonical/craft-parts, adding the requested Partitions documentation to enable application integration and reuse. | |
| #371 docs: add howto for using partitions | craft-application | merged | Merged a how-to guide for using partitions. Approved by two reviewers, the update adds 197 lines across two files to document partition usage within the project. Resolves CRAFT-3068. | |
| #1005 feat: clean the backstage directory | craft-parts | merged | Merged. Implements directory cleaning for the backstage folder, approved by two reviewers, passing CI, and modifying four files (+46 lines). Addresses CRAFT-3992. |