X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=dograph;h=889a696c98857b00e256f133adfd4c2eef745602;hp=3af59ab3bd8a581422e0ce4be783e9d9dbac2ee4;hb=da9bc4d89556c3c089f33525461c746403532627;hpb=e3a6541c0aed15b79158efd93ac3a064cc475bf8 diff --git a/dograph b/dograph index 3af59ab..889a696 100755 --- a/dograph +++ b/dograph @@ -21,8 +21,8 @@ find counts -type f -not -iname '*.bad'| sort | xargs egrep '^(.* ){7}' /dev/nul # echo $date $count >> ${tmp}2 #done -# This is the date of the wheezy release -previous_release="201305040600" +# This is the date of the stretch release +previous_release="201706170000" # And this is a month ago previous_month=`date +"%Y%m%d%H%M" --date="1 month ago"` @@ -37,7 +37,6 @@ set terminal png set yrange [0:] #set xtics 2678400 #set nomxtics -set output "/org/bugs.debian.org/www/bugscan/graph.png" set linetype 1 lc rgb "dark-violet" lw 1 set linetype 2 lc rgb "#009e73" lw 1 set linetype 3 lc rgb "#56b4e9" lw 1 @@ -48,13 +47,14 @@ set linetype 7 lc rgb "#e51e10" lw 1 set linetype 8 lc rgb "black" lw 1 set linetype 9 lc rgb "gray50" lw 1 set linetype cycle 9 +set output "/srv/bugs.debian.org/www/bugscan/graph.png" plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines set xrange ["$previous_release":] -set output "/org/bugs.debian.org/www/bugscan/graph-release.png" +set output "/srv/bugs.debian.org/www/bugscan/graph-release.png" plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines set xrange ["$previous_month":] set format x "%d\n%m\n%Y" -set output "/org/bugs.debian.org/www/bugscan/graph-month.png" +set output "/srv/bugs.debian.org/www/bugscan/graph-month.png" plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines, "$tmp3" using 1:2 with lines quit EOF