A debianized source tree

Querying/setting information in a debianized source tree involves several files. This class provides a common interface.

Method __init__
Method is_native Whether this is a native Debian package
Method is_releasable Check if package is releasable
Method changelog Return the gbp.deb.ChangeLog
Method control Return the 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
Instance Variable _changelog Undocumented
Instance Variable _control Undocumented
Instance Variable _vfs Undocumented
def __init__(self, vfs):
Parametersvfsa 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.
_changelog =
Undocumented
_control =
Undocumented
_vfs =
Undocumented
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 gbp.deb.ChangeLog

@property
def control(self):

Return the 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 2021-02-01 08:15:22.