Add a Patches Directive to Allow Custom Patching on top of the Source Tree
Metadata
Current evaluation
Feature request for a patches directive to apply local patches to the source tree during the pull stage. A maintainer gave design feedback (prefer git-based approach, override-pull), and PR #1588 is open to implement it with unresolved review comments.
Suggested action: keep open
Reason: Maintainer steinbro triaged the request on 2026-05-20, validating the motivation while redirecting the design away from the Debian patch scheme toward git-ubuntu-style patching and override-pull, and an open PR (craft-parts#1588) explicitly implements this directive and closes the issue. The work is not done (PR has 6 unresolved comments and failing CI) and no patches directive exists in the codebase, so the issue remains valid and in progress rather than stale or moot.
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.8-27b |
Impact:
45
Quick Win:
18.0
Staleness:
45
Complexity:
60
Confidence:
80
Support Request:
10
|
keep open | Feature request for a patches directive to apply local patches to the source tree during the pull stage. A maintainer gave design feedback (prefer git-based approach, override-pull), and PR #1588 is open to implement it with unresolved review comments. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
30
Complexity:
60
Confidence:
75
Support Request:
10
|
needs triage | Feature request to add a native patches directive to craft-parts for applying custom patches during the pull stage. Currently under discussion with a maintainer suggesting Git-based approaches and override-pull instead. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
45
Complexity:
65
Confidence:
85
Support Request:
10
|
needs triage | Proposal to add a native patches directive to craft-parts for applying custom patches during the pull stage. Currently open with one maintainer comment suggesting Git-based implementation and further discussion. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
25
Complexity:
45
Confidence:
80
Support Request:
10
|
keep open | Proposes a native patches directive in craft-parts to auto-apply local patches during pull. Under discussion; maintainer agrees with the motivation but recommends leveraging Git and override-pull instead of a Debian-style scheme. |
Update history
No update history recorded yet.
Related work
-
Related To:
craft-parts#1588
(confidence 85%)
Open PR titled 'Add Patches Directive' that closes this issue; has 1 approval but 6 unresolved review comments, failing CI, and an open design discussion over the hardcoded -p1 flag, so it is not yet a fix.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1588 Add Patches Directive | craft-parts | open | Adds a patches directive applying a list of patch files to the source tree during the pull stage (closes #1587). Approved by 1 reviewer, but 6 unresolved review comments, failing CI, and an open design discussion over the hardcoded -p1 flag. |