class documentation
class ChangelogEntryFormatter(object):
Helper class for generating changelog entries from git commits
Class Method | compose |
Generate a changelog entry from a git commit. |
Class Variable | bts |
Undocumented |
Class Variable | bug |
Undocumented |
Class Variable | max |
Undocumented |
Class Method | _extra |
Filter out specific lines from the commit message. |
Class Method | _parse |
Parse and filter out bug tracking system related meta tags from commit message. |
Generate a changelog entry from a git commit.
Parameters | |
commitgbp.git.repository.GitRepository.get_commit_info() . | info about the commit |
**kwargs:dict | additional arguments to the compose() method, currently we recognize 'full', 'id_len' and 'ignore_re' |
Returns | |
list of str | formatted changelog entry |
Filter out specific lines from the commit message.
Parameters | |
lines:list of str | commit message |
ignore | regexp for matching ignored lines |
Returns | |
list of str | filtered commit message |