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:
+3
-2
@@ -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:<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"
|
||||
"&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]/<file> and [SHA:<file>] 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):
|
||||
|
||||
@@ -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>
|
||||
</div>
|
||||
<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: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: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: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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user