fix(store): links ook via de generator van de mediasjablonen
All checks were successful
Deploy server-up (dev) / deploy (push) Successful in 4m39s

- 19f3808 zette metadata.links tekstueel in de 46 *arr-sjablonen, maar die
  komen uit tools/arr_sjablonen.py; test_sjablonen_zijn_gelijk_aan_de_
  generator faalde. Mijn fout: de commit ging door terwijl pytest één
  fout meldde (de && keek naar tail, niet naar pytest).
- arr_sjablonen.py neemt de links nu zelf op uit tools/app_links.py
  (KANDIDATEN), ook voor de ARR-stack; opnieuw gegenereerd.
- Volledige suite (exitcode gecontroleerd) en JS-tests groen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WPhDUEiVvmH9F4uUkPGKsT
This commit is contained in:
Ramon 2026-10-24 05:23:55 +02:00
parent 19f380851d
commit ff6862d64c
47 changed files with 178 additions and 46 deletions

View file

@ -21,7 +21,10 @@
"media",
"downloaden"
],
"links": {"website": "https://wiki.servarr.com", "source": "https://github.com/Sonarr/Sonarr"}
"links": {
"website": "https://wiki.servarr.com",
"source": "https://github.com/Sonarr/Sonarr"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/dan-online/autopulse"}
"links": {
"source": "https://github.com/dan-online/autopulse"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://www.bazarr.media", "source": "https://github.com/morpheus65535/bazarr"}
"links": {
"website": "https://www.bazarr.media",
"source": "https://github.com/morpheus65535/bazarr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/ThePhaseless/Byparr"}
"links": {
"source": "https://github.com/ThePhaseless/Byparr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"downloaden",
"beheer"
],
"links": {"website": "https://cleanuparr.github.io/Cleanuparr/", "source": "https://github.com/Cleanuparr/Cleanuparr"}
"links": {
"website": "https://cleanuparr.github.io/Cleanuparr/",
"source": "https://github.com/Cleanuparr/Cleanuparr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"media",
"beheer"
],
"links": {"website": "https://configarr.raydak.de", "source": "https://github.com/raydak-labs/configarr"}
"links": {
"website": "https://configarr.raydak.de",
"source": "https://github.com/raydak-labs/configarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"downloaden"
],
"links": {"website": "https://www.cross-seed.org", "source": "https://github.com/cross-seed/cross-seed"}
"links": {
"website": "https://www.cross-seed.org",
"source": "https://github.com/cross-seed/cross-seed"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"downloaden",
"beheer"
],
"links": {"source": "https://github.com/ManiMatter/decluttarr"}
"links": {
"source": "https://github.com/ManiMatter/decluttarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"downloaden"
],
"links": {"website": "https://deluge-torrent.org", "source": "https://github.com/deluge-torrent/deluge"}
"links": {
"website": "https://deluge-torrent.org",
"source": "https://github.com/deluge-torrent/deluge"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"monitoring"
],
"links": {"source": "https://github.com/onedr0p/exportarr"}
"links": {
"source": "https://github.com/onedr0p/exportarr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/FlareSolverr/FlareSolverr"}
"links": {
"source": "https://github.com/FlareSolverr/FlareSolverr"
}
},
"variables": [
{

View file

@ -19,7 +19,9 @@
"netwerk",
"beveiliging"
],
"links": {"source": "https://github.com/qdm12/gluetun"}
"links": {
"source": "https://github.com/qdm12/gluetun"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"beheer"
],
"links": {"website": "https://homarr.dev", "source": "https://github.com/homarr-labs/homarr"}
"links": {
"website": "https://homarr.dev",
"source": "https://github.com/homarr-labs/homarr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/Jackett/Jackett"}
"links": {
"source": "https://github.com/Jackett/Jackett"
}
},
"variables": [
{

View file

@ -19,7 +19,9 @@
"media",
"opslag"
],
"links": {"source": "https://github.com/Schaka/janitorr"}
"links": {
"source": "https://github.com/Schaka/janitorr"
}
},
"variables": [
{

View file

@ -19,7 +19,9 @@
"media",
"monitoring"
],
"links": {"source": "https://github.com/CyferShepard/Jellystat"}
"links": {
"source": "https://github.com/CyferShepard/Jellystat"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://casvt.github.io/Kapowarr/", "source": "https://github.com/Casvt/Kapowarr"}
"links": {
"website": "https://casvt.github.io/Kapowarr/",
"source": "https://github.com/Casvt/Kapowarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://kometa.wiki", "source": "https://github.com/Kometa-Team/Kometa"}
"links": {
"website": "https://kometa.wiki",
"source": "https://github.com/Kometa-Team/Kometa"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://lidarr.audio", "source": "https://github.com/Lidarr/Lidarr"}
"links": {
"website": "https://lidarr.audio",
"source": "https://github.com/Lidarr/Lidarr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://lingarr.com", "source": "https://github.com/lingarr-translate/lingarr"}
"links": {
"website": "https://lingarr.com",
"source": "https://github.com/lingarr-translate/lingarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://maintainerr.info", "source": "https://github.com/Maintainerr/Maintainerr"}
"links": {
"website": "https://maintainerr.info",
"source": "https://github.com/Maintainerr/Maintainerr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/mylar3/mylar3"}
"links": {
"source": "https://github.com/mylar3/mylar3"
}
},
"variables": [
{

View file

@ -19,7 +19,10 @@
"communicatie",
"monitoring"
],
"links": {"website": "https://notifiarr.com", "source": "https://github.com/Notifiarr/notifiarr"}
"links": {
"website": "https://notifiarr.com",
"source": "https://github.com/Notifiarr/notifiarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"downloaden"
],
"links": {"website": "https://nzbget.com", "source": "https://github.com/nzbgetcom/nzbget"}
"links": {
"website": "https://nzbget.com",
"source": "https://github.com/nzbgetcom/nzbget"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/theotherp/nzbhydra2"}
"links": {
"source": "https://github.com/theotherp/nzbhydra2"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://overseerr.dev", "source": "https://github.com/sct/overseerr"}
"links": {
"website": "https://overseerr.dev",
"source": "https://github.com/sct/overseerr"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/fscorrupt/Posterizarr"}
"links": {
"source": "https://github.com/fscorrupt/Posterizarr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/p-hueber/prefetcharr"}
"links": {
"source": "https://github.com/p-hueber/prefetcharr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"media",
"beheer"
],
"links": {"website": "https://dictionarry.dev", "source": "https://github.com/Dictionarry-Hub/profilarr"}
"links": {
"website": "https://dictionarry.dev",
"source": "https://github.com/Dictionarry-Hub/profilarr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"downloaden"
],
"links": {"website": "https://prowlarr.com", "source": "https://github.com/Prowlarr/Prowlarr"}
"links": {
"website": "https://prowlarr.com",
"source": "https://github.com/Prowlarr/Prowlarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://jamcalli.github.io/Pulsarr/", "source": "https://github.com/jamcalli/Pulsarr"}
"links": {
"website": "https://jamcalli.github.io/Pulsarr/",
"source": "https://github.com/jamcalli/Pulsarr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://radarr.video", "source": "https://github.com/Radarr/Radarr"}
"links": {
"website": "https://radarr.video",
"source": "https://github.com/Radarr/Radarr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://readarr.com", "source": "https://github.com/Readarr/Readarr"}
"links": {
"website": "https://readarr.com",
"source": "https://github.com/Readarr/Readarr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"media",
"beheer"
],
"links": {"website": "https://recyclarr.dev", "source": "https://github.com/recyclarr/recyclarr"}
"links": {
"website": "https://recyclarr.dev",
"source": "https://github.com/recyclarr/recyclarr"
}
},
"variables": [
{

View file

@ -19,7 +19,9 @@
"media",
"communicatie"
],
"links": {"source": "https://github.com/thomst08/requestrr"}
"links": {
"source": "https://github.com/thomst08/requestrr"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/slskd/slskd"}
"links": {
"source": "https://github.com/slskd/slskd"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"categories": [
"media"
],
"links": {"website": "https://sonarr.tv", "source": "https://github.com/Sonarr/Sonarr"}
"links": {
"website": "https://sonarr.tv",
"source": "https://github.com/Sonarr/Sonarr"
}
},
"variables": [
{

View file

@ -18,7 +18,9 @@
"downloaden",
"media"
],
"links": {"source": "https://github.com/mrusse/soularr"},
"links": {
"source": "https://github.com/mrusse/soularr"
},
"depends_on": [
{
"app": "lidarr",

View file

@ -17,7 +17,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/giuseppe99barchetta/SuggestArr"}
"links": {
"source": "https://github.com/giuseppe99barchetta/SuggestArr"
}
},
"variables": [
{

View file

@ -19,7 +19,10 @@
"media",
"monitoring"
],
"links": {"website": "https://tautulli.com", "source": "https://github.com/Tautulli/Tautulli"}
"links": {
"website": "https://tautulli.com",
"source": "https://github.com/Tautulli/Tautulli"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://tdarr.io", "source": "https://github.com/HaveAGitGat/Tdarr"}
"links": {
"website": "https://tdarr.io",
"source": "https://github.com/HaveAGitGat/Tdarr"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"media"
],
"links": {"source": "https://github.com/nandyalu/trailarr"}
"links": {
"source": "https://github.com/nandyalu/trailarr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"downloaden"
],
"links": {"website": "https://transmissionbt.com", "source": "https://github.com/transmission/transmission"}
"links": {
"website": "https://transmissionbt.com",
"source": "https://github.com/transmission/transmission"
}
},
"variables": [
{

View file

@ -17,7 +17,9 @@
"categories": [
"downloaden"
],
"links": {"source": "https://github.com/Unpackerr/unpackerr"}
"links": {
"source": "https://github.com/Unpackerr/unpackerr"
}
},
"variables": [
{

View file

@ -17,7 +17,10 @@
"categories": [
"media"
],
"links": {"website": "https://wiki.servarr.com/whisparr", "source": "https://github.com/Whisparr/Whisparr"}
"links": {
"website": "https://wiki.servarr.com/whisparr",
"source": "https://github.com/Whisparr/Whisparr"
}
},
"variables": [
{

View file

@ -18,7 +18,10 @@
"media",
"beheer"
],
"links": {"website": "https://docs.wizarr.dev", "source": "https://github.com/wizarrrr/wizarr"}
"links": {
"website": "https://docs.wizarr.dev",
"source": "https://github.com/wizarrrr/wizarr"
}
},
"variables": [
{

View file

@ -12,10 +12,21 @@ wat er in `apps/` staat, zodat een handmatige wijziging aan één van de twee
opvalt in plaats van jarenlang mee te reizen.
"""
import json
import sys
from pathlib import Path
APPS = Path(__file__).resolve().parents[1] / "apps"
# Website en broncode komen uit dezelfde tabel als voor alle andere apps
# (tools/app_links.py); daar is elke link gecontroleerd.
sys.path.insert(0, str(Path(__file__).resolve().parent))
from app_links import KANDIDATEN # noqa: E402
def _links(map_: str) -> dict:
website, bron = KANDIDATEN.get(map_, (None, None))
return {k: v for k, v in (("website", website), ("source", bron)) if v}
HELP = ("Media en downloads horen onder één map te staan, die als /data in elke "
"container komt. Alleen dan kan een voltooide download met een hardlink "
"naar je bibliotheek: geen kopie, geen dubbele opslag, en je torrent "
@ -597,6 +608,7 @@ def schrijf_los(app):
"icon": {"provider": "selfhst", "id": app["icon"]},
"version": {"name": "latest"},
"categories": app["cats"],
**({"links": _links(app["dir"])} if _links(app["dir"]) else {}),
# Wat deze app nodig heeft om iets te doen; de installatiemodal
# waarschuwt als het er nog niet is.
**({"depends_on": app["depends_on"]} if app.get("depends_on") else {}),
@ -738,6 +750,7 @@ def stack_template():
"icon": {"provider": "selfhst", "id": "sonarr"},
"version": {"name": "latest"},
"categories": ["media", "downloaden"],
"links": _links("arr-stack"),
},
"variables": groepen,
}