]> git.donarmstrong.com Git - dak.git/blobdiff - config/debian/common
Show last updated time on i.d.o
[dak.git] / config / debian / common
index e766820b13281ddb01048295391229b9688063e2..e44f2bb0e468a86dbd0fec8b7227d1b306c82814 100644 (file)
@@ -33,25 +33,16 @@ function wbtrigger() {
 
 # used by cron.dinstall *and* cron.unchecked.
 function make_buildd_dir () {
-    local overridesuite
-    local suite
-
     # We generate straight into the static mirror location for incoming
     dak manage-build-queues -a
     dak generate-packages-sources2 -a build-queues
     dak generate-releases -a build-queues >/dev/null
 
-    # And set up all of the top level symlinks people seem to like
-    find ${incoming}/web -maxdepth 1 -type l -delete
-    dak export-suite -r -s "accepted" -d "$incoming/web"
-
-    # For now, we still create the local incoming.d.o setup
-    ${scriptsdir}/update-buildd-archive ${incoming}/web/debian-buildd ${incoming}/debian-buildd
-    rm -f ${incoming}/public/*
-    dak export-suite -s "accepted" -d "$incoming/public"
+    # Stick a last modified date in the page footer
+    echo "<p>Last updated: `date -u`</p>" > ${incoming}/web/README.html
 
     # Tell the mirrors that we've updated
-    /usr/local/bin/static-update-component incoming.debian.org >/dev/null
+    chronic /usr/local/bin/static-update-component incoming.debian.org
 }
 
 # Process (oldstable)-proposed-updates "NEW" queue