feat: track content migrated to partitions
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you added an entry to the changelog (`docs/reference/changelog.rst`)?
-----
Enable migrating content from the overlay to different partitions using the provided FilesystemMounts.
Migrated content is tracked per partition in the default state file via a new `partitions_contents` key in state files.
To be merged **after** https://github.com/canonical/craft-parts/pull/1108
CRAFT-4584
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds a partitions_contents state key to track content migrated to partitions. Resolves default partition handling conflicts and updates the changelog. Merged after craft-parts PR 1108. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1110 feat: cleaning with partitions | craft-parts | merged | 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. | |
| #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. | |
| #1144 feat: Use the first partition in the list as the default | craft-parts | merged | Merged. Treats the first partition as default, supporting custom names and explicit default references. Migration states now track partition names. Approved by two reviewers, passed all CI checks, and modified 30 files. | |
| #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. | |
| #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. | |
| #4463 Enable craft-parts partitions feature | snapcraft | closed | Implemented craft-parts partitions by defining a default partition for snap data without altering existing behavior. Added spread tests for partition environment variables and keywords. Completed and merged via pull request #4493. | |
| #475 feat: update partitions docs | craft-application | merged | Merged documentation update for partitions, correcting instructions on resetting Features and overriding Application methods. Approved by three reviewers, passed CI, and modified two files. |