Bug#639644: debbugs-local: overly restrictive parsing of bugs_to_get
intrigeri <[email protected]>
| Newsgroups | gmane.linux.debian.devel.debbugs |
|---|---|
| Message-ID | <[email protected]> |
Package: debbugs-local Version: 2.4.2~exp1 Severity: normal Tags: patch Hi, lines in ~/.debbugs/bugs_to_get that don't match either a bug number or /\s\w+\:/ are silently ignored. This e.g. includes perfectly valid search patterns such as those that don't specify archive:X, e.g. "src:backupninja". The attached patch removes the buggy search pattern whitelist and makes debbugs-local useable for me. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (990, 'testing'), (1, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages debbugs-local depends on: ii debbugs-web 2.4.2~exp1 web scripts for the active Debian ii libconfig-simple-perl 4.59-5 simple configuration file class ii libdebbugs-perl 2.4.2~exp1 modules used by the active Debian ii libhttp-server-simple-perl 0.44-1 simple stand-alone HTTP server ii libnet-server-perl 0.99-2 An extensible, general perl server ii libuser-perl 1.6-2 Provides user data in an OS indepe ii rsync 3.0.8-1 fast remote file copy program (lik debbugs-local recommends no packages. debbugs-local suggests no packages. -- no debconf information
remove_buggy_search_pattern_whitelist.diff
(text/x-patch, 337 B)
diff -Naur orig/local-debbugs new/local-debbugs
--- orig/local-debbugs 2011-08-28 14:45:56.550062368 +0200
+++ new/local-debbugs 2011-08-28 14:46:03.926143411 +0200
@@ -512,7 +512,7 @@
if (/^\d+$/) {
push @bugs,$_;
}
- elsif (/\s\w+\:/) {
+ else {
push @bug_selections, $_;
}
}