Upstream source. Can be either an unpacked dir, a tarball or another
type of archive
|
|
__init__(self,
name,
unpacked=None,
pkg_policy=<class 'gbp.pkg.PkgPolicy'>,
prefix=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
bool
|
_check_orig(self)
Check if upstream source format can be used as orig tarball. |
|
|
bool
|
is_orig(self)
Returns:
True if sources are suitable as upstream source,
False otherwise |
|
|
bool
|
is_tarball(self)
Returns:
True if source is a tarball, False
otherwise |
|
|
bool
|
is_dir(self)
Returns:
True if if upstream sources are an unpacked directory,
False otherwise |
|
|
|
|
|
|
|
unpack(self,
dir,
filters=[])
Unpack packed upstream sources into a given directory and determine
the toplevel of the source tree. |
|
|
|
|
_unpack_archive(self,
dir,
filters)
Unpack packed upstream sources into a given directory. |
|
|
|
|
|
|
|
_unpack_tar(self,
dir,
filters)
Unpack a tarball to dir applying a list of filters. |
|
|
|
UpstreamSource
|
pack(self,
newarchive,
filters=[],
newprefix=None)
Recreate a new archive from the current one |
|
|
|
|
guess_version(self,
extra_regex='') |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|