]> git.donarmstrong.com Git - bugscan.git/commitdiff
Various changes to make this run from a non-official place. This commit
authorSteinar H. Gunderson <sesse@rietz>
Wed, 7 Mar 2007 11:56:47 +0000 (11:56 +0000)
committerSteinar H. Gunderson <sesse@rietz>
Wed, 7 Mar 2007 11:56:47 +0000 (11:56 +0000)
should be reverted as soon as we go into production.

crontab
dograph
dohtml
dostatus

diff --git a/crontab b/crontab
index 40b9b592a18aa0eaa4242343f81bbe64f0f40d55..06e93cce4f5d68fce112bd91de6ef056a3ade342 100755 (executable)
--- 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 182cb8555023d002e94192fe8e530a47a33e1024..d85ee532028c5c282f8cfa1743e1b2a3bf789755 100755 (executable)
--- 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 7f9bc10b87bea0ab3eb621e4d173f29f742cc9ac..dd3a8da3e5e7f49392848f6d930b964f35c0f4ef 100755 (executable)
--- 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
index 572dc40b567c700fa140e498092788d871b60495..13c2cf1042a7a00f048eb6b8194bced1caa6ec99 100755 (executable)
--- 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