Package: git-buildpackage Version: 0.4.47 Severity: normal Tags: patch -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
hi, currently, the meta/meta-closes support in git-dch only matches entries that can be found at the beginning of a commit message line. i.e. the following will not be found by git-dch: commit d5a7382e87747ad0114af8fc1545fb4e9d44d857 Author: Sean Finney <sean...@debian.org> Date: Sun Feb 22 22:10:05 2009 +0100 Update fbpager docbook file and build process for manpage Fix up the docbook file and add it back into debian/rules. also, update build-dependencies accordingly. This brings the manpage information back up to date w.r.t. -h output (Closes: #502688). the fix is to use regexpObj.search() instead of regexpObj.match(), as the former will match anywhere in the line, wherease the latter only matches starting at the beginning of the line. pretty trivial, but patch attached anyway :) sean - -- System Information: Debian Release: 5.0 APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages git-buildpackage depends on: ii devscripts 2.10.46 scripts to make the life of a Debi ii git-core 1:1.6.1.3-1 fast, scalable, distributed revisi ii python 2.5.2-3 An interactive high-level object-o ii python-dateutil 1.4.1-2 powerful extensions to the standar ii python-support 0.8.7 automated rebuilding support for P git-buildpackage recommends no packages. Versions of packages git-buildpackage suggests: pn git-load-dirs <none> (no description available) ii pristine-tar 0.21 regenerate pristine tarballs - -- no debconf information -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJo6G6ynjLPm522B0RAshTAJ0XRm2XcfnvoHAs1SlJk4hkpuTBtgCggP73 wZHg/3mA+Lq31iZHPmRsEz4= =am7J -----END PGP SIGNATURE-----
--- git-dch.orig 2009-02-24 08:27:07.000000000 +0100 +++ git-dch 2009-02-24 08:27:57.000000000 +0100 @@ -207,7 +207,7 @@ for line in commit: if line.startswith(' '): # commit body line = line[4:] - m = bts_closes.match(line) + m = bts_closes.search(line) if m: bug_nums = [ bug.strip() for bug in bug_re.findall(line, re.I) ] try: