From 59f8c6051491c0066640dcde4a8107e1514fcd55 Mon Sep 17 00:00:00 2001 From: Langleu Date: Wed, 8 May 2024 15:51:23 +0200 Subject: [PATCH 1/2] chore(renovate): empty commit for PR From c66b04c1b778dee43d91f52611f5d5e61e5b0f12 Mon Sep 17 00:00:00 2001 From: Langleu Date: Mon, 13 May 2024 14:37:37 +0200 Subject: [PATCH 2/2] chore(renovate): combine customManagers --- default.json5 | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/default.json5 b/default.json5 index ae494eb..5253119 100644 --- a/default.json5 +++ b/default.json5 @@ -191,36 +191,20 @@ fileMatch: [ "\.yml", "\.sh", + "\.go", + "\.tool-versions$", + "^justfile$" ], matchStrings: [ - "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*?(- |=|: )(?.*)", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*?=(?.*)", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*?- (?.*)", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*?: (?.*)", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*?=\"(?.*)\"", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?\\s.*? \"(?.*)\"", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?( extractVersion=(?.*?))?\\s.*? (?.*)\\s", + "datasource=(?.*?) depName=(?.*?)( registryUrl=(?.*?))?( versioning=(?.*?))?( extractVersion=(?.*?))?\\s(?.*) := \"(?.*?)\"\\s" ], versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" }, - // Separating Go due to capturing different value with the above statement - { - customType: "regex", - fileMatch: ["\.go"], - matchStrings: [ - "datasource=(?.*?) depName=(?.*?) registryUrl=(?.*?)( versioning=(?.*?))?\\s.*? \"(?.*)\"", - ], - versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}" - }, - { - customType: "regex", - fileMatch: ["\.tool-versions$"], - matchStrings: [ - "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( extractVersion=(?.*?))?\\s.*? (?.*)\\s" - ], - versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", - }, - { - customType: "regex", - fileMatch: ["^justfile$"], - matchStrings: [ - "datasource=(?.*?) depName=(?.*?)( versioning=(?.*?))?( extractVersion=(?.*?))?\\s(?.*) := \"(?.*?)\"\\s" - ], - versioningTemplate: "{{#if versioning}}{{{versioning}}}{{else}}semver{{/if}}", - }, ] }