From 396ef8948cd9dc6f9fe1556795e8c922a3eba629 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20R=C3=BCger?= Date: Wed, 11 Nov 2026 01:40:48 +0100 Subject: [PATCH] Fix Renovate config - Look up apt package pins in the Ubuntu 24.04 (noble) archive with the deb datasource instead of Repology's alpine_3_19, and allow ':', '~' and '+' in Debian versions, so the pins are actually matched. - Strip the tc_ prefix from TeddyCloud release tags. - Use customManagers/managerFilePatterns instead of the deprecated regexManagers/fileMatch. Co-Authored-By: Claude Opus 5.5 --- .github/renovate.json | 31 ++++++++++++++++++++----------- 1 file changed, 20 insertions(+), 11 deletions(-) diff --git a/.github/renovate.json b/.github/renovate.json index 3acd82b..1c1358e 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -5,38 +5,47 @@ "labels": ["dependencies", "no-stale"], "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{depName}}", - "regexManagers": [ + "customManagers": [ { - "fileMatch": ["/Dockerfile$", "/build.yaml$"], + "customType": "regex", + "managerFilePatterns": ["//Dockerfile$/", "//build.yaml$/"], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", - "(aarch64|amd64|armhf|armv7|i386):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" + "(aarch64|amd64):\\s[\"']?(?.*?):(?.*?)[\"']?\\s" ], "datasourceTemplate": "docker" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "managerFilePatterns": ["//Dockerfile$/"], "matchStringsStrategy": "any", "matchStrings": [ - "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" + "\\s\\s(?[a-z0-9][a-z0-9-]+)=(?[a-z0-9-:_+~.]+)\\s+" ], - "versioningTemplate": "loose", - "datasourceTemplate": "repology", - "depNameTemplate": "alpine_3_19/{{package}}" + "versioningTemplate": "deb", + "datasourceTemplate": "deb", + "depNameTemplate": "{{{package}}}" }, { - "fileMatch": ["/Dockerfile$"], + "customType": "regex", + "managerFilePatterns": ["//Dockerfile$/"], "matchStrings": [ "ARG TEDDYCLOUD_VERSION=[\"']?(?.+?)[\"']?\\s+" ], "datasourceTemplate": "github-releases", - "depNameTemplate": "toniebox-reverse-engineering/teddycloud" + "depNameTemplate": "toniebox-reverse-engineering/teddycloud", + "extractVersionTemplate": "^tc_(?v.+)$" } ], "packageRules": [ { - "matchDatasources": ["repology"], + "matchDatasources": ["deb"], + "registryUrls": [ + "https://archive.ubuntu.com/ubuntu?suite=noble&components=main,universe&binaryArch=amd64", + "https://archive.ubuntu.com/ubuntu?suite=noble-updates&components=main,universe&binaryArch=amd64", + "https://security.ubuntu.com/ubuntu?suite=noble-security&components=main,universe&binaryArch=amd64" + ], "automerge": true }, {