gbp.deb.pristinetar.DebianPristineTar(PristineTar)
class documentationgbp.deb.pristinetar
(View In Hierarchy)
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 PristineTar:
Class Variable | branch | Undocumented |
Method | __init__ | Undocumented |
Instance Variable | repo | 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 | get_commit | Get the pristine-tar commit of a package matching archive_regexp. Checks also whether the commit contains a signature file. |
Instance Variable | run_error | Undocumented |
Method | commit | Commit an archive archive to the pristine tar branch using upstream branch ${upstream}. |
Method | verify | Verify an archive's archive checksum using to the pristine tar branch |
Method | _has_in_output | Check if pristine_tar has a certain feature enabled. |
Method | _commit_contains_file | Does the given commit contain a file with the given regex |
Inherited from Command (via PristineTar):
Instance Variable | cmd | Undocumented |
Instance Variable | args | Undocumented |
Instance Variable | shell | Undocumented |
Instance Variable | capture_stdout | Undocumented |
Instance Variable | capture_stderr | Undocumented |
Instance Variable | cwd | Undocumented |
Instance Variable | env | Undocumented |
Instance Variable | retcode | Undocumented |
Instance Variable | stdout | Undocumented |
Instance Variable | stderr | Undocumented |
Instance Variable | err_reason | Undocumented |
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 |
Do we have a pristine-tar commit for package package at version {version} with compression type comp_type?
Parameters | package | the package to look for (type: str ) |
version | the upstream version to look for (type: str ) | |
comp_type | the compression type (type: str ) |
Checkout the orig tarball for package package of version and compression type comp_type to output_dir
Parameters | package | the package to generate the orig tarball for (type: str ) |
version | the version to check generate the orig tarball for (type: str ) | |
comp_type | the compression type of the tarball (type: str ) | |
output_dir | the directory to put the tarball into (type: str ) |