Re: heads-up: stretch release and changes to security-tracker

2017-06-11 Thread Moritz Mühlenhoff
On Mon, Jun 12, 2017 at 09:15:02AM +0800, Paul Wise wrote:
> On Mon, Jun 12, 2017 at 3:37 AM, Salvatore Bonaccorso wrote:
> 
> > I'm attaching the *preliminary* set of changes which I plan to
> > activate once stretch is released.
> 
> Wow, there really is a horribly large amount of hard-coding of things
> that should be fetched from the archive instead.

You can send patches to the security-tracker pseudo bug.

Cheers,
Moritz



Re: heads-up: stretch release and changes to security-tracker

2017-06-11 Thread Paul Wise
On Mon, Jun 12, 2017 at 3:37 AM, Salvatore Bonaccorso wrote:

> I'm attaching the *preliminary* set of changes which I plan to
> activate once stretch is released.

Wow, there really is a horribly large amount of hard-coding of things
that should be fetched from the archive instead. I've added a
reference to your mail here:

https://wiki.debian.org/SuitesAndReposExtension#secure-testing

-- 
bye,
pabs

https://wiki.debian.org/PaulWise



Re: heads-up: stretch release and changes to security-tracker

2017-06-11 Thread Salvatore Bonaccorso
Hi

On Sat, May 27, 2017 at 11:04:14AM +0200, Salvatore Bonaccorso wrote:
> Hi
> 
> Just a heads-up and cc'ing the two relevant teams as well explicitly.
> 
> In the light of the planned release date for strech on 2017-06-17,
> https://lists.debian.org/debian-devel-announce/2017/05/msg2.html I
> plan to work on the relvant changes to the security tracker for once
> stretch is released.

I'm attaching the *preliminary* set of changes which I plan to
activate once stretch is released. 

Regards,
Salvatore
>From 9a55f239099d2900b5304a0290383776b2de7d7a Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso 
Date: Sat, 10 Jun 2017 09:54:22 +0200
Subject: [PATCH 01/19] gen-{DSA,DLA}: Update mappings release and codenames

---
 bin/gen-DSA | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/gen-DSA b/bin/gen-DSA
index 5b033a56f1..8503aaa65f 100755
--- a/bin/gen-DSA
+++ b/bin/gen-DSA
@@ -27,10 +27,10 @@ case "$(basename "$0")" in
 ;;
 esac
 
-OLDOLDSTABLE=squeeze
-OLDSTABLE=wheezy
-STABLE=jessie
-TESTING=stretch
+OLDOLDSTABLE=wheezy
+OLDSTABLE=jessie
+STABLE=stretch
+TESTING=buster
 
 NAME_SPACING=24
 DATE_SPACING=22
-- 
2.11.0

>From 807e6d844afd1e5b137ce9c989886ad34a711af3 Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso 
Date: Sat, 10 Jun 2017 10:02:08 +0200
Subject: [PATCH 02/19] DSA.template: Switch back to defaul text for testing
 distribution

---
 doc/DSA.template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/doc/DSA.template b/doc/DSA.template
index ce83e04e4d..5567fb16e9 100644
--- a/doc/DSA.template
+++ b/doc/DSA.template
@@ -17,8 +17,8 @@ $TEXT
 For the stable distribution ($STABLE), this problem has been fixed in
 version $$STABLE_VERSION.
 
-For the upcoming stable distribution ($TESTING), this problem has been
-fixed in version $$TESTING_VERSION.
+For the testing distribution ($TESTING), this problem has been fixed
+in version $$TESTING_VERSION.
 
 For the unstable distribution (sid), this problem has been fixed in
 version $UNSTABLE_VERSION.
-- 
2.11.0

>From 6a0f6bdef1fbe9944b95bc0c90b5df54eb0463da Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso 
Date: Sat, 10 Jun 2017 10:02:28 +0200
Subject: [PATCH 03/19] DSA.template: Add support for oldstable version
 information in DSA

---
 doc/DSA.template | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/DSA.template b/doc/DSA.template
index 5567fb16e9..9f0a989fdd 100644
--- a/doc/DSA.template
+++ b/doc/DSA.template
@@ -14,6 +14,9 @@ Debian Bug : $BUGNUM
 
 $TEXT
 
+For the oldstable distribution ($OLDSTABLE), this problem has been fixed
+in version $$OLDSTABLE_VERSION.
+
 For the stable distribution ($STABLE), this problem has been fixed in
 version $$STABLE_VERSION.
 
-- 
2.11.0

>From 83218f631beede31df4f4b1d05c367b2077253ed Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso 
Date: Sat, 10 Jun 2017 10:25:08 +0200
Subject: [PATCH 04/19] List packages from oldstable stable for dsa-needed list

---
 bin/add-dsa-needed.sh | 14 +++---
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/bin/add-dsa-needed.sh b/bin/add-dsa-needed.sh
index e500246c8d..ac21decffa 100755
--- a/bin/add-dsa-needed.sh
+++ b/bin/add-dsa-needed.sh
@@ -52,8 +52,8 @@ case "${1:-}" in
 ;;
 esac
 
-#for release in oldstable stable; do
-for release in stable; do
+# for release in stable; do
+for release in oldstable stable; do
 HOME=$tmpd w3m $turl/$release > $tmpd/$release.txt
 touch $tmpd/toadd-$release.txt
 seen_marker=false
@@ -82,18 +82,18 @@ for release in stable; do
 done < $tmpd/$release.txt
 done
 
-#cat $tmpd/toadd-stable.txt $tmpd/toadd-oldstable.txt | sort | uniq -d |
-cat $tmpd/toadd-stable.txt | sort | uniq -d |
+#cat $tmpd/toadd-stable.txt | sort | uniq -d |
+cat $tmpd/toadd-stable.txt $tmpd/toadd-oldstable.txt | sort | uniq -d |
 while read pkg; do
 printf "%s\n--\n" "$pkg" >> $output
 sed -ri "/^$pkg\$/d" $tmpd/toadd-stable.txt
-#sed -ri "/^$pkg\$/d" $tmpd/toadd-oldstable.txt
+sed -ri "/^$pkg\$/d" $tmpd/toadd-oldstable.txt
 done
 
 # Skip oldoldstable for now as it is an LTS release, tracked with
 # dla-needed:
-#for release in oldstable stable; do
-for release in stable; do
+#for release in stable; do
+for release in oldstable stable; do
 while read pkg; do
 printf "%s/%s\n--\n" "$pkg" "$release" >> $output
 done < $tmpd/toadd-$release.txt
-- 
2.11.0

>From c55737250e1c0f8e010390323b16bcd138ec5f71 Mon Sep 17 00:00:00 2001
From: Salvatore Bonaccorso 
Date: Sat, 10 Jun 2017 10:34:47 +0200
Subject: [PATCH 05/19] support-ended.py: Update mapping release -> codenames

---
 bin/tracker_data.py | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/bin/tracker_data.py b/bin/tracker_data.py
index 9f61d66abf..3bbac16603 100644
--- a/bin/tracker_data.py
+++ b/bin/tracker_data.py
@@ -22,10 +22,10 @@ import requests
 import six
 
 RELEASES = {
-'oldoldstable': 'squeeze',
-'oldstable': 'wheezy',
-'stable