gbp.deb.changelog.ChangeLog(object) class documentationgbp.deb.changelog
(View In Hierarchy)
A Debian changelog
| Method | __init__ | No summary |
| Method | __getitem__ | Undocumented |
| Method | __setitem__ | Undocumented |
| Method | filename | The filename (path) of the changelog |
| Method | name | The packages name |
| Method | version | The full version string |
| Method | distribution | Undocumented |
| Method | upstream_version | The upstream version |
| Method | debian_version | The Debian part of the version number |
| Method | epoch | The package's epoch |
| Method | noepoch | The version string without the epoch |
| Method | has_epoch | Whether the version has an epoch |
| Method | author | The author of the last modification |
| Method | The author's email | |
| Method | date | The date of the last modification as rfc822 date |
| Method | sections_iter | Iterate over sections in the changelog |
| Method | sections | Get sections in the changelog |
| Static Method | spawn_dch | Spawn dch |
| Method | add_entry | Add a single changelog entry |
| Method | add_section | Add a new section to the changelog |
| Method | get_changes | Undocumented |
| Class Method | create | Create a new, empty changelog |
| Instance Variable | _contents | Undocumented |
| Instance Variable | _cp | Undocumented |
| Instance Variable | _filename | Undocumented |
| Method | _run_parsechangelog | Undocumented |
| Method | _parse | Parse a changelog based on the already read contents. |
| Method | _read | Undocumented |
| Static Method | _parse_maint | Parse maintainer |
| Parameters | contents | the contents of the changelog (type: str) |
| filename | the filename of the changelog | |
| filename | str |
Whether the version has an epoch
| Returns | True if the version has an epoch, False otherwise (type: bool) | |
Spawn dch
| Parameters | author | committers name (type: str) |
committers email (type: str) | ||
| newversion | start a new version (type: bool) | |
| version | the verion to use (type: str) | |
| release | finalize changelog for releaze (type: bool) | |
| distribution | distribution to use (type: str) | |
| dch_options | options passed verbatim to dch (type: list) |
Add a single changelog entry
| Parameters | msg | log message to add (type: str) |
| author | name of the author of the log message (type: str) | |
email of the author of the log message (type: str) | ||
| dch_options | options passed verbatim to dch (type: list) |
Add a new section to the changelog
| Parameters | msg | log message to add (type: str) |
| distribution | distribution to set for the new changelog entry (type: str) | |
| author | name of the author of the log message (type: str) | |
email of the author of the log message (type: str) | ||
| version | version to set for the new changelog entry | |
| version | dict | |
| dch_options | options passed verbatim to dch (type: list) |