Bug#730343: dch: default urgency to medium

Julien Cristau jcristau at debian.org
Sun Nov 24 12:56:04 UTC 2013


Control: tags -1 patch

On Sun, Nov 24, 2013 at 11:17:04 +0000, Jonathan Wiltshire wrote:

> At a recent sprint the release team agreed to reduce the default britney
> migration time to just five days. To facilitate this, please change the
> default urgency in new changelog entries to medium.
> 
> The reason for this, rather than changing britney, is that maintainers
> can artificially delay their package back to ten days for changes they
> know to be disruptive or in need of longer testing.
> 
Here you go.

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index b1fb0aa..82875d6 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -1268,7 +1268,7 @@ if (($opt_i || $opt_n || $opt_bn || $opt_qa || $opt_R || $opt_s || $opt_team ||
     if ($opt_news) {
 	$urgency ||= $CL_URGENCY;
     }
-    $urgency ||= 'low';
+    $urgency ||= 'medium';
 
     if (($opt_v or $opt_i or $opt_l or $opt_d) and
 	$opt_release_heuristic eq "changelog" and
@@ -1537,7 +1537,7 @@ elsif ($opt_create) {
     if ($opt_news) {
 	$urgency ||= $CL_URGENCY;
     }
-    $urgency ||= 'low';
+    $urgency ||= 'medium';
     print O "$PACKAGE ($VERSION) $DISTRIBUTION; urgency=$urgency\n\n";
 
     if (@closes_text or $TEXT) {

Cheers,
Julien
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/devscripts-devel/attachments/20131124/9ab5775b/attachment.sig>


More information about the devscripts-devel mailing list