← Back to issue list

features: introduce craft-parts features

View original Github issue

Metadata

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

Current evaluation

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.

Resolution: closed superseded

Reason: The identical feature proposal in canonical/craft-parts#367 was merged as commit 16a81f95, introducing configurable feature flags and conditionally suppressing overlay action generation.

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 by the application. Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- CRAFT-1531

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded 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.
stealth/space-bunny-alpha — closed resolved Merged #367 via commit 16a81f95, adding configurable feature flags and an overlay flag that disables overlay action generation when requested.
qwen/qwen3.6-35b-a3b — — Abandoned after 1315 days with no reviews or CI checks. The change introduced a configurable features system for craft-parts, including a minimal overlay implementation, but was closed without merging.
qwen3.6-35b-a3b-mtp-q6 — — Merged a pull request introducing a feature flag system to craft-parts. The implementation enables applications to toggle specific behaviors, including an initial overlay feature that controls overlay action generation.

Update history

No update history recorded yet.

Related work

  • Superseded By: canonical/craft-parts#367 (confidence 99%)

    Merged replacement with the same title and changes, via commit 16a81f95.

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.
88%
#367 features: introduce craft-parts features craft-parts merged Merged PR #367 via commit 16a81f95, introducing configurable craft-parts features and an overlay toggle that suppresses overlay action generation when disabled.
86%
#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.
71%
#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.
71%
#362 feat: add a method to enable craft-parts Features craft-application merged Merged craft-application#362 in commit 9ba1d2a8, adding an Application hook to enable craft-parts features after logging setup and before plugin setup.
70%
#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.
70%