X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=dohtml;h=cbef6c091443b518a7bee465a0ccab2c9dc6f07f;hb=055961ce60da0c22b1273a0e9bc1cbe4adcc9215;hp=ebdd71649b062ac4f6ab122eacb522b5706b4988;hpb=ba928af3f693d3d4fc348c4d1395967fbddd04b1;p=bugscan.git
diff --git a/dohtml b/dohtml
index ebdd716..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 (sarge), S for stable (etch), T for testing (lenny), +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
-