Package gbp :: Module command_wrappers
[hide private]
[frames] | no frames]

Module command_wrappers

Simple class wrappers for the various external commands needed by git-buildpackage and friends

Classes [hide private]
  CommandExecFailed
Exception raised by the Command class
  Command
Wraps a shell command, so we don't have to store any kind of command line options in one of the git-buildpackage commands
  RunAtCommand
Run a command in a specific directory
  PristineTar
  UnpackTarArchive
Wrap tar to unpack a compressed tar archive
  PackTarArchive
Wrap tar to pack a compressed tar archive
  CatenateTarArchive
Wrap tar to catenate a tar file with the next
  RemoveTree
Wrap rm to remove a whole directory tree
  Dch
Wrap dch and set a specific version
  DpkgSourceExtract
Wrap dpkg-source to extract a Debian source package into a certain directory, this needs
  UnpackZipArchive
Wrap zip to Unpack a zip file
  GitCommand
Mother/Father of all git commands
  GitInit
Wrap git init
  GitClone
Wrap git clone
  GitBranch
Wrap git branch
  GitFetch
Wrap git fetch
  GitMerge
Wrap git merge
  GitTag
Wrap git tag
  GitAdd
Wrap git add to add new files
Functions [hide private]
list
copy_from(orig_dir, filters=[])
copy a source tree over via tar
Variables [hide private]
  __package__ = 'gbp'
Function Details [hide private]

copy_from(orig_dir, filters=[])

 

copy a source tree over via tar

Parameters:
  • orig_dir (string) - where to copy from
  • filters (list of strings) - tar exclude pattern
Returns: list
list of copied files