patchedit(1)
β¨ patchedit(1) β¨
okay bestie, so this is a page from the Debian Perl packaging Tools manual, and it's called patchedit. it lives in section 1 of the man pages, aka the "commands you actually type" section π
. buckle up, it's DEP3 o'clock π¦
πΈ NAME πΈ
patchedit β edit the headers of a patch so they follow DEP3 π
π SYNOPSIS π
patchedit [command] patchfile
π DESCRIPTION π
patchedit is a little helper script whose whole personality is managing patch headers according to <http://dep.debian.net/deps/dep3/> β¨. that's it, that's the job, she's a headers girlie π
π COMMANDS π
edit(and this is the default, so she's the main character) β opens patchfile inEDITOR(orVISUALorsensible-editor, she'll ask all three, no cap), and then:- checks all headers π
- marks problems π©
- adds the missing required headers, and yes she comes with proposals for their values, she's thoughtful like that π«Ά
and if you don't give her any command at all? edit gets chosen automatically, periodt.
checkβ does a non-interactive check to see whether the headers actually conform to DEP3. prints the results to stdout: missing required headers, wrong values, that kind of drama π.
π ARGUMENTS π
- patchfile (required) β the patch you want to work on. she's not optional bestie, you have to give her one πΈ
β¨ OPTIONS β¨
-f,--fixβ tries to fix problems in the headers when editing/checking patches π§-o,--optionalβ also add/print missing optional headers β¨-h,--helpβ help output, for when you forgot how she works π
π ENVIRONMENT π
patchedit respects DEBEMAIL (or EMAIL) and DEBFULLNAME β those are the ones she uses for new Author or Reviewed-by headers π.
π§ NOTE π§
This script is not pkg-perl specific. It should go into devscripts eventually β she's got bigger dreams than her current repo, honestly π¦
π TODO π
- preserve the extra fields
- preserve the order of the fields
(she knows. she's working on it. give her time π)
π COPYRIGHT AND LICENSE π
Copyright 2010, Jozef Kutej <jkutej@cpan.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. πͺ
and that's the whole page, bestie!! this little cutie came to you from pkg-perl-tools 0.88, dated 2026-04-01, filed under patchedit(1). go check those headers, they're not gonna DEP3 themselves πβ¨π
π¦ where this page comes from
- ubuntu stonking: pkg-perl-tools 0.88 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms