class documentation
class ChangeLog(object):
A Debian changelog
Class Method | create |
Create a new, empty changelog |
Static Method | spawn |
Spawn dch |
Method | __getitem__ |
Undocumented |
Method | __init__ |
No summary |
Method | __setitem__ |
Undocumented |
Method | add |
Add a single changelog entry |
Method | add |
Add a new section to the changelog |
Method | get |
Undocumented |
Method | has |
Whether the version has an epoch |
Property | author |
The author of the last modification |
Property | date |
The date of the last modification as rfc822 date |
Property | debian |
The Debian part of the version number |
Property | distribution |
Undocumented |
Property | email |
The author's email |
Property | epoch |
The package's epoch |
Property | filename |
The filename (path) of the changelog |
Property | name |
The packages name |
Property | noepoch |
The version string without the epoch |
Property | sections |
Get sections in the changelog |
Property | sections |
Iterate over sections in the changelog |
Property | upstream |
The upstream version |
Property | version |
The full version string |
Static Method | _parse |
Parse maintainer |
Method | _parse |
Parse a changelog based on the already read contents. |
Method | _read |
Undocumented |
Method | _run |
Undocumented |
Instance Variable | _contents |
Undocumented |
Instance Variable | _cp |
Undocumented |
Instance Variable | _filename |
Undocumented |
@staticmethod
def spawn_dch(msg=[], author=None, email=None, newversion=False, version=None, release=False, distribution=None, dch_options=None): ¶
def spawn_dch(msg=[], author=None, email=None, newversion=False, version=None, release=False, distribution=None, dch_options=None): ¶
Spawn dch
Parameters | |
msg | Undocumented |
author:str | committers name |
email:str | committers email |
newversion:bool | start a new version |
version:str | the verion to use |
release:bool | finalize changelog for releaze |
distribution:str | distribution to use |
dch | options passed verbatim to dch |
Add a single changelog entry
Parameters | |
msg:str | log message to add |
author:str | name of the author of the log message |
email:str | email of the author of the log message |
dch | options passed verbatim to dch |
Add a new section to the changelog
Parameters | |
msg:str | log message to add |
distribution:str | distribution to set for the new changelog entry |
author:str | name of the author of the log message |
email:str | email of the author of the log message |
version | dict |
dch | options passed verbatim to dch |