gbp.deb.upstreamsource.DebianAdditionalTarball(DebianUpstreamSource) class documentationgbp.deb.upstreamsource
(View In Hierarchy)
Upstream source class for additional tarballs
| Method | __init__ | Undocumented |
| Method | unpack | Unpack the additional tarball into {dir} naming it I{component}. Apply filters during unpack. |
Inherited from UpstreamSource (via DebianUpstreamSource):
| Method | is_orig | @return: C{True} if sources are suitable as orig tarball, C{False} otherwise @rtype: C{bool} |
| Method | is_dir | @return: C{True} if if upstream sources are an unpacked directory, C{False} otherwise @rtype: C{bool} |
| 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 |
| 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 I{dir} applying a list of I{filters}. Leave the cleanup to the caller in case of an error. |
Unpack the additional tarball into {dir} naming it
I{component}. Apply filters during unpack.
@param dir: the main tarball dir
@param filters: filters 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.