]> git.donarmstrong.com Git - debbugs-presentations.git/blob - data/Makefile
update the commands to run local-debbugs
[debbugs-presentations.git] / data / Makefile
1 #!/usr/bin/make -f
2
3 DEBBUGS_MASTER=buxtehude.debian.org
4
5 DATA_FILES=sorted_bug_growth_for_r_every_500.txt rc_bugs.txt bug_closed_time_series.txt
6
7 all: 
8         echo "Not doing anything";
9
10
11 sorted_bug_growth_for_r_every_500.txt: 
12         ssh $(DEBBUGS_MASTER) "(cd /srv/bugs.debian.org/spool; find db-h archive -name '*.report' -printf '%T@\t%f\n')" | \
13                 sort -n | perl -n -e 'BEGIN {$$a = 0; } if (! ($$a++ % 500)) {s/.report//; print $$_; }' > $@
14
15 rc_bugs.txt: 
16         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 '^$$' > $@
17
18 bug_closed_time_series.txt:
19         ssh $(DEBBUGS_MASTER) "find /srv/bugs.debian.org/spool/archive -name '*.log' -printf '%TY-%TW\n'|sort -n|uniq -c" | perl -pe 's/^\s+//;' > $@
20
21
22 .PHONY: $(DATA_FILES)