[dak/security] Remove .bzrignore and do a little git housekeeping in cron.weekly
---
.bzrignore | 1 -
ChangeLog | 2 ++
config/debian/cron.weekly | 6 ++++++
3 files changed, 8 insertions(+), 1 deletions(-)
delete mode 100644 .bzrignore
diff --git a/.bzrignore b/.bzrignore
deleted file mode 100644
index ce45799..0000000
--- a/.bzrignore
+++ /dev/null
@@ -1 +0,0 @@
-dak/daklib
diff --git a/ChangeLog b/ChangeLog
index 16b1a59..3fa62d3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-06-14 Joerg Jaspert <joerg@debian.org>
+ * config/debian/cron.weekly: Do a little git cleanup work too.
+
* config/debian/cron.buildd: Add batchmode and also
Connect/SetupTimeout parameters to ssh
diff --git a/config/debian/cron.weekly b/config/debian/cron.weekly
index 99d1635..53d951c 100755
--- a/config/debian/cron.weekly
+++ b/config/debian/cron.weekly
@@ -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"
--
1.5.6.5
Reply to: