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 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017RzZgrf7V7Zk2iczBXDRbm
This commit is contained in:
Claude
2026-11-21 12:49:01 +00:00
parent 0234dc6baf
commit db0085d926
4 changed files with 20 additions and 5 deletions
+13
View File
@@ -14,3 +14,16 @@
and checksum filled, none left over, no patent, both pages in the navigation. 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. 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.
+1
View File
@@ -0,0 +1 @@
wrote Main.WebHome.xwiki, Inquiries.WebHome.xwiki, TryIt.WebHome.xwiki, Downloads.WebHome.xwiki, Documents.WebHome.xwiki
+3 -2
View File
@@ -40,7 +40,8 @@ PAGES = ["Main", "Inquiries", "TryIt"]
RELEASE_PAGES = ["Downloads", "Documents"] RELEASE_PAGES = ["Downloads", "Documents"]
RELEASES = "https://gitea.starshipos-f18.org/rajames/LithosAnanke/releases/download/" 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 # #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:<classifier>:<ext>] # org.starship:kernelImage asset with the classifier and extension the design names, as [NIGHTLY:<classifier>:<ext>] --
# 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" 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.groupId=org.starship&maven.artifactId=kernelImage&sort=version&direction=desc"
"&maven.classifier=%s&maven.extension=%s") "&maven.classifier=%s&maven.extension=%s")
@@ -110,7 +111,7 @@ def forms(html, page):
def release(html, tag, sums): def release(html, tag, sums):
"""[TAG], [RELEASE]/<file> and [SHA:<file>] from the release; a file it has not is an error.""" """[TAG], [RELEASE]/<file> and [SHA:<file>] from the release; a file it has not is an error."""
html = html.replace("[TAG]", tag) 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("&", "&amp;"), html) html = re.sub(r"\[NIGHTLY:([a-z0-9.-]+):([a-z0-9.]+)\]", lambda m: (NIGHTLY % (m.group(1), m.group(2))).replace("&", "&amp;"), html)
html = html.replace("[RELEASE]/", RELEASES + tag + "/") html = html.replace("[RELEASE]/", RELEASES + tag + "/")
def sha(m): def sha(m):
+3 -3
View File
@@ -122,9 +122,9 @@ a{color:#F5891F}a:hover{color:#FFB061}
<p style="margin: 0; color: #C8D1DE; font-size: 15px">Built from <code>master</code> 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.</p> <p style="margin: 0; color: #C8D1DE; font-size: 15px">Built from <code>master</code> 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.</p>
</div> </div>
<div style="flex: 0 1 300px; display: flex; flex-wrap: wrap; align-content: center; gap: 8px"> <div style="flex: 0 1 300px; display: flex; flex-wrap: wrap; align-content: center; gap: 8px">
<a href="[NIGHTLY:pc-stick:img.xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">PC stick</a> <a href="[NIGHTLY:pc-stick.img:xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">PC stick</a>
<a href="[NIGHTLY:raspi5:img.xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">Raspberry Pi 5</a> <a href="[NIGHTLY:raspi5.img:xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">Raspberry Pi 5</a>
<a href="[NIGHTLY:milkv:img.xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">Milk-V Mars</a> <a href="[NIGHTLY:milkv.img:xz]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">Milk-V Mars</a>
<a href="[NIGHTLY:pc:iso]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">QEMU ISO</a> <a href="[NIGHTLY:pc:iso]" style="display: inline-block; padding: 12px 20px; border: 1px solid #34486A; color: #EEF2F7; text-decoration: none; border-radius: 4px">QEMU ISO</a>
</div> </div>
</div> </div>