class documentation
class DebianSource(object):
A debianized source tree
Querying/setting information in a debianized source tree involves several files. This class provides a common interface.
| Method | __init__ |
No summary |
| Method | is |
Whether this is a native Debian package |
| Method | is |
Check if package is releasable |
| Method | upstream |
Possible upstream tarball name for this source package |
| Method | upstream |
Possible upstream tarballs names for this source package |
| Property | changelog |
Return the gbp.deb.ChangeLog |
| Property | control |
Return the gbp.deb.Control |
| Property | debian |
Undocumented |
| Property | name |
Undocumented |
| Property | sourcepkg |
The source package's name |
| Property | upstream |
Undocumented |
| Property | version |
Undocumented |
| Instance Variable | _changelog |
Undocumented |
| Instance Variable | _control |
Undocumented |
| Instance Variable | _vfs |
Undocumented |
def is_releasable(self):
Check if package is releasable
Debian's current practice is to check for UNRELEASED in the distribution.
def upstream_tarball_name(self, compression, component=None):
Possible upstream tarball name for this source package
Gives the name of the main tarball if component is None