Skip to content

Commit

Permalink
trying to add a customDatasource/manager for nextflow plugins
Browse files Browse the repository at this point in the history
not really getting everything which is going on here. WIP WIP WIP
  • Loading branch information
mashehu committed Feb 20, 2024
1 parent a76929c commit e20a88a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/renovate/default.json5
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@
"pre-commit": {
enabled: true,
},
customDatasources: [
"nextflow-plugin": {
"defaultRegistryUrlTemplate": "https://api.github.com/repos/nextflow-io/{{pluginName}}/releases"
"format": "json",
"versioning": "semver",
"transformTemplate": [
"{\"release\": \"{{version}}\", \"releaseTimestamp\": \"{{date}}\"}"
]

}
],
customManagers: [
{
customType: "regex",
Expand Down Expand Up @@ -48,6 +59,17 @@
],
datasourceTemplate: "pypi"
},
{
customType: "regex",
description: "Check that nf-valdiation plugin is pinned in nextflow.config, i.e. `plugins {id '[email protected]'}`",
fileMatch: ["(^|/)nextflow\\.config$"],
matchStrings: [
"id\\s+'nf-validation@(?<currentValue>\\d+\\.\\d+\\.\\d+)'"
],
datasourceTemplate: "github-release",
extractVersion: "/(?<version>\\d+\\.\\d+\\.\\d+)/"
},
}
],
packageRules: [
{
Expand Down

0 comments on commit e20a88a

Please sign in to comment.