class documentation

class DebianSource(object):

View In Hierarchy

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_native Whether this is a native Debian package
Method is_releasable Check if package is releasable
Method upstream_tarball_name Possible upstream tarball name for this source package
Method upstream_tarball_names Possible upstream tarballs names for this source package
Property changelog Return the gbp.deb.ChangeLog
Property control Return the gbp.deb.Control
Property debian_version Undocumented
Property name Undocumented
Property sourcepkg The source package's name
Property upstream_version Undocumented
Property version Undocumented
Instance Variable _changelog Undocumented
Instance Variable _control Undocumented
Instance Variable _vfs Undocumented
def __init__(self, vfs):
Parameters
vfsa class that implements GitVfs interface or a directory (which will use the FileVfs class. The directory must be the toplevel of a Debian source package.
def is_native(self):

Whether this is a native Debian package

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

def upstream_tarball_names(self, comp_type, components=None):

Possible upstream tarballs names for this source package

This includes component tarballs names. with the given component names

@property
changelog =

Return the gbp.deb.ChangeLog

@property
control =

Return the gbp.deb.Control

@property
debian_version =

Undocumented

@property
name =

Undocumented

@property
sourcepkg =

The source package's name

@property
upstream_version =

Undocumented

@property
version =

Undocumented

_changelog =

Undocumented

_control =

Undocumented

_vfs =

Undocumented