X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=blobdiff_plain;f=dohtml;h=cbef6c091443b518a7bee465a0ccab2c9dc6f07f;hp=8a1055f6900a761063d538fd77fcaf255f3dda70;hb=055961ce60da0c22b1273a0e9bc1cbe4adcc9215;hpb=e6d15cff02915f4fd05995fdb2484e2df553a235
diff --git a/dohtml b/dohtml
index 8a1055f..cbef6c0 100755
--- a/dohtml
+++ b/dohtml
@@ -2,6 +2,41 @@
htmldir=/org/bugs.debian.org/www/bugscan
+html_header() {
+ local title="$1" # Title of page
+ local date="$2" # Date
+
+ cat <$title
+
+$date
+
+EOF
+}
+
+html_page_creation_notice() {
+ cat <
+Please contact
+owner@bugs.debian.org for comments.
+EOF
+}
+
+html_closing_tags() {
+ cat <$title
+ html_header "$title" "$date"
-$date
+ cat <
You might also want to check out UDD instead of this page.
@@ -51,12 +79,12 @@ tags:
The second set of tags indicate what releases a bug applies to: -O for oldstable (lenny), S for stable (squeeze), T for testing (wheezy), +O for oldstable (squeeze), S for stable (wheezy), T for testing (jessie), U for unstable (sid) or E for experimental.
@@ -64,28 +92,18 @@ U for unstable (sid) or E for experimental.
EOF
./bugreport -H -l $filter
- cat < Other graphs:
+
-Please contact
-owner@bugs.debian.org for comments.
-
-
-EOF
+ html_page_creation_notice
+
+ html_closing_tags
}
makemainpage() {
- cat <$title
+ local title="$1" # Title of page
+ local time="$2" # Date
-$time
+ header "$title" "$time"
+
+ cat <
The red line graphs all bugs with release-critical severities; the green line graphs the number of bugs that are actually a concern for the next @@ -128,15 +153,18 @@ EOF + Only bugs relevant to testing
-