Skip to content

Commit

Permalink
Support cpp/deps.txt
Browse files Browse the repository at this point in the history
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: cucumber/gherkin#206
  • Loading branch information
mpkorstanje committed Jan 4, 2024
1 parent 71827de commit 944cc54
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
16 changes: 16 additions & 0 deletions cpp-deps-txt.json
Original file line number Diff line number Diff line change
@@ -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/(?<depName>.*?)/archive/refs/tags/(?<currentValue>.*?).zip"
],
"datasourceTemplate": "github-tags",
"versioningTemplate": "semver"
}
]
}
3 changes: 2 additions & 1 deletion default.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit 944cc54

Please sign in to comment.