]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.dinstall
Merge commit 'mhy/lenny-prepare' into merge
[dak.git] / config / debian / cron.dinstall
index 70001b4dcccda44d3f2ceebcf29168f36f73f19e..15096657235cc09b43b70157f34d1db174b4466e 100755 (executable)
@@ -91,6 +91,8 @@ ts "o-p-u-new"
 
 ################################################################################
 
 
 ################################################################################
 
+# Temporary until lenny is there
+dak control-suite -s lenny-r0 /srv/ftp.debian.org/misc/lenny-r0.txt
 
 echo "Synchronizing i18n package descriptions"
 # First sync their newest data
 
 echo "Synchronizing i18n package descriptions"
 # First sync their newest data
@@ -117,15 +119,15 @@ if $(gpgv --keyring /srv/ftp.debian.org/s3kr1t/dot-gnupg/pubring.gpg timestamp.g
                        done
                else
                        echo "ARRRR, bad guys, wrong files, ARRR"
                        done
                else
                        echo "ARRRR, bad guys, wrong files, ARRR"
-                       echo "Arf, Arf, Arf, bad guys, wrong files, arf, arf, arf" | mail debian-l10n-devel@lists.alioth.debian.org
+                       echo "Arf, Arf, Arf, bad guys, wrong files, arf, arf, arf" | mail -s "Don't you kids take anything. I'm watching you. I've got eye implants in the back of my head." debian-l10n-devel@lists.alioth.debian.org
                fi
     else
                echo "ARRRR, missing the timestamp ${TSTAMP} directory, not updating i18n, ARRR"
                fi
     else
                echo "ARRRR, missing the timestamp ${TSTAMP} directory, not updating i18n, ARRR"
-               echo "Arf, Arf, Arf, missing the timestamp ${TSTAMP} directory, not updating i18n, arf, arf, arf" | mail debian-l10n-devel@lists.alioth.debian.org
+               echo "Arf, Arf, Arf, missing the timestamp ${TSTAMP} directory, not updating i18n, arf, arf, arf" | mail -s "Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way." debian-l10n-devel@lists.alioth.debian.org
        fi
 else
     echo "ARRRRRRR, could not verify our timestamp signature, ARRR. Don't mess with our files, i18n guys, ARRRRR."
        fi
 else
     echo "ARRRRRRR, could not verify our timestamp signature, ARRR. Don't mess with our files, i18n guys, ARRRRR."
-       echo "Arf, Arf, Arf, could not verify our timestamp signature, arf. Don't mess with our files, i18n guys, arf, arf, arf" | mail debian-l10n-devel@lists.alioth.debian.org
+       echo "Arf, Arf, Arf, could not verify our timestamp signature, arf. Don't mess with our files, i18n guys, arf, arf, arf" | mail -s "You can't keep blaming yourself. Just blame yourself once, and move on." debian-l10n-devel@lists.alioth.debian.org
 fi
 ts "i18n 1"
 
 fi
 ts "i18n 1"
 
@@ -170,6 +172,10 @@ rm -f override.sid.all3
 for i in main contrib non-free main.debian-installer; do cat override.sid.$i >> override.sid.all3; done
 ts "overrides"
 
 for i in main contrib non-free main.debian-installer; do cat override.sid.$i >> override.sid.all3; done
 ts "overrides"
 
+# Generate package / file mapping
+echo "Generating package / file mapping"
+dak make-pkg-file-mapping | bzip2 -9 > $base/ftp/indices/package-file.map.bz2
+ts "pkg-file-mapping"
 
 # Generate Packages and Sources files
 echo "Generating Packages and Sources files"
 
 # Generate Packages and Sources files
 echo "Generating Packages and Sources files"
@@ -256,6 +262,9 @@ ts "reports"
 echo "Updating DM html page"
 $scriptsdir/dm-monitor >$webdir/dm-uploaders.html
 
 echo "Updating DM html page"
 $scriptsdir/dm-monitor >$webdir/dm-uploaders.html
 
+echo "Categorizing uncategorized bugs filed against ftp.debian.org"
+dak bts-categorize
+
 ################################################################################
 
 # Push katie@merkel so it syncs the projectb there. Returns immediately, the sync runs detached
 ################################################################################
 
 # Push katie@merkel so it syncs the projectb there. Returns immediately, the sync runs detached
@@ -338,7 +347,7 @@ ts "logremove"
 echo "Finally, all is done, sending mail and compressing logfile"
 exec > /dev/null 2>&1
 
 echo "Finally, all is done, sending mail and compressing logfile"
 exec > /dev/null 2>&1
 
-$base/tools/logs.py "$LOGFILE"
+$masterdir/tools/logs.py "$LOGFILE"
 
 cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org
 bzip2 -9 "$LOGFILE"
 
 cat "$LOGFILE" | mail -s "Log for dinstall run of ${NOW}" cron@ftp-master.debian.org
 bzip2 -9 "$LOGFILE"