[26780] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25750 - trunk/debathena/config/auto-update/debian

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Wed Sep 5 08:36:20 2012

Date: Wed, 5 Sep 2012 08:36:14 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201209051236.q85CaEgb007944@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2012-09-05 08:36:13 -0400 (Wed, 05 Sep 2012)
New Revision: 25750

Modified:
   trunk/debathena/config/auto-update/debian/athena-auto-update
   trunk/debathena/config/auto-update/debian/changelog
Log:
In auto-update:
  * Fetch the Release file, not the directory listing, when attempting to
    verify mirrors.


Modified: trunk/debathena/config/auto-update/debian/athena-auto-update
===================================================================
--- trunk/debathena/config/auto-update/debian/athena-auto-update	2012-09-04 19:44:04 UTC (rev 25749)
+++ trunk/debathena/config/auto-update/debian/athena-auto-update	2012-09-05 12:36:13 UTC (rev 25750)
@@ -235,7 +235,7 @@
 maybe_reboot
 
 # Ensure that the mirrors aren't broken
-urls=$(cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep -v ^# | grep -v ^$ | awk '{print $2}' | sort | uniq)
+urls=$(cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list | grep -v ^# | grep -v ^$ | awk '{print $2"/dists/"$3"/Release"}' | sort | uniq)
 failed=""
 for u in $urls; do
     # We don't (yet) know how to verify other URI schemes

Modified: trunk/debathena/config/auto-update/debian/changelog
===================================================================
--- trunk/debathena/config/auto-update/debian/changelog	2012-09-04 19:44:04 UTC (rev 25749)
+++ trunk/debathena/config/auto-update/debian/changelog	2012-09-05 12:36:13 UTC (rev 25750)
@@ -1,3 +1,10 @@
+debathena-auto-update (1.40) unstable; urgency=low
+
+  * Fetch the Release file, not the directory listing, when attempting to
+    verify mirrors.
+
+ -- Jonathan Reed <jdreed@mit.edu>  Wed, 05 Sep 2012 08:35:09 -0400
+
 debathena-auto-update (1.39) unstable; urgency=low
 
   * If someone has other debathena repos enabled, don't add -proposed and


home help back first fref pref prev next nref lref last post