Known subclasses: gbp.deb.pristinetar.DebianPristineTar

The pristine-tar branch in a git repository

Class Variable cmd Undocumented
Class Variable branch Undocumented
Method __init__ Undocumented
Instance Variable repo Undocumented
Method has_commit Do we have a pristine-tar commit for package package at version {version} with compression type comp_type?
Method get_commit Get the pristine-tar commit of package package in version version and compression type comp_type
Method checkout Checkout an orig archive from pristine-tar branch
Instance Variable run_error Undocumented
Method commit Commit an archive archive to the pristine tar branch using upstream branch ${upstream}.

Inherited from Command:

Instance Variable args Undocumented
Instance Variable shell Undocumented
Instance Variable retcode Undocumented
Instance Variable stderr Undocumented
Instance Variable capture_stderr Undocumented
Instance Variable cwd Undocumented
Instance Variable env Undocumented
Method __call__ Run the command and convert all errors into CommandExecFailed. Assumes that the lower levels printed an error message (the command itself and also via our logging api) - only useful if you only expect 0 as result.
Method call Like __call__ but let the caller handle the return status and don't use the logging api for errors.
Method __call Wraps subprocess.call so we can be verbose and fix python's SIGPIPE handling
Method __run run self.cmd adding args as additional arguments
cmd =
Undocumented
(type: str)
branch =
Undocumented
(type: str)
def __init__(self, repo):
Undocumented
repo =
Undocumented
def has_commit(self, archive_regexp):

Do we have a pristine-tar commit for package package at version {version} with compression type comp_type?

Parametersarchive_regexparchive name to look for (regexp wildcards allowed) (type: str)
def get_commit(self, archive_regexp):

Get the pristine-tar commit of package package in version version and compression type comp_type

Parametersarchive_regexparchive name to look for (regexp wildcards allowed) (type: str)
def checkout(self, archive):

Checkout an orig archive from pristine-tar branch

Parametersarchivethe name of the orig archive (type: str)
run_error =
Undocumented
def commit(self, archive, upstream):

Commit an archive archive to the pristine tar branch using upstream branch ${upstream}.

Parametersarchivethe archive to commit (type: str)
upstreamthe upstream branch to diff against (type: str)
API Documentation for git-buildpackage, generated by pydoctor at 2020-05-22 08:50:00.