From b8ad3d0bb98add45021f433e0e33df91b6b77bfa Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Wed, 7 Mar 2007 11:56:47 +0000 Subject: [PATCH] Various changes to make this run from a non-official place. This commit should be reverted as soon as we go into production. --- crontab | 5 ++++- dograph | 5 ++--- dohtml | 2 +- dostatus | 4 ++-- 4 files changed, 9 insertions(+), 7 deletions(-) diff --git a/crontab b/crontab index 40b9b59..06e93cc 100755 --- a/crontab +++ b/crontab @@ -2,7 +2,7 @@ set -e -cd /org/bugs.debian.org/bugscan +cd /home/sesse/bugscan # Run script from doogie to check packages in Incoming # ../../doogie/chgscan/update -o quiet=yes @@ -30,3 +30,6 @@ ln -sf $countfile count ./dohtml ./dostatus ./dograph + +rsync -r www/ sesse@gluck.debian.org:public_html/bugscan/ + diff --git a/dograph b/dograph index 182cb85..d85ee53 100755 --- a/dograph +++ b/dograph @@ -2,7 +2,7 @@ set -e -cd /org/bugs.debian.org/bugscan +cd /home/sesse/bugscan tmp=`tempfile` tmp2=`tempfile` @@ -11,7 +11,6 @@ find counts -type f | sort | xargs grep '^' /dev/null | sed 's/^.*count-//;s/ .*$//;s/:/ /' >"$tmp" find counts -type f | sort | xargs egrep '^(.* ){6}' /dev/null | sed 's/^.*count-//;s/:.* / /;' >"$tmp2" - #for i in counts/count-[0-9]* ; do # date=`echo $i | sed -e s/.*count-//` @@ -29,7 +28,7 @@ set terminal png set yrange [0:] #set xtics 2678400 #set nomxtics -set output "/org/bugs.debian.org/www/bugscan/graph.png" +set output "/home/sesse/bugscan/www/graph.png" plot "$tmp" using 1:2 with lines, "$tmp2" using 1:2 with lines quit EOF diff --git a/dohtml b/dohtml index 7f9bc10..dd3a8da 100755 --- a/dohtml +++ b/dohtml @@ -1,6 +1,6 @@ #! /bin/sh -htmldir=/org/bugs.debian.org/www/bugscan +htmldir=/home/sesse/bugscan realmakepage() { local filter="$1" # Distributions to list diff --git a/dostatus b/dostatus index 572dc40..13c2cf1 100755 --- a/dostatus +++ b/dostatus @@ -1,6 +1,6 @@ #!/bin/sh newtime=`ls -al status | cut -c 43-54` -echo -n "$newtime (CST): " > /org/bugs.debian.org/www/bugscan/status -./bugreport -s >> /org/bugs.debian.org/www/bugscan/status +echo -n "$newtime (CST): " > /home/sesse/bugscan/www/status +./bugreport -s >> /home/sesse/bugscan/www/status -- 2.39.2