summaryrefslogtreecommitdiff
path: root/gbp/dch.py
AgeCommit message (Collapse)AuthorFilesLines
2014-11-14gbp-dch: fix handling of the '--meta' optionMarkus Lehtonen1-2/+5
Make it effective again - previously it was totally ignored. Also, change it's default value to True to match the current behavior. Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-06-30GitRepository: make get_commit_info() more robustMarkus Lehtonen1-1/+1
Now uses git-show instead of git-log. This is needed for further enhancements (namely to get name-status for merge commits). Also, use null-character as the field separator which makes parsing more reliable. The method now returns 'body' of the commit message as is, without stripping or splitting to lines. In addition, get_commit_info() now uses GitArgs and _git_inout() instead of the deprecated _git_getoutput(). Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
2012-04-18Git-Dch: Full in commit messagesMatthijs Kooijman1-1/+1
This new tag makes git-dch use the full commit message when generating the Debian changelog file, even when --full is not given. Closes: #669159 Signed-off-by: Guido Günther <agx@sigxcpu.org>
2011-07-29Add copyright headers to all non autogenerated filesGuido Günther1-0/+13
Git-Dch: Ignore
2011-04-17git-dch: improve formatting of commit subjectGuido Günther1-3/+6
by taking into account idlength and the prefix added by git-dch itself.
2010-12-13Remove noopGuido Günther1-2/+0
Git-Dch: Ignore
2010-12-09Better wrap thanks and closesGuido Günther1-3/+11
Closes: #529332
2010-12-07Drop debugging print statementGuido Günther1-1/+0
2010-12-06git-dch: fix --id-length != 0Guido Günther1-0/+1
Git-Dch: Ignore
2010-12-06Add git-dch --customizations FILE to allow changelog entry customizationRob Browning1-0/+116
Add support for git-dch --customizations FILE. FILE must be Python code, and for now, the only useful thing it can do is define a format_changelog_entry() function which will override gbp.dch.format_changelog_entry(). Add a new customization option group for --customizations. Create a gbp.dch module and move the changelog entry formatting functions there. Create separate procedures to handle extracting metadata from the git log, and use them in the default format_changelog_entry(). These functions are also available for use by custom formatters: extract_git_dch_cmds(), filter_ignore_rx_matches(), extract_bts_cmds(), extract_thanks_info(), etc. Add a GitRepository.get_commit_info() method, and use it in git-dch parse_commit(). Signed-off-by: Rob Browning <rlb@defaultvalue.org>