Upstream source class for additional tarballs

Method __init__ Undocumented
Instance Variable component Undocumented
Method unpack Unpack the additional tarball into {dir} naming it component. Apply filters during unpack.

Inherited from UpstreamSource (via DebianUpstreamSource):

Instance Variable unpacked Undocumented
Method __repr__ Undocumented
Method is_orig
Method is_dir
Method path Undocumented
Method signaturefile Undocumented
Method pack Recreate a new archive from the current one
Static Method known_compressions Undocumented
Method guess_version Undocumented
Instance Variable _orig are the upstream sources already suitable as an upstream tarball
Instance Variable _path path to the upstream sources
Class Variable _unpacked path to the unpacked source tree
Instance Variable _pkg_policy Undocumented
Instance Variable _sig Undocumented
Method _check_orig Check if upstream source format can be used as orig tarball. This doesn't imply that the tarball is correctly named.
Method _unpack_archive Unpack packed upstream sources into a given directory allowing to filter out files in case of tar archives.
Method _unpack_zip Undocumented
Method _unpacked_toplevel unpacked archives can contain a leading directory or not
Method _unpack_tar Unpack a tarball to dir applying a list of filters. Leave the cleanup to the caller in case of an error.
def __init__(self, name, component, unpacked=None, sig=None):
component =
Undocumented
def unpack(self, dest, filters):

Unpack the additional tarball into {dir} naming it component. Apply filters during unpack.

Parametersdirthe main tarball dir
filtersfilters to apply

We can't simply use unpack since we need to remove any preexisting dirs and name the target directory after the component name.

API Documentation for git-buildpackage, generated by pydoctor at 2021-02-01 08:15:22.