]> git.decadent.org.uk Git - dak.git/commitdiff
Change how we generate incoming.debian.org
authorMark Hymers <mhy@debian.org>
Tue, 12 Aug 2014 19:29:36 +0000 (19:29 +0000)
committerMark Hymers <mhy@debian.org>
Tue, 12 Aug 2014 19:29:36 +0000 (19:29 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
config/debian/common
config/debian/vars

index 606f614a400afba90e29e7e4a87fbdfeb214b334..5eec32cf93f6cd7167178c750a4869344eee4c45 100644 (file)
@@ -36,13 +36,22 @@ 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
-    ${scriptsdir}/update-buildd-archive ${base}/build-queues ${incoming}/debian-buildd
 
+    # And set up all of the top level symlinks people seem to like
+    find ${incoming}/web -depth 0 -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"
+
+    # Tell the mirrors that we've updated
+    /usr/local/bin/static-update-component incoming.debian.org
 }
 
 # Process (oldstable)-proposed-updates "NEW" queue
index 03a86a78fc2c052157f0fa5c486a66d649dfb311..e14e5158c5bae1d27feb86f8e4767568d9509492 100644 (file)
@@ -23,7 +23,7 @@ queuedir=$base/queue/
 unchecked=$queuedir/unchecked/
 accepted=$queuedir/accepted/
 mirrordir=$base/mirror/
-incoming=$base/incoming
+incoming=$base/public/incoming.debian.org/
 newstage=$queuedir/newstage/
 exportdir=$base/export/
 exportpublic=$public/rsync/export/