features: introduce craft-parts features
Metadata
Current evaluation
Merged PR #367 via commit 16a81f95, introducing configurable craft-parts features and an overlay toggle that suppresses overlay action generation when disabled.
Resolution: closed resolved
Reason: PR #367 was merged as commit 16a81f95. The change added feature controls and a minimally intrusive overlay feature implementation, completing the requested functionality.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Craft-parts can now specify features that can be enabled or disabled
to change its behavior in certain scenarios. This change also includes
a minimally intrusive implementation of the overlay feature, which
inhibits the generation of overlay actions when this feature is
disabled.
Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com>
- [ ] 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 #367 via commit 16a81f95, introducing configurable craft-parts features and an overlay toggle that suppresses overlay action generation when disabled. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged #367 in commit 16a81f95, adding configurable feature flags and an overlay switch that suppresses overlay action generation when disabled. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged in #367 via commit 16a81f95, adding configurable craft-parts features and an overlay flag that suppresses overlay action generation when disabled. | |
| qwen/qwen3.6-35b-a3b | — | — | Successfully merged, introducing configurable features for craft-parts including an optional overlay feature to control action generation. Approved by reviewer, passed CI, and integrated after build retrigger. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduces a feature flag system for craft-parts to toggle specific behaviors. Includes an initial overlay feature implementation. Authored by Claudio Matsuoka. CI was retriggered via a close/reopen cycle before final merge. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/craft-parts#407
(confidence 100%)
Follow-up PR reorganized overlay-feature tests and limited CRAFT_OVERLAY setup to enabled runs.
-
Related To:
canonical/craft-parts#406
(confidence 95%)
Follow-up PR added handling for the overlay feature in step lists.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #336 features: introduce craft-parts features | craft-parts | merged | Feature controls landed via canonical/craft-parts#367 in commit 16a81f95, adding configurable features and suppression of overlay actions when the overlay feature is disabled. | |
| #334 features: introduce craft-parts features | craft-parts | closed | Closed unmerged and superseded by canonical/craft-parts#367, which merged the same feature work in commit 16a81f95, adding configurable features and an overlay toggle. | |
| #299 feat: enable override-overlay | imagecraft | merged | Merged in #299 via commit 6d283be, upgrading craft-parts to ~=2.30 and adding spread coverage for override-overlay support. | |
| #602 fix: enable overlays in _enable_craft_parts_features() | rockcraft | merged | Merged #602 (commit 86153dcc), enabling Craft Parts overlays during Rockcraft initialization via Features(enable_overlay=True). | |
| #4083 requirements: update craft-parts to 1.19.0 | snapcraft | merged | Merged PR #4083 (commit 0e2cf91be) bumped craft-parts to 1.19.0, adopting feature selection that makes the overlay step optional and improving dirty checks for plugin-specific property changes. | |
| #98 Enable overlay feature | imagecraft | closed | Overlay support was implemented in imagecraft PR #110 (commit 00f1348), after craft-parts PR #1035 (b575539e) removed the partition/overlay blocker. | |
| #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. | |
| #1035 feat: reconcile overlays and partition features | craft-parts | merged | Merged PR #1035 at commit b575539e, enabling overlay and partition features simultaneously and fixing canonical/craft-parts#1028. | |
| #137 many: add overlay step (CRAFT-84) | craft-parts | merged | Merged craft-parts#137 as commit 1a813210, adding the overlay lifecycle step and subsystem support for package installation and filesystem mutations. | |
| #297 overlay: only refresh overlay packages if necessary | craft-parts | merged | Merged in canonical/craft-parts#297 as commit bb41fdc4, avoiding unnecessary overlay package-cache mount and refresh work for parts without overlay packages. |