From e9a7c61175caf1e7fca688fe69443b509335a2af Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 14 Sep 2024 13:18:14 +0200 Subject: generating first statistics page with M4 --- templates/footer.m4 | 31 +++ templates/header.m4 | 26 ++ templates/main.m4 | 659 --------------------------------------------------- templates/summary.m4 | 17 ++ templates/table.m4 | 658 ++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 732 insertions(+), 659 deletions(-) create mode 100644 templates/footer.m4 create mode 100644 templates/header.m4 delete mode 100644 templates/main.m4 create mode 100644 templates/summary.m4 create mode 100644 templates/table.m4 (limited to 'templates') diff --git a/templates/footer.m4 b/templates/footer.m4 new file mode 100644 index 0000000..b026089 --- /dev/null +++ b/templates/footer.m4 @@ -0,0 +1,31 @@ +m4_define(`_FOOTER', +` + + + + + +') diff --git a/templates/header.m4 b/templates/header.m4 new file mode 100644 index 0000000..45335e1 --- /dev/null +++ b/templates/header.m4 @@ -0,0 +1,26 @@ +m4_define(`_HEADER', +` + + + + Arch Linux 32 - $1 + + + + + +
+ + +
+
+') diff --git a/templates/main.m4 b/templates/main.m4 deleted file mode 100644 index 604a8da..0000000 --- a/templates/main.m4 +++ /dev/null @@ -1,659 +0,0 @@ - - - - - Arch Linux 32 - List of Build Slaves - - - - - - - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - name - - - - operator - - - - currently building - - - - last connection - - - - building since - - - - trials - - - - logged lines - - - - last action - -
- build-tasossah-1 - - KitsuWhooa - - pentium4/ot-urchin - - 2024-09-10 19:11:29 - - 2024-09-10 19:09:18 - - 2 - - 601 - - checking-source -
- euronuc - - abaumann - - i686/guile2.2 - - 2024-09-10 19:11:26 - - 2024-09-09 23:12:01 - - 3 - - 12036 - - building -
- build-tasossah-2 - - KitsuWhooa - - i686/sniffnet - - 2024-09-10 19:11:07 - - 2024-09-10 15:24:15 - - 5 - - 6954 - - building -
- build-tasossah-fx - - KitsuWhooa - - pentium4/vlc - - 2024-09-10 19:11:01 - - 2024-09-09 08:13:36 - - 1 - - 1479 - - building -
- euronuc-i486 - - abaumann - - i486/rocm-llvm - - 2024-09-10 19:11:00 - - 2024-09-09 21:48:35 - - 4 - - 42243 - - building -
- build-tasossah-3 - - KitsuWhooa - - i686/ot-urchin - - 2024-09-10 19:10:47 - - 2024-09-10 19:01:21 - - 5 - - 3056 - - building -
- eurobuild6-6 - - abaumann - -   - - 2024-09-10 17:30:12 - - 2024-09-10 16:27:25 - -   - -   - -   -
- eurobuild6-4 - - abaumann - -   - - 2024-09-10 17:27:58 - - 2024-09-10 15:45:32 - -   - -   - -   -
- eurobuild6-1 - - abaumann - -   - - 2024-09-10 17:23:10 - - 2024-09-10 16:55:10 - -   - -   - -   -
- eurobuild6-5 - - abaumann - -   - - 2024-09-10 17:20:00 - - 2024-09-10 16:42:52 - -   - -   - -   -
- eurobuild6-8-i486 - - abaumann - -   - - 2024-09-10 17:14:43 - - 2024-09-10 16:51:28 - -   - -   - -   -
- eurobuild6-7-i486 - - abaumann - -   - - 2024-09-10 17:10:43 - - 2024-09-10 16:54:44 - -   - -   - -   -
- eurobuild6-3 - - abaumann - -   - - 2024-09-10 17:10:31 - - 2024-09-10 16:41:49 - -   - -   - -   -
- eurobuild6-2 - - abaumann - -   - - 2024-09-10 17:04:09 - - 2024-09-10 16:36:53 - -   - -   - -   -
- build-tasossah-c2d - - KitsuWhooa - -   - - 2024-09-09 15:20:04 - - 2024-09-09 15:01:04 - -   - -   - -   -
- eurobuild3-i486 - - abaumann - -   - - 2024-09-08 11:55:16 - - 2024-09-08 11:34:55 - -   - -   - -   -
- eurobuild3 - - abaumann - -   - - 2024-09-08 11:49:22 - - 2024-09-08 11:34:13 - -   - -   - -   -
- streusel-1 - - deep42thought - -   - -   - -   - -   - -   - -   -
- streusel-2 - - deep42thought - -   - -   - -   - -   - -   - -   -
- streusel-3 - - deep42thought - -   - -   - -   - -   - -   - -   -
- thuringiabuild1 - - deep42thought - -   - -   - -   - -   - -   - -   -
-
-
- - - -
-
- -
- -
- - - diff --git a/templates/summary.m4 b/templates/summary.m4 new file mode 100644 index 0000000..23c3b1c --- /dev/null +++ b/templates/summary.m4 @@ -0,0 +1,17 @@ +m4_include(header.m4) +m4_include(footer.m4) + +_HEADER(`Archlinux32 Consistency Checker',`anb-stats') + +

Statistics

+Generated on m4_esyscmd(date) +
+m4_esyscmd(cat ../data/stats)
+
+

Duplicate States in State Repo

+
+m4_esyscmd(cat ../data/duplicates)
+
+ +_FOOTER() + diff --git a/templates/table.m4 b/templates/table.m4 new file mode 100644 index 0000000..4913ad7 --- /dev/null +++ b/templates/table.m4 @@ -0,0 +1,658 @@ + + + + + Arch Linux 32 - List of Build Slaves + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + name + + + + operator + + + + currently building + + + + last connection + + + + building since + + + + trials + + + + logged lines + + + + last action + +
+ build-tasossah-1 + + KitsuWhooa + + pentium4/ot-urchin + + 2024-09-10 19:11:29 + + 2024-09-10 19:09:18 + + 2 + + 601 + + checking-source +
+ euronuc + + abaumann + + i686/guile2.2 + + 2024-09-10 19:11:26 + + 2024-09-09 23:12:01 + + 3 + + 12036 + + building +
+ build-tasossah-2 + + KitsuWhooa + + i686/sniffnet + + 2024-09-10 19:11:07 + + 2024-09-10 15:24:15 + + 5 + + 6954 + + building +
+ build-tasossah-fx + + KitsuWhooa + + pentium4/vlc + + 2024-09-10 19:11:01 + + 2024-09-09 08:13:36 + + 1 + + 1479 + + building +
+ euronuc-i486 + + abaumann + + i486/rocm-llvm + + 2024-09-10 19:11:00 + + 2024-09-09 21:48:35 + + 4 + + 42243 + + building +
+ build-tasossah-3 + + KitsuWhooa + + i686/ot-urchin + + 2024-09-10 19:10:47 + + 2024-09-10 19:01:21 + + 5 + + 3056 + + building +
+ eurobuild6-6 + + abaumann + +   + + 2024-09-10 17:30:12 + + 2024-09-10 16:27:25 + +   + +   + +   +
+ eurobuild6-4 + + abaumann + +   + + 2024-09-10 17:27:58 + + 2024-09-10 15:45:32 + +   + +   + +   +
+ eurobuild6-1 + + abaumann + +   + + 2024-09-10 17:23:10 + + 2024-09-10 16:55:10 + +   + +   + +   +
+ eurobuild6-5 + + abaumann + +   + + 2024-09-10 17:20:00 + + 2024-09-10 16:42:52 + +   + +   + +   +
+ eurobuild6-8-i486 + + abaumann + +   + + 2024-09-10 17:14:43 + + 2024-09-10 16:51:28 + +   + +   + +   +
+ eurobuild6-7-i486 + + abaumann + +   + + 2024-09-10 17:10:43 + + 2024-09-10 16:54:44 + +   + +   + +   +
+ eurobuild6-3 + + abaumann + +   + + 2024-09-10 17:10:31 + + 2024-09-10 16:41:49 + +   + +   + +   +
+ eurobuild6-2 + + abaumann + +   + + 2024-09-10 17:04:09 + + 2024-09-10 16:36:53 + +   + +   + +   +
+ build-tasossah-c2d + + KitsuWhooa + +   + + 2024-09-09 15:20:04 + + 2024-09-09 15:01:04 + +   + +   + +   +
+ eurobuild3-i486 + + abaumann + +   + + 2024-09-08 11:55:16 + + 2024-09-08 11:34:55 + +   + +   + +   +
+ eurobuild3 + + abaumann + +   + + 2024-09-08 11:49:22 + + 2024-09-08 11:34:13 + +   + +   + +   +
+ streusel-1 + + deep42thought + +   + +   + +   + +   + +   + +   +
+ streusel-2 + + deep42thought + +   + +   + +   + +   + +   + +   +
+ streusel-3 + + deep42thought + +   + +   + +   + +   + +   + +   +
+ thuringiabuild1 + + deep42thought + +   + +   + +   + +   + +   + +   +
+
+
+ + + +
+
+ +
+ +
+ + + -- cgit v1.2.3-70-g09d2