module documentation

Generate RPM changelog entries from git commit messages

Class ChangelogFile Container for changelog file, whether it be a standalone changelog or a spec file
Function build_parser Construct command line parser
Function check_branch Check the current git branch
Function determine_editor Determine text editor
Function entries_from_commits Generate a list of formatted changelog entries from a list of commits
Function get_author Get author and email from git configuration
Function get_start_commit Get the start commit from which to generate new entries
Function guess_commit Guess the last commit documented in a changelog header
Function load_customizations Load user defined customizations file
Function main Script main function
Function parse_args Parse command line and config file options
Function parse_changelog_file Find and parse changelog file
Function parse_spec_file Find and parse spec file
Function update_changelog Update the changelog with a range of commits
def build_parser(name):

Construct command line parser

def check_branch(repo, options):

Check the current git branch

def determine_editor(options):

Determine text editor

def entries_from_commits(changelog, repo, commits, options):

Generate a list of formatted changelog entries from a list of commits

def get_author(repo, use_git_config):

Get author and email from git configuration

def get_start_commit(changelog, repo, options):

Get the start commit from which to generate new entries

def guess_commit(section, repo, options):

Guess the last commit documented in a changelog header

def load_customizations(customization_file):

Load user defined customizations file

def main(argv):

Script main function

def parse_args(argv):

Parse command line and config file options

def parse_changelog_file(repo, spec, options):

Find and parse changelog file

def parse_spec_file(repo, options):

Find and parse spec file

def update_changelog(changelog, entries, repo, spec, options):

Update the changelog with a range of commits