]> err.no Git - dak/commitdiff
Create a hardlinked tree for the buildds
authorJoerg Jaspert <joerg@debian.org>
Fri, 8 Aug 2008 13:30:46 +0000 (15:30 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 8 Aug 2008 13:30:46 +0000 (15:30 +0200)
ChangeLog
config/debian/cron.dinstall
config/debian/vars

index 0c329fc634308db3c019830387a6ca23394fb35a..48d75b850eef8db7a3c54f4bdc46a27d4c455b47 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-08-08  Joerg Jaspert  <joerg@debian.org>
 
+       * config/debian/cron.dinstall: Create a hardlinked tree of the
+       ftp/ in mirror/ so we have more atomic mirror updates for the
+       buildds
+
        * config/debian/cron.unchecked: Added signing of buildd incoming
 
 2008-08-07  Joerg Jaspert  <joerg@debian.org>
index 7710ebd3e68430c74392ad0223e6fa886b4ccc63..6704fe4e0fe82393b5b0c895abaecbe7d9b242a0 100755 (executable)
@@ -178,6 +178,14 @@ cd $scriptsdir
 ./mkfilesindices
 ./mkchecksums
 
+ts
+
+# (Re)generate the hardlinked mirror directory for "public" buildd / mirror access
+echo "Regenerating mirror/ hardlink fun"
+cd ${mirrordir}
+rsync -aH --link-dest ${ftpdir} --delete --delete-after --ignore-errors ${ftpdir}/. .
+
+
 ts
 
 echo "Trigger daily wanna-build run"
index 3f993fadda259afc24bcac9214a311848fb11b33..ef4b670c75ee5dd1f0e1ced12e11cb7320d65051 100644 (file)
@@ -19,6 +19,7 @@ logdir=$base/log/cron/
 queuedir=$base/queue/
 unchecked=$queuedir/unchecked/
 accepted=$queuedir/accepted/
+mirrordir=$base/mirror/
 incoming=$base/incoming
 
 ftpgroup=debadmin