From 552d76595dd3ed5f29037d94b0a6853ef303f1b1 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 12:51:05 +0000 Subject: [PATCH] site(org): LithosAnanke's version from kernel/Makefile at build, not v2.1.0 by hand (#191) The .org's at-a-glance figures said v2.1.0; the version is 4.0.0-alpha.5. build.py reads LITHOS_VERSION (Captain Bob: "From kernel/Makefile at build"). The rebuilt page: only that changes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm --- logs/20261121-downloads/site-org-rebuild-2.txt | 1 + site/org/Main.WebHome.xwiki | 2 +- site/org/build.py | 14 +++++++++++++- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 logs/20261121-downloads/site-org-rebuild-2.txt diff --git a/logs/20261121-downloads/site-org-rebuild-2.txt b/logs/20261121-downloads/site-org-rebuild-2.txt new file mode 100644 index 00000000..133ee580 --- /dev/null +++ b/logs/20261121-downloads/site-org-rebuild-2.txt @@ -0,0 +1 @@ +wrote Main.WebHome.xwiki, Admin.WebHome.xwiki, Contributors.WebHome.xwiki diff --git a/site/org/Main.WebHome.xwiki b/site/org/Main.WebHome.xwiki index ec947215..a0fc6957 100644 --- a/site/org/Main.WebHome.xwiki +++ b/site/org/Main.WebHome.xwiki @@ -39,7 +39,7 @@ html, body, #xwikimaincontainer, #xwikimaincontainerinner, #contentcontainer, #c
Browse the sourceTry it in a browser
-
v2.1.0
LithosAnanke, the UEFI microkernel
v4
StarForth, the F18 engine
3 ISAs
amd64 · aarch64 · riscv64
992
POST checks on every boot
+
v4.0.0-alpha.5
LithosAnanke, the UEFI microkernel
v4
StarForth, the F18 engine
3 ISAs
amd64 · aarch64 · riscv64
992
POST checks on every boot

The project

diff --git a/site/org/build.py b/site/org/build.py index 6bde87ef..86daf4cd 100755 --- a/site/org/build.py +++ b/site/org/build.py @@ -148,13 +148,25 @@ def post_count(): sys.exit("build: no count in v4/system/POST_FLOOR") +def lithos_version(): + """LithosAnanke's version, as the kernel is built: kernel/Makefile's LITHOS_VERSION (Captain Bob, 2026-11-21: + "From kernel/Makefile at build").""" + import re as _re + here = os.path.dirname(os.path.abspath(__file__)) + for line in open(os.path.join(here, "..", "..", "kernel", "Makefile")): + m = _re.match(r"LITHOS_VERSION\s*\??=\s*(\S+)", line) + if m: + return "v" + m.group(1) + sys.exit("build: no LITHOS_VERSION in kernel/Makefile") + + def code(s): return '%s' % s def page_main(canvas, url): links_ = [("Home", url("Main"), "Main"), ("Contributors", url("Contributors"), "Contributors")] - glance = [("v2.1.0", "LithosAnanke, the UEFI microkernel"), ("v4", "StarForth, the F18 engine"), + glance = [(lithos_version(), "LithosAnanke, the UEFI microkernel"), ("v4", "StarForth, the F18 engine"), ("3 ISAs", "amd64 · aarch64 · riscv64"), (post_count(), "POST checks on every boot")] strip = ('
\n