overlay: add overlay support to parts (CRAFT-470)
Metadata
Current evaluation
Merged after three approvals. Adds overlay support to parts by defining the work directory and properties for overlay subdirectories and visibility. 149 additions, 37 deletions across six files. Removed Final typing hint for Python 3.7.
Suggested action: —
No scores available.
Issue body
Define the overlay work directory. Add part properties to retrieve
overlay-related subdirectories and identify if a part has overlay
parameters or overlay visibility.
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 |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged after three approvals. Adds overlay support to parts by defining the work directory and properties for overlay subdirectories and visibility. 149 additions, 37 deletions across six files. Removed Final typing hint for Python 3.7. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Implements overlay support for parts by defining the work directory and adding properties to retrieve overlay subdirectories and check visibility. The Final typing hint was excluded to preserve Python 3.7 compatibility. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #111 overlay: add overlayfs helpers (CRAFT-462) | craft-parts | merged | Merged. Added overlayfs mount and unmount helpers, plus utilities to identify special files and directories for filesystem layering. Approved by two reviewers, passed CI, and introduced 420 lines across six files. | |
| #115 overlay: add layer visibility helpers (CRAFT-477) | craft-parts | merged | 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. | |
| #127 overlay: add overlay manager mount operations (CRAFT-80) | craft-parts | merged | Merged implementation of mount operations for the overlay manager, enabling overlay stack mounting during build steps. Approved by two reviewers, passed CI, and added 265 lines across three files. Package installation is deferred to a future commit. | |
| #110 feat: Support overlay | imagecraft | merged | Merged to enable the overlay feature, provide a bare base, and add spread tests. Approved by two reviewers with passing CI checks. Resolves #98 and CRAFT-4269 across 18 files. | |
| #299 feat: enable override-overlay | imagecraft | merged | Merged following approval from two reviewers and passing CI checks. Updated craft-parts to ~2.30 to enable override-overlay support and added a corresponding spread test. | |
| #134 overlay: add overlay package install (CRAFT-81) | craft-parts | merged | Merged. Adds overlay package installation by executing maintainer scripts in a chrooted environment to correctly update the package database. Approved by two reviewers, with clarifications added on pychroot usage and empty file safety. | |
| #1254 feat: allow parts to organize to overlay | craft-parts | merged | Merged. Introduces an overlay target for file organization, moving part build files to the mounted overlay stack. Approved by three reviewers and passed all CI checks. Documentation will be added later when the base creation feature is complete. | |
| #370 docs: explanation section for overlays | craft-parts | merged | Merged documentation update adding an explanation section for overlays. Depends on and incorporates PR #365. Resolves CRAFT-1560. Approved by one reviewer with 273 additions and 9 deletions across eight files. | |
| #135 executor: add overlay step handling (CRAFT-86) | craft-parts | merged | Merged. Adds overlay step handling to the executor, mounting the overlay stack during builds so parts with overlay visibility can access the filesystem for package installation and user scripts. Approved and passed CI. | |
| #478 parts: add a helper to query overlay use | craft-parts | merged | Merged an approved pull request adding a helper to query overlay usage in part specifications. The change includes 64 additions and 8 deletions across three files, received one reviewer approval, and was successfully integrated. |