Package gbp :: Package deb :: Module changelog :: Class ChangeLog
[hide private]
[frames] | no frames]

Class ChangeLog

object --+
         |
        ChangeLog

A Debian changelog

Instance Methods [hide private]
 
__init__(self, contents=None, filename=None)
Parse an existing changelog, Either contents, containing the contents of a changelog file, or filename, pointing to a changelog file must be passed.
 
__getitem__(self, item)
 
__setitem__(self, item, value)
bool
has_epoch(self)
Whether the version has an epoch
 
is_native(self)
Whether this is a native Debian package

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  version
The full version string
  upstream_version
The upstream version
  debian_version
The Debian part of the version number
  epoch
The package's epoch
  noepoch
The version string without the epoch

Inherited from object: __class__

Method Details [hide private]

__init__(self, contents=None, filename=None)
(Constructor)

 

Parse an existing changelog, Either contents, containing the contents of a changelog file, or filename, pointing to a changelog file must be passed.

Overrides: object.__init__

has_epoch(self)

 

Whether the version has an epoch

Returns: bool
True if the version has an epoch, False otherwise

Property Details [hide private]

version

The full version string

Get Method:
unreachable.version(self) - The full version string

upstream_version

The upstream version

Get Method:
unreachable.upstream_version(self) - The upstream version

debian_version

The Debian part of the version number

Get Method:
unreachable.debian_version(self) - The Debian part of the version number

epoch

The package's epoch

Get Method:
unreachable.epoch(self) - The package's epoch

noepoch

The version string without the epoch

Get Method:
unreachable.noepoch(self) - The version string without the epoch