CDBS-EDIT-PATCH(1)
π CDBS-EDIT-PATCH β the girlies' guide π
okay so real talk, this is cdbs-edit-patch from the CDBS manual pages, and it's genuinely one of those tools that sounds scary but is lowkey just a little bestie that holds your hand through making patches. no cap.
β¨ NAME β¨
cdbs-edit-patch β create or edit a CDBS simple-patchsys.mk patch π
like. that's it. that's the whole job. she makes patches and she edits patches. iconic behavior honestly.
πΈ SYNOPSIS πΈ
cdbs-edit-patch patchname
one argument. one. we love a low-maintenance queen π«Ά
π¦ DESCRIPTION π¦
so here's the tea: cdbs-edit-patch creates or edits patches that get used by the CDBS simple-patchsys.mk patch system. if you wanna know more about CDBS in general (and honestly you should, she's a whole vibe), go read the docs sitting pretty under /usr/share/doc/cdbs/. π
π
when patchname already exists
when patchname exists, cdbs-edit-patch does this whole little routine for you:
- it sets up a temporary working source tree β¨
- it applies all patches up to and including
patchnameβ in lexicographic order, which is a fancy way of saying "alphabetical-ish, don't fight it" π€ - it spawns an interactive shell for you, the developer π
then you just... vibe. edit files in that working tree, do your thing, be the main character. and when you're done and you exit the shell, cdbs-edit-patch updates patchname to reflect the changes you made. periodt. π«
β οΈ wanna abort the whole process from inside the interactive shell? just exit with a nonzero exit value. that's the escape hatch, bestie, use it if you need it. πͺ
π when patchname does not exist
when patchname does not exist, cdbs-edit-patch is like "oh? new patch? say less" and assumes a brand new patch should be created. π
same energy as above, fr fr:
- it first creates a temporary working source tree π³
- it applies all patches up to the new patch, again in lexicographic order
- then when you quit the shell,
cdbs-edit-patchcreatespatchnamefor you π
and that's the whole flow. no drama, no surprises, just patches. π
π AUTHOR π
- CDBS was written by Colin Walters and others. π«Ά
cdbs-edit-patchwas written by Martin Pitt. β¨- This manual page was written by Peter Eisentraut, based on the
dpatch-edit-patch(1)manual page. π
the way they all contributed... we stan a collaborative effort. π
π SEE ALSO π
- CDBS documentation in
/usr/share/doc/cdbs/ /usr/share/cdbs/1/rules/simple-patchsys.mkdpatch-edit-patch(1)quilt(1)
go read them, iykyk πβ¨
and that's the page, babe! this one's from Debian, dated 5 Feb 2006, and it lives in the CDBS-EDIT-PATCH(1) section of your friendly neighborhood manual. go make some patches, you're doing amazing sweetie πππ¦πΈπ
π¦ where this page comes from
- debian bookworm: cdbs 0.4.166 Β· GPL-3.0-or-later
- epel 10: cdbs 0.4.167-1.el10_0 Β· GPL-2.0-or-later
- epel 9: cdbs 0.4.163-4.el9 Β· GPLv2+
- ubuntu jammy: cdbs 0.4.163ubuntu2 Β· GPL-3.0-or-later
- ubuntu noble: cdbs 0.4.166 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms