class documentation
class DebianPristineTar(PristineTar):
The pristine-tar branch in a Debian git repository
Method | checkout |
Checkout the orig tarball for package package of version and compression type comp_type to output_dir |
Method | has |
Do we have a pristine-tar commit for package package at version {version} with compression type comp_type? |
Inherited from PristineTar
:
Method | __init__ |
Undocumented |
Method | commit |
Commit an archive archive to the pristine tar branch using upstream branch ${upstream}. |
Method | get |
Get the pristine-tar commit of a package matching archive_regexp. Checks also whether the commit contains a signature file. |
Method | has |
Does this pristine-tar support detached upstream signatures |
Method | has |
Does this pristine-tar support tarball verification |
Method | verify |
Verify an archive's archive checksum using to the pristine tar branch |
Class Variable | branch |
Undocumented |
Instance Variable | repo |
Undocumented |
Instance Variable | run |
Undocumented |
Method | _commit |
Does the given commit contain a file with the given regex |
Method | _has |
Check if pristine_tar has a certain feature enabled. |
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. |
Instance Variable | args |
Undocumented |
Instance Variable | capture |
Undocumented |
Instance Variable | capture |
Undocumented |
Instance Variable | cmd |
Undocumented |
Instance Variable | cwd |
Undocumented |
Instance Variable | env |
Undocumented |
Instance Variable | err |
Undocumented |
Instance Variable | retcode |
Undocumented |
Instance Variable | shell |
Undocumented |
Instance Variable | stderr |
Undocumented |
Instance Variable | stdout |
Undocumented |
Static Method | _f |
Build error string template |
Method | __call |
Wraps subprocess.call so we can be verbose and fix Python's SIGPIPE handling |
Method | _format |
Log an error message |
Method | _log |
Log an error message |
Method | _reset |
Undocumented |
def checkout(self, package, version, comp_type, output_dir, component=None, quiet=False, signature=False):
¶
overrides
gbp.pkg.pristinetar.PristineTar.checkout
Checkout the orig tarball for package package of version and compression type comp_type to output_dir
Parameters | |
package:str | the package to generate the orig tarball for |
version:str | the version to check generate the orig tarball for |
comp | the compression type of the tarball |
output | the directory to put the tarball into |
component | Undocumented |
quiet | Undocumented |
signature | Undocumented |