[Collab-qa-commits] r2049 - udd/scripts

Lucas Nussbaum lucas at alioth.debian.org
Mon Oct 17 07:49:04 UTC 2011


Author: lucas
Date: 2011-10-17 07:49:04 +0000 (Mon, 17 Oct 2011)
New Revision: 2049

Modified:
   udd/scripts/notify-mirror-push
Log:
do not reimport stable releases all the time to allow faster runs

Modified: udd/scripts/notify-mirror-push
===================================================================
--- udd/scripts/notify-mirror-push	2011-10-14 08:04:43 UTC (rev 2048)
+++ udd/scripts/notify-mirror-push	2011-10-17 07:49:04 UTC (rev 2049)
@@ -76,10 +76,18 @@
 UAR=/org/udd.debian.org/udd/update-and-run.sh
 case "$ARCHIVE" in
    "")
-     $UAR debian-wheezy debian-squeeze debian-sid debian-experimental debian-lenny debian-lenny-proposed-updates  debian-squeeze-proposed-updates debian-wheezy-proposed-updates debian-squeeze-updates
+      if [ $(($RANDOM % 10)) -eq 0 ]; then
+	      $UAR debian-{wheezy,squeeze,sid,experimental,lenny} debian-{lenny,squeeze,wheezy}-proposed-updates debian-squeeze-updates
+      else
+	      $UAR debian-{wheezy,sid,experimental} debian-wheezy-proposed-updates
+      fi
       ;;
    ubuntu)
-      $UAR ubuntu-{precise,oneiric,natty,maverick,lucid,karmic,hardy}{,-security,-updates,-proposed,-backports}
+      if [ $(($RANDOM % 10)) -eq 0 ]; then
+	      $UAR ubuntu-{precise,oneiric,natty,maverick,lucid,karmic,hardy}{,-security,-updates,-proposed,-backports}
+      else
+	      $UAR ubuntu-precise{,-security,-updates,-proposed,-backports}
+      fi
       ;;
    security)
       $UAR debian-lenny-security debian-squeeze-security debian-wheezy-security




More information about the Collab-qa-commits mailing list