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", "media",
"downloaden" "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": [ "variables": [
{ {

View file

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

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

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

View file

@ -18,7 +18,10 @@
"downloaden", "downloaden",
"beheer" "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": [ "variables": [
{ {

View file

@ -18,7 +18,10 @@
"media", "media",
"beheer" "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": [ "variables": [
{ {

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"downloaden" "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": [ "variables": [
{ {

View file

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

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"downloaden" "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": [ "variables": [
{ {

View file

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

View file

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

View file

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

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"beheer" "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": [ "variables": [
{ {

View file

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

View file

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

View file

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

View file

@ -18,7 +18,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

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

View file

@ -18,7 +18,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -18,7 +18,10 @@
"media", "media",
"beheer" "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": [ "variables": [
{ {

View file

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

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -17,7 +17,10 @@
"categories": [ "categories": [
"media" "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": [ "variables": [
{ {

View file

@ -18,7 +18,10 @@
"media", "media",
"beheer" "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": [ "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. opvalt in plaats van jarenlang mee te reizen.
""" """
import json import json
import sys
from pathlib import Path from pathlib import Path
APPS = Path(__file__).resolve().parents[1] / "apps" 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 " 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 " "container komt. Alleen dan kan een voltooide download met een hardlink "
"naar je bibliotheek: geen kopie, geen dubbele opslag, en je torrent " "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"]}, "icon": {"provider": "selfhst", "id": app["icon"]},
"version": {"name": "latest"}, "version": {"name": "latest"},
"categories": app["cats"], "categories": app["cats"],
**({"links": _links(app["dir"])} if _links(app["dir"]) else {}),
# Wat deze app nodig heeft om iets te doen; de installatiemodal # Wat deze app nodig heeft om iets te doen; de installatiemodal
# waarschuwt als het er nog niet is. # waarschuwt als het er nog niet is.
**({"depends_on": app["depends_on"]} if app.get("depends_on") else {}), **({"depends_on": app["depends_on"]} if app.get("depends_on") else {}),
@ -738,6 +750,7 @@ def stack_template():
"icon": {"provider": "selfhst", "id": "sonarr"}, "icon": {"provider": "selfhst", "id": "sonarr"},
"version": {"name": "latest"}, "version": {"name": "latest"},
"categories": ["media", "downloaden"], "categories": ["media", "downloaden"],
"links": _links("arr-stack"),
}, },
"variables": groepen, "variables": groepen,
} }