← Back to issue list

feat: exclude files already distributed to another partition

View original Github issue

Metadata

Project
craft-parts
Number
#1193
Type
pull request
State
merged
Author
upils
Labels
Created
Updated
Closed

Current evaluation

Merged a change simplifying exclusion of already migrated files during overlay migration by recording subpaths instead of tracking whiteout files. Approved by two reviewers, passed all CI checks, and resolves issue #1173.

Suggested action:

No scores available.

Issue body

- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ----- Simplify exclusion of content already migrated to another partition during migration from the overlay. The current approach to track migration of whiteout files makes it difficult to properly exclude them without dealing with quirks of the fuse-overlayfs implementation. So adopt a simpler strategy by recording subpaths already migrated and remove the content under these subpaths from the migration candidates. Fix #1173 CRAFT-4659

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged a change simplifying exclusion of already migrated files during overlay migration by recording subpaths instead of tracking whiteout files. Approved by two reviewers, passed all CI checks, and resolves issue #1173.
qwen3.6-35b-a3b-mtp-q6 Merged changes simplifying exclusion of already-migrated files during overlay partition migration. Replaces complex fuse-overlayfs whiteout tracking with a subpath recording strategy, resolving issue #1173 and fixing failing spread tests.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#667 fix: make overlay and partition features mutually exclusive craft-parts merged Merged a fix enforcing mutual exclusivity between overlay and partitions features, as they are orthogonal. Approved by two reviewers, passed CI, and resolves issue #632.
72%
#1035 feat: reconcile overlays and partition features craft-parts merged Merged. Implements simultaneous overlay and partition feature support, resolving issue #1028. Approved by three reviewers with passing CI. Further tests and refactoring will follow in a subsequent PR.
72%