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

Module import_bb

Import an RPM package in Bitbake format

Classes [hide private]
  SkipImport
Nothing imported
Functions [hide private]
 
set_bare_repo_options(options)
Modify options for import into a bare repository
 
build_parser(name)
Create command line parser
 
parse_args(argv)
Parse commandline arguments
 
init_repo(path)
Check and initialize Git repository
 
recursive_copy(src, dst)
Recursive copy, overwriting files and preserving symlinks
 
guess_upstream_source(pkg_data, remotes)
Guess the primary upstream source archive.
 
bb_get_files(pkg_data, tgt_dir, whole_dir=False, download=True)
Get (local) packaging files
 
import_upstream_archive(repo, pkg_data, fetch_data, dirs, options)
Import upstream sources from archive
 
import_upstream_git(repo, fetch_data, options)
Import upstream sources from Git
 
import_upstream_sources(repo, pkg_data, remotes, dirs, options)
Import upstream sources to Git
 
main(argv)
Main function of the gbp import-bb script
Variables [hide private]
  NO_PACKAGING_BRANCH_MSG = '\nRepository does not have branch \...
  __package__ = 'gbp.scripts'
Variables Details [hide private]

NO_PACKAGING_BRANCH_MSG

Value:
'''
Repository does not have branch \'%s\' for meta/packaging files.
You need to reate it or use --packaging-branch to specify it.
'''