From 1319d1d3c2d204de4d41dca71898ef0ecef84e12 Mon Sep 17 00:00:00 2001 From: Sagent Date: Tue, 9 Jun 2026 02:15:40 +0000 Subject: [PATCH 1/3] chore: improve renovate dependency detection - Add renovate.json with custom regexManagers for: - Quoted FROM images (debian:buster) - SABNZBD_VERSION, TINI_VERSION, PAR2CMDLINE_VERSION env pins - Disable gitlabci manager (legacy CI, migrated to Gitea Actions) - Remove unnecessary quotes from FROM image reference --- Dockerfile | 2 +- renovate.json | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+), 1 deletion(-) create mode 100644 renovate.json diff --git a/Dockerfile b/Dockerfile index 7ea56d8..dbc277a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM "debian:buster" +FROM debian:buster LABEL maintainer="Julien Cabillot " RUN groupadd -r -g 666 sabnzbd && \ diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..9c95b6a --- /dev/null +++ b/renovate.json @@ -0,0 +1,47 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "gitlabci": { + "enabled": false + }, + "customManagers": [ + { + "customType": "regex", + "description": "Detect FROM images with optional quotes", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "FROM\\s+\"?(?[^\":\\s]+):(?[^\"\\s]+)\"?" + ], + "datasourceTemplate": "docker" + }, + { + "customType": "regex", + "description": "Detect SABnzbd release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "SABNZBD_VERSION=(?[0-9.]+)" + ], + "depNameTemplate": "sabnzbd/sabnzbd", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "Detect Tini release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "TINI_VERSION\\s+v?(?[0-9.]+)" + ], + "depNameTemplate": "krallin/tini", + "datasourceTemplate": "github-releases" + }, + { + "customType": "regex", + "description": "Detect par2cmdline release version pin", + "fileMatch": ["^Dockerfile$"], + "matchStrings": [ + "PAR2CMDLINE_VERSION=v?(?[0-9a-z.]+-mt\\d+)" + ], + "depNameTemplate": "jkansanen/par2cmdline-mt", + "datasourceTemplate": "github-tags" + } + ] +} -- 2.52.0 From ceace4cbcf0b7076938e1aa451f48b8472553da0 Mon Sep 17 00:00:00 2001 From: Sagent Date: Tue, 9 Jun 2026 13:41:05 +0000 Subject: [PATCH 2/3] chore: remove redundant configs now handled globally --- renovate.json | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/renovate.json b/renovate.json index 9c95b6a..ada9444 100644 --- a/renovate.json +++ b/renovate.json @@ -1,13 +1,12 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "gitlabci": { - "enabled": false - }, "customManagers": [ { "customType": "regex", "description": "Detect FROM images with optional quotes", - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "FROM\\s+\"?(?[^\":\\s]+):(?[^\"\\s]+)\"?" ], @@ -16,7 +15,9 @@ { "customType": "regex", "description": "Detect SABnzbd release version pin", - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "SABNZBD_VERSION=(?[0-9.]+)" ], @@ -26,7 +27,9 @@ { "customType": "regex", "description": "Detect Tini release version pin", - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "TINI_VERSION\\s+v?(?[0-9.]+)" ], @@ -36,7 +39,9 @@ { "customType": "regex", "description": "Detect par2cmdline release version pin", - "fileMatch": ["^Dockerfile$"], + "fileMatch": [ + "^Dockerfile$" + ], "matchStrings": [ "PAR2CMDLINE_VERSION=v?(?[0-9a-z.]+-mt\\d+)" ], -- 2.52.0 From a9fffe0017d1a182e846d94c00a8ef0730391d4c Mon Sep 17 00:00:00 2001 From: Sagent Date: Tue, 9 Jun 2026 14:06:00 +0000 Subject: [PATCH 3/3] chore: remove redundant FROM regexManager, quotes already fixed in Dockerfile --- renovate.json | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/renovate.json b/renovate.json index ada9444..7ae12b0 100644 --- a/renovate.json +++ b/renovate.json @@ -1,17 +1,6 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "customManagers": [ - { - "customType": "regex", - "description": "Detect FROM images with optional quotes", - "fileMatch": [ - "^Dockerfile$" - ], - "matchStrings": [ - "FROM\\s+\"?(?[^\":\\s]+):(?[^\"\\s]+)\"?" - ], - "datasourceTemplate": "docker" - }, { "customType": "regex", "description": "Detect SABnzbd release version pin", -- 2.52.0