From db0085d92664f74c2fcd2ee20da2b78b2e4a63ae Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 21 Nov 2026 12:49:01 +0000 Subject: [PATCH] site: the nightly links as Nexus names the images; Nexus open to anonymous read of snapshots only (#191) Nexus splits pc-stick.img.xz as classifier pc-stick.img, extension xz: the Downloads design's placeholders and build.py's pattern follow. All four links resolve to the latest snapshot. On Nexus (ruled "Snapshots only"): the anonymous user's role is now starshipos-anonymous-snapshots, read and browse on starshipos-snapshots alone, and anonymous access is on; releases and builds stay closed. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm --- logs/20261121-downloads/README.txt | 13 +++++++++++++ logs/20261121-downloads/site-build-2.txt | 1 + site/com/build.py | 5 +++-- site/com/canvas/Downloads.dc.html | 6 +++--- 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 logs/20261121-downloads/site-build-2.txt diff --git a/logs/20261121-downloads/README.txt b/logs/20261121-downloads/README.txt index c9dbcaa2..ad4050b1 100644 --- a/logs/20261121-downloads/README.txt +++ b/logs/20261121-downloads/README.txt @@ -14,3 +14,16 @@ and checksum filled, none left over, no patent, both pages in the navigation. Left: Nexus's snapshots opened for anonymous read, on the server; then a fetch of the latest without a login. + +Nexus, 2026-11-21 (an admin login given through the secure form, after three wrong ones -- an XWiki login, then +a stale password from the password manager -- whose 401s locked the address out for a while; nothing changed by +those). Anonymous access was off. As ruled ("Snapshots only"): a role starshipos-anonymous-snapshots +(nx-healthcheck-read, nx-search-read, and read and browse on starshipos-snapshots only) given to the anonymous +user in place of nx-anonymous, which reads every repository; then anonymous access switched on. +starshipos-releases and starshipos-builds stay closed. + +The nightly links checked: Nexus splits pc-stick.img.xz as classifier pc-stick.img, extension xz, so the +design's placeholders were corrected; all four resolve to the latest snapshot (20261121.033828-2). +Not seen from here: a fetch without a login (this session's proxy adds the admin login to every request to +nexus.starshipos-f18.org). Seen: Nexus redirects to http://, its base URL being http (as #146 noted of the +wikis) -- reported, not changed. diff --git a/logs/20261121-downloads/site-build-2.txt b/logs/20261121-downloads/site-build-2.txt new file mode 100644 index 00000000..0a992b53 --- /dev/null +++ b/logs/20261121-downloads/site-build-2.txt @@ -0,0 +1 @@ +wrote Main.WebHome.xwiki, Inquiries.WebHome.xwiki, TryIt.WebHome.xwiki, Downloads.WebHome.xwiki, Documents.WebHome.xwiki diff --git a/site/com/build.py b/site/com/build.py index 5875694c..a00a3e5a 100755 --- a/site/com/build.py +++ b/site/com/build.py @@ -40,7 +40,8 @@ PAGES = ["Main", "Inquiries", "TryIt"] RELEASE_PAGES = ["Downloads", "Documents"] RELEASES = "https://gitea.starshipos-f18.org/rajames/LithosAnanke/releases/download/" # #191: the latest nightly, from Nexus's snapshots (opened for anonymous read, Captain Bob 2026-11-13): the newest -# org.starship:kernelImage asset with the classifier and extension the design names, as [NIGHTLY::] +# org.starship:kernelImage asset with the classifier and extension the design names, as [NIGHTLY::] -- +# as Nexus splits them: pc-stick.img.xz is classifier pc-stick.img, extension xz NIGHTLY = ("https://nexus.starshipos-f18.org/service/rest/v1/search/assets/download?repository=starshipos-snapshots" "&maven.groupId=org.starship&maven.artifactId=kernelImage&sort=version&direction=desc" "&maven.classifier=%s&maven.extension=%s") @@ -110,7 +111,7 @@ def forms(html, page): def release(html, tag, sums): """[TAG], [RELEASE]/ and [SHA:] from the release; a file it has not is an error.""" html = html.replace("[TAG]", tag) - html = re.sub(r"\[NIGHTLY:([a-z0-9-]+):([a-z0-9.]+)\]", lambda m: (NIGHTLY % (m.group(1), m.group(2))).replace("&", "&"), html) + html = re.sub(r"\[NIGHTLY:([a-z0-9.-]+):([a-z0-9.]+)\]", lambda m: (NIGHTLY % (m.group(1), m.group(2))).replace("&", "&"), html) html = html.replace("[RELEASE]/", RELEASES + tag + "/") def sha(m): diff --git a/site/com/canvas/Downloads.dc.html b/site/com/canvas/Downloads.dc.html index 8dfaa439..d245a220 100644 --- a/site/com/canvas/Downloads.dc.html +++ b/site/com/canvas/Downloads.dc.html @@ -122,9 +122,9 @@ a{color:#F5891F}a:hover{color:#FFB061}

Built from master every night, booted on the three architectures as a release is, but not a release: no notes, no promises, gone when the next one lands. Its checksums are beside it on Nexus.