Ninlil releases publish a self-update feed, and installs check it by default #44
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#45 The self-update settings hint names the built-in release feed
lantea-one/ninlil
#43 Repository settings are ready before the repository goes public
lantea-one/ninlil
Reference
lantea-one/ninlil#44
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
SelfUpdateOptions.ReleaseFeedUrlis empty by default and the project publishes no feed(
src/dotnet/src/Ninlil.Dns.Server.SelfUpdate/SelfUpdateOptions.cs:19-24,50), so the built-incheck does nothing unless an operator hosts a feed. The check itself is already on by default
(
:42).What changes
release.shwrites aSelfUpdateReleaseFeedDocumentJSON for each release and uploads it as arelease asset with a fixed file name (for example
ninlil-release-feed.json).https://git.lantea.one/lantea-one/ninlil/releases/download/latest/<asset>serves that asset ofthe latest release. The GitHub-style
/releases/latest/download/<asset>path returns 404 there.Prereleases and drafts are skipped, and a release cut from a release branch becomes the latest.
While the repository is private, an anonymous request gets 404. The feed format stays
platform-neutral, as the class summary requires.
ReleaseFeedUrldefaults to that URL; the class summary's "No built-in feed URL" paragraph isrewritten.
flood the log: check what a failure logs today and, if it is a Warning every 15-minute retry,
limit it to one Warning per
CheckInterval. Say what was found.day, what it sends, and how to turn it off (
EnableAutomaticCheckfalse or an empty URL);CHANGELOG
Unreleased.hand it to
api-regenin the same PR.to Ninlil.
Acceptance
release.test.shasserts the document's fields and the upload with the fixed name againstthe fake Forgejo.
from a test feed (fake HTTP server on 127.0.0.1:0); a failing feed logs at most one Warning
per interval.
curl -fsSof the default URL returns the document of thenewest release.
Source
d-design.md:393,1069. Merged with #45's feed part (DEDUPE.md). FORGEJO-FACTS.md (latest-assetURL, verified 2026-10-31).
Owner decision 2026-10-31 (Q-REL-13 = Q-BUG-3): "JSON release asset at a stable 'latest' URL,
checked by default".