From 944cc54f6f520c0ffa6786966daa8f3b43cab62f Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Thu, 4 Jan 2024 12:52:35 +0100 Subject: [PATCH] Support cpp/deps.txt Our cpp projects use deps.txt to list and download their dependencies. These should be automatically updated. This is especially important because floating dependencies may break the build when we don't expect it to. E.g: https://github.com/cucumber/gherkin/pull/206 --- cpp-deps-txt.json | 16 ++++++++++++++++ default.json | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 cpp-deps-txt.json diff --git a/cpp-deps-txt.json b/cpp-deps-txt.json new file mode 100644 index 0000000..a7009ef --- /dev/null +++ b/cpp-deps-txt.json @@ -0,0 +1,16 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Parse cpp/deps.txt files", + "regexManagers": [ + { + "fileMatch": [ + "(^|/)deps\\.txt" + ], + "matchStrings": [ + "https://github.com/(?.*?)/archive/refs/tags/(?.*?).zip" + ], + "datasourceTemplate": "github-tags", + "versioningTemplate": "semver" + } + ] +} diff --git a/default.json b/default.json index fef71ba..1eef132 100644 --- a/default.json +++ b/default.json @@ -8,7 +8,8 @@ ":automergeBranch", ":automergeMinor", "github>cucumber/renovate-config:gemspec", - "github>cucumber/renovate-config:disable-perl" + "github>cucumber/renovate-config:disable-perl", + "github>cucumber/renovate-config:cpp-deps.txt" ], "prHourlyLimit": 0 }