[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#138013: dpkg-dev: dpkg-parsechangelog has a different understanding of urgencies than policy



Package: dpkg-dev
Version: 1.9.19
Severity: important
Tags: patch

Policy 5.3 footnote 2, says recognized urgency values are low medium, high 
and emergency but dpkg-parsechangelog accepts critical and doesn't accept 
emergency.  Here is a patch.

--- /usr/lib/dpkg/parsechangelog/debian.orig    Sat Mar  9 15:00:26 2002
+++ /usr/lib/dpkg/parsechangelog/debian Sat Mar  9 15:01:13 2002
@@ -45,7 +45,7 @@
           qw(Source Version Distribution Urgency Maintainer Date Closes
             Changes));
 $i=1;grep($urgencies{$_}=$i++,
-          qw(low medium high critical));
+          qw(low medium high critical emergency));

 $expect='first heading';

IIRC, aj said critical and emergency were treated as synonyms by the 
release scripts but if you want to follow the letter of policy you should 
omit critical.

--
Jaldhar H. Vyas <jaldhar@debian.org>
It's a girl! See the pictures - http://www.braincells.com/shailaja/




Reply to: