← Back to issue list

overlay: add layer visibility helpers (CRAFT-477)

View original Github issue

Metadata

Project
craft-parts
Number
#115
Type
pull request
State
merged
Author
cmatsuoka
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #115 in commit 0cd9d342, adding overlay layer visibility helpers that account for whiteout entries and opaque directories.

Resolution: closed resolved

Reason: The pull request was approved and merged, resolving CRAFT-477 with helpers for identifying migratable files and directories in overlay layers. Merge commit: 0cd9d342.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Add helper functions to obtain the sets of migratable files and directories from each overlay layer considering whited out entries and opaque directories. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #115 in commit 0cd9d342, adding overlay layer visibility helpers that account for whiteout entries and opaque directories.
stealth/space-bunny-alpha — closed resolved Merged #115 via commit 0cd9d342, adding overlay-layer visibility helpers that identify migratable files and directories while handling whiteouts and opaque directories.
stealth/space-bunny-alpha — closed resolved Merged PR #115 in commit 0cd9d342, adding helpers to identify migratable overlay files and directories while accounting for whiteouts and opaque directories.
qwen/qwen3.6-35b-a3b — — Merged after two approvals. Introduces helper functions to extract migratable files and directories from overlay layers, correctly processing whiteout entries and opaque directories. The change adds 315 lines across three files.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Adds helper functions to retrieve migratable files and directories from overlay layers, handling whiteout entries and opaque directories. Tests updated to use lower_dir and upper_dir naming.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#113 overlay: add overlay support to parts (CRAFT-470) craft-parts merged Merged #113 via commit 2d90e608, adding overlay work-directory definitions, overlay subdirectory properties, and detection of overlay parameters and visibility for CRAFT-470.
76%
#111 overlay: add overlayfs helpers (CRAFT-462) craft-parts merged Merged PR #111 via commit 7424a039, adding OverlayFS mount/unmount helpers and detection for special files and directories used in filesystem layering.
75%
#121 overlay: migrate overlay data to stage and prime (CRAFT-468, CRAFT-82) craft-parts merged Merged PR #121 as d45d7079, moving overlay data into stage/prime, translating whiteouts and opaque directories to OCI, and cleaning shared overlay data.
72%
#138 many: handle layer reapplication (CRAFT-83, CRAFT-85) craft-parts merged Merged PR #138 (21e146f2), adding layer-state tracking and reapplication of upper overlay layers to preserve modified files, whiteouts, and opaque directories.
71%
#163 oci: handle opaque whiteouts in new layer (usrmerge) rockcraft merged Merged as commit 501e6eae, adding opaque-whiteout handling so usrmerge layers can explicitly hide base-layer symlinks while preserving them otherwise.
71%