summaryrefslogtreecommitdiff
path: root/gbp/dch.py
AgeCommit message (Collapse)Author
2015-01-22dch: Support Gbp-Dch: besides Git-Dch:Guido Günther
2014-12-05gbp-dch: fix handling of the '--meta' optionMarkus Lehtonen
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 Lehtonen
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 Kooijman
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ünther
Git-Dch: Ignore
2011-04-17git-dch: improve formatting of commit subjectGuido Günther
by taking into account idlength and the prefix added by git-dch itself.
2010-12-13Remove noopGuido Günther
Git-Dch: Ignore
2010-12-09Better wrap thanks and closesGuido Günther
Closes: #529332
2010-12-07Drop debugging print statementGuido Günther
2010-12-06git-dch: fix --id-length != 0Guido Günther
Git-Dch: Ignore
2010-12-06Add git-dch --customizations FILE to allow changelog entry customizationRob Browning
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>