Package gbp :: Package scripts :: Module rpm_ch
[hide private]
[frames] | no frames]

Module rpm_ch

Generate RPM changelog entries from git commit messages

Classes [hide private]
  ChangelogFile
Container for changelog file, whether it be a standalone changelog or a spec file
Functions [hide private]
 
load_customizations(customization_file)
Load user defined customizations file
 
determine_editor(options)
Determine text editor
 
check_repo_state(repo, options)
Check that the repository is in good state
 
parse_spec_file(repo, options)
Find and parse spec file
 
parse_changelog_file(repo, spec, options)
Find and parse changelog file
 
guess_commit(section, repo, options)
Guess the last commit documented in a changelog header
 
get_start_commit(changelog, repo, options)
Get the start commit from which to generate new entries
 
get_author(repo, use_git_config)
Get author and email from git configuration
 
entries_from_commits(changelog, repo, commits, options)
Generate a list of formatted changelog entries from a list of commits
 
entries_from_text(changelog, text, author)
Generate a list of changelog entries from a string
 
generate_new_entries(changelog, repo, options, args)
Generate new entries to be appended to changelog
 
update_changelog(changelog, entries, repo, spec, options)
Update the changelog with a range of commits
 
create_commit_message(spec, options)
Generate commit message
 
commit_changelog(repo, changelog, message, author, committer, edit)
Commit changelog and create a packaging/release tag
 
parse_args(argv)
Parse command line and config file options
 
main(argv)
Script main function
Variables [hide private]
  __package__ = 'gbp.scripts'