Hardcode the repository releases come from
routerUpdate.repository (a module option beside the update keys, not a router.* setting) defaults to the project's repository; the Updates page names it but no longer has a field for it. Forks and tests set it in a module. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,15 +40,10 @@
|
||||
|
||||
<section>
|
||||
<h2>Releases from git</h2>
|
||||
<p>The router looks once a day at the release tags (<code>vX.Y.Z</code>) of a public repository and says here and on the
|
||||
Overview when a newer one exists. Installing builds it on the router, like a bundle: the settings are kept (and
|
||||
migrated), and the new version must be confirmed afterwards, or the router goes back. The repository is trusted
|
||||
as it is: nothing is signed on this path.</p>
|
||||
<form method="post" action="/update/repository" class="actions">
|
||||
<input type="hidden" name="csrf" value="{{.CSRF}}">
|
||||
<label>Repository <input name="repository" value="{{$u.Repository}}" size="44" placeholder="https://git.example.org/me/nixos-router"></label>
|
||||
<button class="secondary">Save</button>
|
||||
</form>
|
||||
<p>The router looks once a day at the release tags (<code>vX.Y.Z</code>) of <code>{{or $u.Repository "no repository"}}</code>
|
||||
and says here and on the Overview when a newer one exists. Installing builds it on the router, like a bundle: the
|
||||
settings are kept (and migrated), and the new version must be confirmed afterwards, or the router goes back. The
|
||||
repository is trusted as it is: nothing is signed on this path.</p>
|
||||
{{if $u.Repository}}
|
||||
<form method="post" action="/update/gitcheck" class="actions">
|
||||
<input type="hidden" name="csrf" value="{{.CSRF}}">
|
||||
|
||||
Reference in New Issue
Block a user