|Building Debian Packages with git-buildpackage: Version: 0.6.7|
gbp pq [
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/piki/development/debian_packages_in_git/ for example workflows.
Create a patch queue branch from quilt patches in debian/patches/ that are listed in debian/patches/series.
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 foo this would drop branch patch-queue/foo.
Add a single patch to the patch-queue similar to using
Switch to the patch-queue branch if on the base branch and switch to base branch if on patch-queue branch.
Whether to use colored output.
Whether the patch files should start with a number or not.
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 NUM times. This can be useful if the patch-queue doesn't apply to the current branch HEAD anymore, e.g. after importing a new upstream version.
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.
Moves the patch into a subdir called topic when running
gbp pq exportThis allows for some structure below debian/patches.
|<<< gbp-pull||gbp-create-remote-repo >>>|