aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/dch.py
Commit message (Collapse)AuthorAge
* dch: flake8 cleanGuido Günther2016-09-12
|
* dch: Match 'thanks' case insensitiveGuido Günther2016-07-05
| | | | Closes: #746753
* gbp-dch: allow bug number format to be overriddenJonathan Toppins2015-08-27
| | | | | | | | | | | | | | | | | | | | | Some derivatives and non Debian exclusive projects don't use just numbers for their bug numbers. gbp-dch should still be able to parse these bug numbers and generate useful changelog entries. This doesn't solve dpkg-parsechangelog but is a start. Examples of non-Debian bug numbers are: example change header Example: EX-12345 Should produce the following change log: * example change header (Example: EX-12345) This also helps in pulling CVE numbers simply by letting the user modify the regex to something like 'cve-\d+-\d+'. Signed-off-by: Jonathan Toppins <jtoppins@cumulusnetworks.com> Signed-off-by: Guido Günther <agx@sigxcpu.org>
* Fix FSF address - thanks rpmlintEvgeni Golov2015-06-22
| | | | use gnu.org/licences instead of a postal address, as suggested by Guido
* dch: Support Gbp-Dch: besides Git-Dch:Guido Günther2015-01-22
|
* gbp-dch: fix handling of the '--meta' optionMarkus Lehtonen2014-12-05
| | | | | | | 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>
* GitRepository: make get_commit_info() more robustMarkus Lehtonen2012-06-30
| | | | | | | | | | | | | | 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>
* Git-Dch: Full in commit messagesMatthijs Kooijman2012-04-18
| | | | | | | | | 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>
* Add copyright headers to all non autogenerated filesGuido Günther2011-07-29
| | | | Git-Dch: Ignore
* git-dch: improve formatting of commit subjectGuido Günther2011-04-17
| | | | | by taking into account idlength and the prefix added by git-dch itself.
* Remove noopGuido Günther2010-12-13
| | | | Git-Dch: Ignore
* Better wrap thanks and closesGuido Günther2010-12-09
| | | | Closes: #529332
* Drop debugging print statementGuido Günther2010-12-07
|
* git-dch: fix --id-length != 0Guido Günther2010-12-06
| | | | Git-Dch: Ignore
* Add git-dch --customizations FILE to allow changelog entry customizationRob Browning2010-12-06
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>