Known subclasses: gbp.deb.pristinetar.DebianPristineTar

The pristine-tar branch in a git repository
Method __init__ Undocumented
Method has_feature_verify Does this pristine-tar support tarball verification
Method has_feature_sig Does this pristine-tar support detached upstream signatures
Method has_commit Do we have a pristine-tar commit for a package matching I{archive_regexp}.
Method get_commit Get the pristine-tar commit of a package matching I{archive_regexp}.
Method checkout Checkout an orig archive from pristine-tar branch
Method commit Commit an archive I{archive} to the pristine tar branch using upstream branch ${upstream}.
Method verify Verify an archive's I{archive} checksum using to the pristine tar branch
Method _has_in_output Check if pristine_tar has a certain feature enabled.

Inherited from Command:

Method __call__ Run the command and raise exception on errors
Method call Like L{__call__} but let the caller handle the return status.
Static Method _f Build error string template
Method _reset_state Undocumented
Method __call Wraps subprocess.call so we can be verbose and fix Python's SIGPIPE handling
Method _log_err Log an error message
Method _format_err Log an error message
def __init__(self, repo):
Undocumented
def _has_in_output(self, match):
Check if pristine_tar has a certain feature enabled.

@param feature: feature / command option to check
@type feature: C{str}
@return: True if feature is supported
@rtype: C{bool}
def has_feature_verify(self):
Does this pristine-tar support tarball verification
def has_feature_sig(self):
Does this pristine-tar support detached upstream signatures
def has_commit(self, archive_regexp):
Do we have a pristine-tar commit for a package matching I{archive_regexp}.

@param archive_regexp: archive name to look for (regexp wildcards allowed)
@type archive_regexp: C{str}
def get_commit(self, archive_regexp):
Get the pristine-tar commit of a package matching I{archive_regexp}.

@param archive_regexp: archive name to look for (regexp wildcards allowed)
@type archive_regexp: C{str}
def checkout(self, archive, quiet=False, signaturefile=None):
Checkout an orig archive from pristine-tar branch

@param archive: the name of the orig archive
@type archive: C{str}
def commit(self, archive, upstream, quiet=False, signaturefile=None):
Commit an archive I{archive} to the pristine tar branch using upstream
branch ${upstream}.

@param archive: the archive to commit
@type archive: C{str}
@param upstream: the upstream branch to diff against
@type upstream: C{str}
def verify(self, archive, quiet=False):
Verify an archive's I{archive} checksum using to the pristine tar branch
API Documentation for git-buildpackage, generated by pydoctor at 2019-11-14 12:49:35.