A debianized source tree

Querying/setting information in a debianized source tree
involves several files. This class provides a common interface.
Method __init__ @param vfs: a class that implements L{GitVfs} interface or a directory (which will use the L{FileVfs} class. The directory must be the toplevel of a Debian source package.
Method is_native Whether this is a native Debian package
Method is_releasable Check if package is releasable
Method changelog Return the L{gbp.deb.ChangeLog}
Method control Return the L{gbp.deb.Control}
Method sourcepkg The source package's name
Method name Undocumented
Method version Undocumented
Method upstream_version Undocumented
Method debian_version Undocumented
Method upstream_tarball_name Possible upstream tarball name for this source package
Method upstream_tarball_names Possible upstream tarballs names for this source package
def __init__(self, vfs):
@param vfs: a class that implements L{GitVfs} interface or a directory
    (which will use the L{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.
@property
def changelog(self):
Return the L{gbp.deb.ChangeLog}
@property
def control(self):
Return the L{gbp.deb.Control}
@property
def sourcepkg(self):
The source package's name
@property
def name(self):
Undocumented
@property
def version(self):
Undocumented
@property
def upstream_version(self):
Undocumented
@property
def debian_version(self):
Undocumented
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
API Documentation for git-buildpackage, generated by pydoctor at 2019-09-07 17:58:51.