CDBS-EDIT-PATCH(1)

πŸ“¦ version 0.4.167, in debian bookworm, epel 10, epel 9, ubuntu jammy, ubuntu noble

πŸ’… 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:

  1. it sets up a temporary working source tree ✨
  2. 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" πŸ”€
  3. 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-patch creates patchname for you πŸŽ‰

and that's the whole flow. no drama, no surprises, just patches. 😌


πŸ‘‘ AUTHOR πŸ‘‘

  • CDBS was written by Colin Walters and others. 🫢
  • cdbs-edit-patch was 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 πŸ“

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