Release stretch, add buster
authorStuart Prescott <stuart@debian.org>
Sat, 17 Jun 2017 14:42:41 +0000 (00:42 +1000)
committerStuart Prescott <stuart@debian.org>
Sat, 17 Jun 2017 14:42:41 +0000 (00:42 +1000)
supybot/plugins/Judd/mkcontentslinks
supybot/plugins/Judd/uddcache/data.py

index d162985..cc15795 100755 (executable)
@@ -70,7 +70,7 @@ fi
 TARGET="$1"
 
 for release in $(udd-sections |
-                grep -e squeeze -e wheezy -e jessie -e stretch -e sid -e experimental |
+                grep -e wheezy -e jessie -e stretch -e buster -e sid -e experimental |
                 grep -v security)
 do
   # locate the relevant section of the local mirror
@@ -86,16 +86,16 @@ do
   fi
   mkdir -p "$TARGET/$RELDIR/"{main,contrib,non-free}
   case "$release" in
-    *squeeze*)
-        for c in "$DIR"/Contents*gz
-        do
-          if [ -f "$c" ]
-          then
-            ln -s "$c" "$TARGET/$RELDIR/main/"
-            touch "$TARGET/$RELDIR/"{contrib,non-free}/$(basename "$c")
-          fi
-        done
-      ;;
+    *squeeze*)
+        for c in "$DIR"/Contents*gz
+        do
+          if [ -f "$c" ]
+          then
+            ln -s "$c" "$TARGET/$RELDIR/main/"
+            touch "$TARGET/$RELDIR/"{contrib,non-free}/$(basename "$c")
+          fi
+        done
+      ;;
     *)
         for s in main contrib non-free
         do
index 4d74982..844c007 100644 (file)
@@ -136,14 +136,12 @@ class DebianData(AvailableData):
     release_map = {
                     'rc-buggy':            'experimental',
                     'unstable':            'sid',
-                    'testing':             'stretch',
-                    'stable':              'jessie',
-                    'stable-backports':    'jessie-backports',
-                    'oldstable':           'wheezy',
-                    'oldstable-backports': 'wheezy-backports',
-                    'oldoldstable':        'squeeze',
-                    'oldoldstable-backports': 'squeeze-backports',
-                    'oldoldstable-backports-sloppy': 'squeeze-backports-sloppy',
+                    'testing':             'buster',
+                    'stable':              'stretch',
+                    'oldstable':           'jessie',
+                    'oldstable-backports': 'jessie-backports',
+                    'oldoldstable':        'wheezy',
+                    'oldoldstable-backports': 'wheezy-backports',
                 }
 
     releases = [
@@ -167,14 +165,20 @@ class DebianData(AvailableData):
                     'jessie-updates',
                     'jessie-proposed-updates',
                     'jessie-backports',
-                    #'jessie-backports-sloppy',
+                    'jessie-backports-sloppy',
                     'jessie-multimedia',
                     'stretch',
                     'stretch-security',
                     'stretch-proposed-updates',
-                    #'stretch-backports',
+                    'stretch-backports',
                     #'stretch-backports-sloppy',
                     'stretch-multimedia',
+                    'buster',
+                    'buster-security',
+                    'buster-proposed-updates',
+                    #'buster-backports',
+                    #'buster-backports-sloppy',
+                    'buster-multimedia',
                     'sid',
                     'sid-multimedia',
                     'experimental',
@@ -182,12 +186,29 @@ class DebianData(AvailableData):
 
     devel_release = 'sid'
 
-    arches = ['alpha', 'amd64', 'armel', 'armhf',
-               'hppa', 'hurd-i386', 'i386', 'ia64',
-               'kfreebsd-amd64', 'kfreebsd-i386',
-               'mips', 'mipsel', 'powerpc', 's390', 's390x',
-               'sparc', 'all']
-
-    stable_release = 'jessie'
+    arches = [
+        'alpha',
+        'amd64',
+        'arm64',
+        'armel',
+        'armhf',
+        'hppa',
+        'hurd-i386',
+        'i386',
+        'ia64',
+        'kfreebsd-amd64',
+        'kfreebsd-i386',
+        'mips',
+        'mipsel',
+        'mips64el',
+        'powerpc',
+        'ppc64el',
+        's390',
+        's390x',
+        'sparc',
+        'all',
+    ]
+
+    stable_release = 'stretch'
 
     default_arch = 'amd64'