Package gbp :: Package scripts :: Module pq_bb
[hide private]
[frames] | no frames]

Module pq_bb

manage patches in a patch queue

Functions [hide private]
 
rm_patch_files(bbfile)
Delete the patch files listed in the pkg meta data.
 
update_patch_series(repo, bbfile, start, end, options)
Export patches to packaging directory and update recipe file
 
var_to_str(var, value)
Create a well formatted string buffer for a variable assignment
 
find_upstream_commit(repo, bbfile, upstream_tag)
Find commit corresponding upstream version
 
export_patches(cfg, repo, options)
Export patches from the pq branch into a packaging branch
 
bb_to_patch_series(bbfile)
Get all local patches as a series
 
import_bb_patches(cfg, repo, options)
Apply a series of patches in a recipe to branch onto a pq branch
 
rebase_pq(cfg, repo, options)
Rebase pq branch on the correct upstream version
 
switch_pq(cfg, repo, options)
Switch to patch-queue branch if on base branch and vice versa
 
drop_pq_bb(cfg, repo, options)
Remove pq branch
 
switch_to_pq_branch(cfg, repo, branch, options)
Switch to patch-queue branch if not already there, create it if it doesn't exist yet
 
apply_single_patch(cfg, repo, patchfile, options)
Apply a single patch onto the pq branch
 
opt_split_cb(option, opt_str, value, parser)
Split option string into a list
 
build_parser(name)
Create command line argument parser
 
parse_args(argv)
Parse command line arguments
 
main(argv)
Main function for the gbp pq-rpm command
Variables [hide private]
  USAGE_STRING = '%prog [options] action - maintain patches on a...
  __package__ = 'gbp.scripts'
Variables Details [hide private]

USAGE_STRING

Value:
'''%prog [options] action - maintain patches on a patch queue branch
tions:
export         Export the patch queue / devel branch associated to the
               current branch into a patch series in and update the re\
cipe file
import         Create a patch queue / devel branch from recipe file
               and patches in current dir.
rebase         Switch to patch queue / devel branch associated to the \
...