[Secure-testing-commits] r28008 - bin doc
Didier Raboud
odyx at moszumanska.debian.org
Thu Jul 31 07:51:56 UTC 2014
Author: odyx
Date: 2014-07-31 07:51:56 +0000 (Thu, 31 Jul 2014)
New Revision: 28008
Modified:
bin/gen-DLA
doc/DLA.template
Log:
Adapt bin/gen-DLA to let DLA's always read as DLA-####-#
- Amend DLA subject to have the first dash
- Patch bin/gen-DLA to zero-pad the DLAid to 4 digits
Modified: bin/gen-DLA
===================================================================
--- bin/gen-DLA 2014-07-31 05:15:46 UTC (rev 28007)
+++ bin/gen-DLA 2014-07-31 07:51:56 UTC (rev 28008)
@@ -222,10 +222,10 @@
if [ -z "$DLAID" ]; then
latest_dla="$(sed -nr '/DLA-[0-9]+-1/{s/^.+DLA-[0]*([0-9]+).*$/\1/;p;q}' data/DLA/list)"
- dla=$(($latest_dla+1))
+ dla=$(printf '%04d' $(($latest_dla+1)))
c=0
while dla_exists "$dla-1"; do
- dla=$(($dla+1))
+ dla=$(printf '%04d' $(($dla+1)))
c=$(($c+1))
if [ $c -eq 10 ]; then
error "unable to find an unused DLA id after $c attempts" >&2
Modified: doc/DLA.template
===================================================================
--- doc/DLA.template 2014-07-31 05:15:46 UTC (rev 28007)
+++ doc/DLA.template 2014-07-31 07:51:56 UTC (rev 28008)
@@ -1,6 +1,6 @@
From: $DEBFULLNAME <$DEBEMAIL>
To: debian-lts-announce at lists.debian.org
-Subject: [DLA $DLAID] $PACKAGE security update
+Subject: [DLA-$DLAID] $PACKAGE security update
Package : $PACKAGE
Version : $squeeze_VERSION
More information about the Secure-testing-commits
mailing list