[dak/master] automatically clean transitions
Signed-off-by: Mark Hymers <mhy@debian.org>
---
config/debian/cron.dinstall | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall
index 6988779..eb9f37d 100755
--- a/config/debian/cron.dinstall
+++ b/config/debian/cron.dinstall
@@ -269,6 +269,12 @@ function expire() {
$scriptsdir/expire_dumps -d . -p -f "dump_*"
}
+function transitionsclean() {
+ log "Removing out of date transitions..."
+ cd $base
+ dak transitions -c -a
+}
+
function reports() {
# Send a report on NEW/BYHAND packages
log "Nagging ftpteam about NEW/BYHAND packages"
@@ -730,6 +736,14 @@ GO=(
stage $GO
GO=(
+ FUNC="transitionsclean"
+ TIME="transitionsclean"
+ ARGS=""
+ ERR=""
+)
+stage $GO
+
+GO=(
FUNC="reports"
TIME="reports"
ARGS=""
--
1.5.6.5
Reply to: