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 I{package} at version {version} with compression type I{comp_type}? |
| Method | checkout | Checkout the orig tarball for package I{package} of I{version} and compression type I{comp_type} to I{output_dir} |
Inherited from Command (via PristineTar):
| 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 |
Inherited from Command (via PristineTar):
| 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 |
Do we have a pristine-tar commit for package I{package} at version
{version} with compression type I{comp_type}?
@param package: the package to look for
@type package: C{str}
@param version: the upstream version to look for
@type version: C{str}
@param comp_type: the compression type
@type comp_type: C{str}
Checkout the orig tarball for package I{package} of I{version} and
compression type I{comp_type} to I{output_dir}
@param package: the package to generate the orig tarball for
@type package: C{str}
@param version: the version to check generate the orig tarball for
@type version: C{str}
@param comp_type: the compression type of the tarball
@type comp_type: C{str}
@param output_dir: the directory to put the tarball into
@type output_dir: C{str}