The pristine-tar branch in a Debian git repository

Method has_commit Do we have a pristine-tar commit for package package at version {version} with compression type comp_type?
Method checkout Checkout the orig tarball for package package of version and compression type comp_type to output_dir

Inherited from Command (via PristineTar):

Method __call__ Run the command and raise exception on errors
Method call Like __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

Inherited from Command (via PristineTar):

Method __call__ Run the command and raise exception on errors
Method call Like __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 has_commit(self, package, version, comp_type=None):

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

Parameterspackagethe package to look for (type: str)
versionthe upstream version to look for (type: str)
comp_typethe compression type (type: str)
def checkout(self, package, version, comp_type, output_dir, component=None, quiet=False, signature=False):

Checkout the orig tarball for package package of version and compression type comp_type to output_dir

Parameterspackagethe package to generate the orig tarball for (type: str)
versionthe version to check generate the orig tarball for (type: str)
comp_typethe compression type of the tarball (type: str)
output_dirthe directory to put the tarball into (type: str)
API Documentation for git-buildpackage, generated by pydoctor at 2022-01-28 04:48:50.