# `gbp.rpm.changelog.ChangelogParser(object)` class documentation

Part of `gbp.rpm.changelog` (View In Hierarchy)

Parser for RPM changelogs

Method | __init__ | Undocumented
Method | raw_parse_string | Parse changelog - only splits out raw changelog sections.
Method | raw_parse_file | Parse changelog file - only splits out raw changelog sections.
Method | parse_section | Parse one section
Method | _parse_section_header | Parse one changelog section header
Method | _create_entry | Create a new changelog entry
Method | _parse_section_entries | Parse entries from a string and add them to a section

def __init__(self, pkgpolicy):
Undocumented
def raw_parse_string(self, string):

Parse changelog - only splits out raw changelog sections.

def raw_parse_file(self, changelog):

Parse changelog file - only splits out raw changelog sections.

@c_locale(locale.LC_TIME)
def _parse_section_header(self, text):

Parse one changelog section header

def _create_entry(self, author, text):

Create a new changelog entry

def _parse_section_entries(self, text, default_author):

Parse entries from a string and add them to a section

def parse_section(self, text):

Parse one section