&dhemail;
&dhfirstname; &dhsurname;
gbp-pq &dhsection; gbp-pq Manage quilt patches on patch queue branches in git &gbp-pq; &man.common.options.synopsis; format topic num num [DEBIAN|TAG] tag-format DESCRIPTION &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 for example workflows. ACTIONS 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 foo, this would drop branch patch-queue/foo. Add a single patch to the patch-queue similar to using git-am. Use if you want the patch to appear in a separate subdir when exporting the patch queue using . This can be used to separate upstream patches from &debian; specific patches. Switch to the patch-queue branch if on the base branch and switch to base branch if on patch-queue branch. OPTIONS &man.common.options.description; 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 tag, since the name specified is preserved unless the option is used. format 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 tags. The default is not to renumber patches. Useful when patches need to be renamed for the sake of uniformity. For example, using with will strip all numeric prefixes from exported patches. topic Topic to use when importing a single patch NUM 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. Whether to automatically drop (delete) the patch queue branch after a successful export NUM 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 NUM. This is useful when existing patches were not generated by &gbp-pq;. In case of , import even if the patch-queue branch already exists and overwrite its content with debian/patches. In case of , commit debian/patchesthe changes to &git; after exporting the patches. bug-close-tags What meta tags to look for to generate a commit message when using . The default is 'Closes|LP' to support Debian and Launchpad. bug-number-format What regular expression should be used to parse out the bug number when using . The default is '(?:bug|issue)?\#?\s?\d+'. See for details. [DEBIAN|TAG] 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 DEBIAN. TAG-FORMAT Use this tag format when looking for tags of upstream versions, default is upstream/%(version)s. TAGS 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. name The name to use for the patch when running &gbp-pq; export If unset, it will be formatted like git am would format it. topic Moves the patch into a subdir called topic when running &gbp-pq; export This allows for some structure below debian/patches. topic Deprecated: use topic instead. SEE ALSO , dpkg-source 1 , quilt 1 , AUTHOR &dhusername; &dhemail;