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 load_customizations Load user defined customizations file
Function determine_editor Determine text editor
Function check_repo_state Check that the repository is in good state
Function parse_spec_file Find and parse spec file
Function parse_changelog_file Find and parse changelog file
Function guess_commit Guess the last commit documented in a changelog header
Function get_start_commit Get the start commit from which to generate new entries
Function get_author Get author and email from git configuration
Function entries_from_commits Generate a list of formatted changelog entries from a list of commits
Function entries_from_text Generate a list of changelog entries from a string
Function generate_new_entries Generate new entries to be appended to changelog
Function update_changelog Update the changelog with a range of commits
Function create_commit_message Generate commit message
Function commit_changelog Commit changelog and create a packaging/release tag
Function parse_args Parse command line and config file options
Function main Script main function
def load_customizations(customization_file):

Load user defined customizations file

def determine_editor(options):

Determine text editor

def check_repo_state(repo, options):

Check that the repository is in good state

def parse_spec_file(repo, options):

Find and parse spec file

def parse_changelog_file(repo, spec, options):

Find and parse changelog file

def guess_commit(section, repo, options):

Guess the last commit documented in a changelog header

def get_start_commit(changelog, repo, options):

Get the start commit from which to generate new entries

def get_author(repo, use_git_config):

Get author and email from git configuration

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

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

def entries_from_text(changelog, text, author):

Generate a list of changelog entries from a string

def generate_new_entries(changelog, repo, options, args):

Generate new entries to be appended to changelog

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

Update the changelog with a range of commits

def create_commit_message(spec, options):

Generate commit message

def commit_changelog(repo, changelog, message, author, committer, edit):

Commit changelog and create a packaging/release tag

def parse_args(argv):

Parse command line and config file options

def main(argv):

Script main function

API Documentation for git-buildpackage, generated by pydoctor at 2021-05-14 08:50:00.