Package gbp :: Package rpm :: Module policy :: Class RpmPkgPolicy :: Class Changelog
[hide private]
[frames] | no frames]

Class Changelog

object --+
         |
        RpmPkgPolicy.Changelog

Container for changelog related policy settings

Instance Methods [hide private]

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

Class Variables [hide private]
  section_match_re = r'^\*'
  section_split_re = r'^\*\s*(?P<ch_header>\S.*?)$\n(?P<ch_body>...
  header_split_re = r'(?P<ch_time>\S.*\s[0-9]{4})\s+(?P<ch_name>...
  header_name_split_re = r'(?P<name>[^<]*)\s+<(?P<email>[^>]+)>(...
  body_name_re = r'\[(?P<name>.*)\]'
  header_format = "* %(time)s %(name)s <%(email)s> %(revision)s"
  header_time_format = "%a %b %d %Y"
  header_rev_format = "%(version)s"
Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

section_split_re

Value:
r'^\*\s*(?P<ch_header>\S.*?)$\n(?P<ch_body>.*)'

header_split_re

Value:
r'(?P<ch_time>\S.*\s[0-9]{4})\s+(?P<ch_name>\S.*$)'

header_name_split_re

Value:
r'(?P<name>[^<]*)\s+<(?P<email>[^>]+)>((\s*-)?\s+(?P<revision>\S+))?$'