From 0d344f0484991217770361a416ef2a34e03397cc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 30 Aug 2024 12:43:35 +0000 Subject: [PATCH 1/2] =?UTF-8?q?=E2=AC=86=EF=B8=8F:=20migrate=20config=20re?= =?UTF-8?q?novate.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- renovate.json | 83 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 63 insertions(+), 20 deletions(-) diff --git a/renovate.json b/renovate.json index fa9ceec..d9e21d7 100644 --- a/renovate.json +++ b/renovate.json @@ -1,18 +1,28 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "rebaseWhen": "behind-base-branch", - "reviewers": ["dfigus"], - "assignees": ["dfigus"], + "reviewers": [ + "dfigus" + ], + "assignees": [ + "dfigus" + ], "dependencyDashboard": true, - "labels": ["dependencies", "no-stale"], + "labels": [ + "dependencies", + "no-stale" + ], "configMigration": true, "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{depName}}", - "extends": ["workarounds:reduceRepologyServerLoad"], + "extends": [], "customManagers": [ { "customType": "regex", - "fileMatch": ["/Dockerfile$", "/build.yaml$"], + "fileMatch": [ + "/Dockerfile$", + "/build.yaml$" + ], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", @@ -22,7 +32,9 @@ }, { "customType": "regex", - "fileMatch": ["/Dockerfile$"], + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" @@ -33,17 +45,25 @@ }, { "customType": "regex", - "fileMatch": ["/Dockerfile$"], + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", - "matchStrings": ["ARG SOLARFLOW_RELEASE=\"(?.*?)\"\\n"], + "matchStrings": [ + "ARG SOLARFLOW_RELEASE=\"(?.*?)\"\\n" + ], "depNameTemplate": "reinhard-brandstaedter/solarflow-control", "datasourceTemplate": "github-releases" }, { "customType": "regex", - "fileMatch": ["/Dockerfile$"], + "fileMatch": [ + "/Dockerfile$" + ], "matchStringsStrategy": "any", - "matchStrings": ["ARG SOLARFLOW_BT_DIGEST=\"(?.*?)\"\\n"], + "matchStrings": [ + "ARG SOLARFLOW_BT_DIGEST=\"(?.*?)\"\\n" + ], "currentValueTemplate": "master", "depNameTemplate": "solarflow-bt-manager", "packageNameTemplate": "https://github.com/reinhard-brandstaedter/solarflow-bt-manager/", @@ -52,35 +72,58 @@ ], "packageRules": [ { - "matchDatasources": ["github-releases", "git-refs"], + "matchDatasources": [ + "github-releases", + "git-refs" + ], "automerge": true, "minimumReleaseAge": "1 day", "versioning": "regex:^(?\\d+)\\-(?\\d+)\\-(?\\d+)(\\-\\-(?\\d+\\-\\d+\\-\\d+))$", - "automergeSchedule": ["on saturday"] + "automergeSchedule": [ + "on saturday" + ] }, { - "matchDatasources": ["repology"], + "matchDatasources": [ + "repology" + ], "groupName": "Alpine packages", "automerge": true }, { "groupName": "Add-on base image", - "matchDatasources": ["docker"] + "matchDatasources": [ + "docker" + ] }, { "groupName": "Add-on base image", - "matchDatasources": ["docker"], - "matchUpdateTypes": ["minor", "patch"], + "matchDatasources": [ + "docker" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "automerge": true }, { - "matchManagers": ["pip_requirements"], - "addLabels": ["python"], + "matchManagers": [ + "pip_requirements" + ], + "addLabels": [ + "python" + ], "rangeStrategy": "pin" }, { - "matchManagers": ["pip_requirements"], - "matchUpdateTypes": ["minor", "patch"], + "matchManagers": [ + "pip_requirements" + ], + "matchUpdateTypes": [ + "minor", + "patch" + ], "automerge": true } ] From 4eae64fd26ae746bc889f22ac3b4febc6c41ec77 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" Date: Fri, 30 Aug 2024 12:43:50 +0000 Subject: [PATCH 2/2] Prettified Code! --- renovate.json | 81 ++++++++++++--------------------------------------- 1 file changed, 19 insertions(+), 62 deletions(-) diff --git a/renovate.json b/renovate.json index d9e21d7..ba4be7b 100644 --- a/renovate.json +++ b/renovate.json @@ -1,17 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "rebaseWhen": "behind-base-branch", - "reviewers": [ - "dfigus" - ], - "assignees": [ - "dfigus" - ], + "reviewers": ["dfigus"], + "assignees": ["dfigus"], "dependencyDashboard": true, - "labels": [ - "dependencies", - "no-stale" - ], + "labels": ["dependencies", "no-stale"], "configMigration": true, "commitMessagePrefix": "⬆️", "commitMessageTopic": "{{depName}}", @@ -19,10 +12,7 @@ "customManagers": [ { "customType": "regex", - "fileMatch": [ - "/Dockerfile$", - "/build.yaml$" - ], + "fileMatch": ["/Dockerfile$", "/build.yaml$"], "matchStringsStrategy": "any", "matchStrings": [ "ARG BUILD_FROM=(?.*?):(?.*?)\\s+", @@ -32,9 +22,7 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", "matchStrings": [ "\\s\\s(?[a-z0-9][a-z0-9-_]+)=(?[a-z0-9-_.]+)\\s+" @@ -45,25 +33,17 @@ }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", - "matchStrings": [ - "ARG SOLARFLOW_RELEASE=\"(?.*?)\"\\n" - ], + "matchStrings": ["ARG SOLARFLOW_RELEASE=\"(?.*?)\"\\n"], "depNameTemplate": "reinhard-brandstaedter/solarflow-control", "datasourceTemplate": "github-releases" }, { "customType": "regex", - "fileMatch": [ - "/Dockerfile$" - ], + "fileMatch": ["/Dockerfile$"], "matchStringsStrategy": "any", - "matchStrings": [ - "ARG SOLARFLOW_BT_DIGEST=\"(?.*?)\"\\n" - ], + "matchStrings": ["ARG SOLARFLOW_BT_DIGEST=\"(?.*?)\"\\n"], "currentValueTemplate": "master", "depNameTemplate": "solarflow-bt-manager", "packageNameTemplate": "https://github.com/reinhard-brandstaedter/solarflow-bt-manager/", @@ -72,58 +52,35 @@ ], "packageRules": [ { - "matchDatasources": [ - "github-releases", - "git-refs" - ], + "matchDatasources": ["github-releases", "git-refs"], "automerge": true, "minimumReleaseAge": "1 day", "versioning": "regex:^(?\\d+)\\-(?\\d+)\\-(?\\d+)(\\-\\-(?\\d+\\-\\d+\\-\\d+))$", - "automergeSchedule": [ - "on saturday" - ] + "automergeSchedule": ["on saturday"] }, { - "matchDatasources": [ - "repology" - ], + "matchDatasources": ["repology"], "groupName": "Alpine packages", "automerge": true }, { "groupName": "Add-on base image", - "matchDatasources": [ - "docker" - ] + "matchDatasources": ["docker"] }, { "groupName": "Add-on base image", - "matchDatasources": [ - "docker" - ], - "matchUpdateTypes": [ - "minor", - "patch" - ], + "matchDatasources": ["docker"], + "matchUpdateTypes": ["minor", "patch"], "automerge": true }, { - "matchManagers": [ - "pip_requirements" - ], - "addLabels": [ - "python" - ], + "matchManagers": ["pip_requirements"], + "addLabels": ["python"], "rangeStrategy": "pin" }, { - "matchManagers": [ - "pip_requirements" - ], - "matchUpdateTypes": [ - "minor", - "patch" - ], + "matchManagers": ["pip_requirements"], + "matchUpdateTypes": ["minor", "patch"], "automerge": true } ]