Man page - patchedit(1)
Packages contains this manual
- dpt-gen-itp(1)
- patchedit(1)
- dpt-cd(1)
- dpt-lp-mass-subscribe(1)
- dpt-rename-uploader(1)
- dpt-lib.sh(5)
- dpt-prepare(1)
- dpt-shell-lib(1)
- dpt-takeover(1)
- dpt-uscan(1)
- dpt-clean-mr-repos(1)
- dpt-invite-github(1)
- dpt-missing-upload(1)
- dpt-missing-pristine-tar(1)
- dpt-never-uploaded(1)
- dpt-ci-failures(1)
- dpt-push(1)
- dpt-missing-upstream(1)
- dpt-ready-for-upload(1)
- dpt-get-ubuntu-packages(1)
- dpt-gc(1)
- dpt-fixup(1)
- bts-retitle(1)
- bts-srcpkg(1)
- dpt-dch-note(1)
- dpt-new-upstream(1)
- dpt-co(1)
- dpt(1)
- dpt-salsa(1)
- dpt-import-orig(1)
- dh-make-perl-dev(1)
- dpt-packagecheck(1)
- dpt-repack.sh(1)
- dpt-debian-upstream(1)
- dpt-checkout(1)
- pristine-orig(1)
- dpt-config(5)
- dpt-upstream-repo(1)
- dpt-forward(1)
- dpt-github-oauth(1)
apt-get install pkg-perl-tools
Manual
patchedit
NAMESYNOPSIS
DESCRIPTION
COMMANDS
ARGUMENTS
OPTIONS
ENVIRONMENT
NOTE
TODO
COPYRIGHT AND LICENSE
NAME
patchedit - Edit headers of a patch according to DEP3
SYNOPSIS
patchedit [ command ] patchfile
DESCRIPTION
patchedit is a helper script for managing patch headers according to <http://dep.debian.net/deps/dep3/>.
COMMANDS
edit (default)
Opens patchfile in EDITOR (or VISUAL or sensible-editor) and
|
• |
checks all headers |
|||
|
• |
marks problems |
|||
|
• |
adds missing required headers with proposals for their values |
If no command is given, edit is chosen automatically.
check
Does a non-interactive check if the headers conform to DEP3. Prints the results (missing required headers, wrong values, ...) to stdout.
ARGUMENTS
patchfile (required)
The patch to work on.
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.
ENVIRONMENT
patchedit respects DEBEMAIL (or EMAIL) and DEBFULLNAME (for new Author or Reviewed-by headers).
NOTE
This script is not pkg-perl specific. It should go into devscripts eventually.
TODO
* preserve the
extra fields
* preserve the order of the fields
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.