Documents
patches
patches
Type
External
Status
Published
Created
Jun 13, 2026
Updated
Jun 13, 2026
Source
View

Patch management#

Patches apply in alphabetical filename order. Numbers in filenames control application order.

Lifecycle#

Add patch → Upstream-Status header → track upstream PR →
upstream merges → junction bump includes fix → drop patch

Every patch is maintenance debt. Drop as soon as it's upstream.

Junction bumps#

When bumping a junction: verify every patch in the relevant patches/ directory still applies; update or drop any that target a ref: no longer in the new junction. Kernel patches (patches/linux/) apply against kernel source — verify against the new kernel version too.

Required header#

Every patch must have an Upstream-Status: header:

ValueMeaning
SubmittedPR or MR opened upstream
AcceptedUpstream merged, waiting for junction bump
PendingNot yet submitted
Not-applicableDakota-specific, will never go upstream

Include upstream commit or PR link when backporting.

Exit conditions#

Document the exit condition in the patch header:

# Exit: Drop when fdsdk bumps to X.Y
# Exit: Drop after GBM gnome-50 reaches commit abc123