module documentation
Manage RPM patches in a patch queue
Function | build |
Construct command line parser |
Function | export |
Export patches from the pq branch into a packaging branch |
Function | find |
Find commit corresponding upstream version |
Function | generate |
Generate patch files from git |
Function | get |
Get packager information from spec |
Function | import |
apply a series of patches in a spec/packaging dir to branch the patch-queue branch for 'branch' |
Function | is |
Check if commit is ancestor of another |
Function | main |
Main function for the gbp pq-rpm command |
Function | parse |
Parse command line arguments |
Function | parse |
Find and parse spec file. |
Function | rebase |
Rebase pq branch on the correct upstream version (from spec file). |
Function | rm |
Delete the patch files listed in the spec file. Doesn't delete patches marked as not maintained by gbp. |
Function | safe |
Safe the current patches in a temporary directory |
Function | switch |
Switch to patch-queue branch if on base branch and vice versa |
Function | update |
Export patches to packaging directory and update spec file accordingly. |
Function | usage |
Undocumented |
apply a series of patches in a spec/packaging dir to branch the patch-queue branch for 'branch'
Parameters | |
repo | git repository to work on |
options | command options |
Find and parse spec file.
If treeish is given, try to find the spec file from that. Otherwise, search for the spec file in the working copy.
Delete the patch files listed in the spec file. Doesn't delete patches marked as not maintained by gbp.
Safe the current patches in a temporary directory
Parameters | |
queue | an existing patch queue |
Returns | |
tuple | safed queue (with patches in tmpdir) |