]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/cron.weekly
Remove .bzrignore and do a little git housekeeping in cron.weekly
[dak.git] / config / debian / cron.weekly
index 99d16359365f196ce82c3325b3f46bbd8d987425..53d951cdc0f54a911435ea316876fccab5126dee 100755 (executable)
@@ -34,6 +34,12 @@ dak split-done > /dev/null
 # Vacuum the database
 echo "VACUUM; VACUUM ANALYZE;" | psql --no-psqlrc projectb 2>&1 | grep -v "^NOTICE:  Skipping.*only table owner can VACUUM it$"
 
+# Do git cleanup stuff
+echo "Doing git stuff"
+cd /org/ftp.debian.org/git/dak.git
+git gc --prune
+git update-server-info
+
 # Clean up apt-ftparchive's databases
 cd $configdir
 echo "Cleanup apt-ftparchive's database"