gbp-pqgbp-pq — Manage quilt patches on patch queue branches in git |
gbp pq
[--version
] [--help
] [--verbose
] [--color=
[auto|on|off]] [--color-scheme=
COLOR_SCHEME
] [--[no-]patch-numbers
] [--patch-num-format=
format
] [--[no-]renumber
] [--topic=
topic
] [--time-machine=
num
] [--[no-]drop
] [--abbrev=
num
] [--force
] [--commit
] [--meta-closes=bug-close-tags
] [--meta-closes-bugnum=bug-number-format
] [--pq-from=
[DEBIAN|TAG]
] [--upstream-tag=
tag-format
] [--[no-]ignore-new
] [drop
] | [export
] | [import
] | [rebase
] | [switch
]
gbp pq helps one to manage quilt patches in Debian™ packages that are
maintained with gbp. This is especially useful with packages using the
3.0 (quilt) source format. With gbp pq, you can maintain the quilt patches
that should be applied to a package on a separate branch called patch-queue
branch. So if your Debian™ package lives on
master
, the associated patch-queue branch will be
called patch-queue/master
.
See https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.patches.html for example workflows.
|
Create a patch queue branch from quilt patches in debian/patches/ that are listed in debian/patches/series. The patches must apply without fuzz. |
|
Export the patches on the patch-queue branch associated to the current branch into a quilt patch series in debian/patches/ and update the series file. |
|
Switch to the patch-queue branch associated to the current branch and rebase it against the current branch. |
|
Drop (delete) the patch queue associated to the current branch. So if
you're on branch |
|
Add a single patch to the patch-queue similar to using
git-am. Use |
|
Switch to the patch-queue branch if on the base branch and switch to base branch if on patch-queue branch. |
|
Print version of the program, i.e. version of the git-buildpackage suite |
|
Verbose execution |
|
Print help and exit |
|
Whether to use colored output. |
|
Colors to use in output (when color is enabled). The format for
COLOR_SCHEME is
'<debug>:<info>:<warning>:<error>'.
Numerical values and color names are accepted, empty fields imply
the default color. For example,
|
|
Whether or not the patch files should be prefixed with a number.
The default is to export patches with patch numbers. Note,
however, that this normally affects patches whose names are
automatically generated, and has no effect on exporting patches
which have a |
|
The format specifier for patch number prefixes. The default format is '%04d-'. |
|
Whether or not to renumber patches exported from the patch queue,
instead of preserving numbers specified in
|
|
Topic to use when importing a single patch |
|
When importing a patch queue fails, go back commit-by-commit on the
current branch to check if the patch-queue applies there. Do this at
most |
|
Whether to automatically drop (delete) the patch queue branch after a successful export |
|
When exporting a patch queue abbreviate commit, instead of showing the
full 40-byte hexadecimal object name in header lines, show only a
partial prefix of length |
|
In case of |
|
In case of |
|
What meta tags to look for to generate a commit message when
using |
|
What regular expression should be used to parse out the
bug number when using
|
|
How to find the starting point for the patch queue base. The options are DEBIAN, that will use the Debian branch as the base for the patch queue branch, and TAG, that will use the corresponding upstream tag as a base for the patch queue branch.
This is only needed if your upstream branch is not merged in the Debian branch.
The default is |
|
Use this tag format when looking for tags of upstream versions,
default is |
|
Don't abort if there are uncommitted changes in the source tree or
the current branch doesn't match the
|
When exporting patches from a patch-queue branch, gbp pq will look at the patch header for special tags it recognizes. All tags need to start at the first column and require at least one whitespace after the colon.
|
Ignores the commit, no patch is generated out of it. |
|
The name to use for the patch when running gbp pq export
If unset, it will be formatted like git am would format it. |
|
Moves the patch into a subdir called gbp pq export
This allows for some
structure below |
|
Deprecated: use |