[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] rrd foo



only one rrd-release-freeze-dates file
proper file headers

Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 config/backports/cron.hourly              |    3 +--
 config/backports/rrd-release-freeze-dates |    2 --
 config/debian/cron.hourly                 |    2 +-
 config/debian/rrd-release-freeze-dates    |    2 --
 dak/graph.py                              |    9 ++++++---
 scripts/debian/rrd-release-freeze-dates   |    3 +++
 6 files changed, 11 insertions(+), 10 deletions(-)
 delete mode 100644 config/backports/rrd-release-freeze-dates
 delete mode 100644 config/debian/rrd-release-freeze-dates
 create mode 100644 scripts/debian/rrd-release-freeze-dates

diff --git a/config/backports/cron.hourly b/config/backports/cron.hourly
index 5357653..12e06fc 100755
--- a/config/backports/cron.hourly
+++ b/config/backports/cron.hourly
@@ -12,8 +12,7 @@ dak import-users-from-passwd
 dak queue-report -n > $webdir/new.html
 dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir
 #dak show-deferred > ${webdir}/deferred.html
-dak graph -n new,byhand,proposedupdates,oldproposedupdates -r $webdir -i $webdir -x $configdir/rrd-release-freeze-dates
-#dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir -i $webdir -x $configdir/rrd-release-freeze-dates
+dak graph -n new,byhand,proposedupdates,oldproposedupdates -r $webdir -i $webdir -x $scriptsdir/rrd-release-freeze-dates
 dak show-new > /dev/null
 
 # cd $webdir
diff --git a/config/backports/rrd-release-freeze-dates b/config/backports/rrd-release-freeze-dates
deleted file mode 100644
index ef70834..0000000
--- a/config/backports/rrd-release-freeze-dates
+++ /dev/null
@@ -1,2 +0,0 @@
-VRULE:1234691928#632a5b:lenny release
-VRULE:1281102258#0b19c1:squeeze freeze
diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly
index 3446182..d24cb18 100755
--- a/config/debian/cron.hourly
+++ b/config/debian/cron.hourly
@@ -12,7 +12,7 @@ dak import-users-from-passwd
 dak queue-report -n > $webdir/new.html
 dak queue-report -8 -d new,byhand,proposedupdates,oldproposedupdates -r $webdir
 dak show-deferred > ${webdir}/deferred.html
-dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir -i $webdir -x $configdir/rrd-release-freeze-dates
+dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir -i $webdir -x $scriptsdir/rrd-release-freeze-dates
 
 # do not run show-new and other stuff in parallel
 LOCKFILE="$lockdir/unchecked.lock"
diff --git a/config/debian/rrd-release-freeze-dates b/config/debian/rrd-release-freeze-dates
deleted file mode 100644
index ef70834..0000000
--- a/config/debian/rrd-release-freeze-dates
+++ /dev/null
@@ -1,2 +0,0 @@
-VRULE:1234691928#632a5b:lenny release
-VRULE:1281102258#0b19c1:squeeze freeze
diff --git a/dak/graph.py b/dak/graph.py
index 06deaef..9afc02e 100755
--- a/dak/graph.py
+++ b/dak/graph.py
@@ -1,7 +1,10 @@
 #!/usr/bin/env python
 
-""" Produces a set of graphs of NEW/BYHAND/DEFERRED"""
-# Copyright 2011 Paul Wise <pabs@debian.org>
+""" Produces a set of graphs of NEW/BYHAND/DEFERRED
+
+@contact: Debian FTPMaster <ftpmaster@debian.org>
+@copyright: 2011 Paul Wise <pabs@debian.org>
+"""
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -32,7 +35,7 @@ default_names = ["byhand", "new", "deferred"]
 ################################################################################
 
 def usage(exit_code=0):
-    print """Usage: dak queue-graph
+    print """Usage: dak graph
 Graphs the number of packages in queue directories (usually new and byhand).
 
   -h, --help                show this help and exit.
diff --git a/scripts/debian/rrd-release-freeze-dates b/scripts/debian/rrd-release-freeze-dates
new file mode 100644
index 0000000..7981e51
--- /dev/null
+++ b/scripts/debian/rrd-release-freeze-dates
@@ -0,0 +1,3 @@
+VRULE:1234691928#632a5b:lenny release
+VRULE:1281102258#0b19c1:squeeze freeze
+VRULE:1296908977#0b19c1:squeeze release
-- 
1.5.6.5


Reply to: