EDIT-PATCH(1)
β¨ EDIT-PATCH(1) β General Commands Manual π
πΈ NAME
bestie, okay so this one is edit-patch and add-patch π¦ β tools for preparing patches for Debian source packages. literally the cutest little duo π
π§ SYNOPSIS
edit-patch path/to/patch
add-patch path/to/patch
π DESCRIPTION
okay so edit-patch is a wrapper script around the Quilt, CDBS, and dpatch patch systems π₯. it's giving "I'll handle the messy stuff so you don't have to." it simplifies preparing and editing patches to Debian source packages, and you don't have to care which patch system is in use. ngl that's so iconic π. run it from inside the root directory of the source package, and it can edit existing patches sitting in debian/patches β¨.
it can also incorporate brand-new patches π. if you point it at a patch that isn't already there, it copies the patch into debian/patches in the correct format for whatever patch system is in use. then the patch gets applied and a subshell pops open so you can edit it π«Ά. typing exit or pressing Ctrl-d closes the subshell and launches an editor so you can record the debian/changelog entry π.
edit-patch is integrated with the Bazaar and Git version control systems π. the patch gets automatically added to the tree, and the debian/changelog entry becomes the commit message. main character energy, fr fr π.
if no patch system is present, the patch is applied inline, and a copy is stored in debian/patches-applied. π
add-patch is the non-interactive version of edit-patch π. the patch still gets incorporated, but no editor or subshell spawns. quick and clean β.
π AUTHORS
edit-patch was written by Daniel Holbach <daniel.holbach@canonical.com>, Michael Vogt <michael.vogt@canonical.com>, and David Futcher <bobbo@ubuntu.com> π.
This manual page was written by Andrew Starr-Bochicchio <a.starr.b@gmail.com> π«Ά.
Both are released under the terms of the GNU General Public License, version 3 πΈ.
bye bestie, that's the whole tea β β Debian Utilities, EDIT-PATCH(1) πβ¨
π¦ where this page comes from
- debian bookworm: devscripts 2.23.4+deb12u2 Β· GPL-2.0-or-later
- debian trixie: devscripts 2.25.15+deb13u1 Β· GPL-2.0-or-later
- epel 10: devscripts 2.25.5-1.el10_1 Β· GPL-2.0-or-later
- epel 9: devscripts 2.25.5-1.el9 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.19-2.fc43 Β· GPL-2.0-or-later
- fedora 43: devscripts 2.25.33-1.fc43 Β· GPL-2.0-or-later
- fedora 44: devscripts 2.26.5-1.fc44 Β· GPL-2.0-or-later
- nixos 26.05: debian-devscripts 2.26.8
- nixpkgs unstable: debian-devscripts 2.26.8
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- opensuse-leap 16.0: devscripts 2.22.2-160000.2.2 Β· (Artistic-1.0 OR GPL-1.0-or-later) AND Artistic-2.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-or-later AND GPL-3.0-only AND SUSE-Public-Domain AND ISC
- ubuntu jammy: devscripts 2.22.1ubuntu1 Β· GPL-2.0-or-later
- ubuntu jammy: devscripts 2.22.1ubuntu1.2 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7 Β· GPL-2.0-or-later
- ubuntu noble: devscripts 2.23.7ubuntu0.2 Β· GPL-2.0-or-later
- ubuntu questing: devscripts 2.25.19ubuntu2
- ubuntu resolute: devscripts 2.26.7 Β· GPL-2.0-or-later
- ubuntu stonking: devscripts 2.26.11ubuntu1 Β· GPL-2.0-or-later
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms