From 2bb16aa77f112def9c87ade768434d02940da9e2 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sat, 14 Jun 2008 18:05:29 +0200 Subject: [PATCH] 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 deletion(-) delete mode 100644 .bzrignore diff --git a/.bzrignore b/.bzrignore deleted file mode 100644 index ce45799c..00000000 --- a/.bzrignore +++ /dev/null @@ -1 +0,0 @@ -dak/daklib diff --git a/ChangeLog b/ChangeLog index 16b1a59d..3fa62d3c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-06-14 Joerg Jaspert + * 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 99d16359..53d951cd 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" -- 2.39.5