DEBBUGS_MASTER=buxtehude.debian.org
-DATA_FILES=sorted_bug_growth_for_r_every_500.txt rc_bugs.txt
+DATA_FILES=sorted_bug_growth_for_r_every_500.txt rc_bugs.txt bug_closed_time_series.txt
all:
echo "Not doing anything";
sort -n | perl -n -e 'BEGIN {$$a = 0; } if (! ($$a++ % 500)) {s/.report//; print $$_; }' > $@
rc_bugs.txt:
- ssh $(DEBBUGS_MASTER) '(cd /srv/bugs.debian.org/bugscan/counts/; echo -e "date\ttotal\tpending\tpatch\tunknown\tignore\tunknown\taffects.testing\taffects.stable"; for a in count-*; do echo -n $${a##count-}; echo -n " "; cat $$a; done; )' > $@
+ ssh $(DEBBUGS_MASTER) '(cd /srv/bugs.debian.org/bugscan/counts/; echo -e "date\ttotal\tpending\tpatch\tunknown\tignore\tunknown\taffects.testing\taffects.stable"; for a in count-*; do echo -n $${a##count-}; echo -n " "; cat $$a; echo; done; )'|grep -v '^$$' > $@
+
+bug_closed_time_series.txt:
+ ssh $(DEBBUGS_MASTER) "find /srv/bugs.debian.org/spool/archive -name '*.log' -printf '%TY-%TW\n'|sort -n|uniq -c" | perl -pe 's/^\s+//;' > $@
.PHONY: $(DATA_FILES)