|
|
|
spawn_dch(msg=[ ] ,
author=None,
email=None,
newversion=False,
version=None,
release=False,
distribution=None,
dch_options='
' )
Spawn dch param author: committers name param email: committers email
param newversion: start a new version version: the verion to use
release: finalize changelog for releaze distribution: distribution to
use dch_options: options passed verbatim to dch |
|
|
|
add_changelog_entry(msg,
author,
email,
dch_options)
add a single changelog entry |
|
|
|
add_changelog_section(msg,
distribution,
repo,
options,
cp,
author=None,
email=None,
version=None,
dch_options='
' )
add a new changelog section |
|
|
|
get_author_email(repo,
use_git_config)
Get author and email from git configuration |
|
|
|
fixup_trailer(repo,
git_author,
dch_options)
fixup the changelog trailer's comitter and email address - it might
otherwise point to the last git committer instead of the person
creating the changelog |
|
|
|
head_commit(repo)
get the full sha1 of the last commit on HEAD |
|
|
|
snapshot_version(version)
get the current release and snapshot version Format is
<debian-version>~<release>.gbp<short-commit-id> |
|
|
|
mangle_changelog(changelog,
cp,
snapshot='
' )
Mangle changelog to either add or remove snapshot markers |
|
|
|
do_release(changelog,
repo,
cp,
git_author,
dch_options)
remove the snapshot header and set the distribution |
|
|
|
do_snapshot(changelog,
repo,
next_snapshot)
Add new snapshot banner to most recent changelog section. |
|
|
|
parse_commit(repo,
commitid,
opts,
last_commit=False)
parse a commit and return message, author, and author email |
|
|
|
guess_snapshot_commit(cp,
repo,
options)
guess the last commit documented in the changelog from the snapshot
banner or the last point the changelog was touched. |
|
|
|
get_customizations(customization_file) |
|
|
|
process_options(options,
parser) |
|
|
|
process_editor_option(options) |
|
|
|
|