From b01a666ab165396bed12d8baab4826d42814474c Mon Sep 17 00:00:00 2001 From: Tommaso Bailetti Date: Fri, 22 Mar 2024 15:42:11 +0100 Subject: [PATCH] feat: added custom datasource for dnsmasq --- renovate.json | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/renovate.json b/renovate.json index 5db72dd..10a3d59 100644 --- a/renovate.json +++ b/renovate.json @@ -2,5 +2,45 @@ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ "config:recommended" + ], + "branchPrefix": "renovate-", + "branchNameStrict": true, + "ignorePaths": [ + "**/ui/**" + ], + "packageRules": [ + { + "matchPackageNames": [ + "node" + ], + "allowedVersions": "<= 18" + }, + { + "matchPackageNames": [ + "dnsmasq" + ], + "matchDatasources": [ + "custom.dnsmasq" + ], + "extractVersionTemplate": "^dnsmasq-(?.+?)\\.tar.gz$" + } + ], + "customDatasources": { + "dnsmasq": { + "defaultRegistryUrlTemplate": "https://dnsmasq.org/", + "format": "html" + } + }, + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "build-images.sh" + ], + "matchStrings": [ + "DNSMASQ_VERSION=(?[^\\s]+)$" + ], + "depNameTemplate": "dnsmasq" + } ] }