-
Notifications
You must be signed in to change notification settings - Fork 1
/
.renovaterc.json5
37 lines (37 loc) · 1019 Bytes
/
.renovaterc.json5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"github>UCL-ARC/.github//renovate/default-config.json",
":assignAndReview(team:arc-dev)",
"group:allNonMajor"
],
customDatasources: {
dicomSpec: {
defaultRegistryUrlTemplate: "https://dicom.nema.org/medical/dicom",
format: "html",
},
},
customManagers: [
{
customType: "regex",
description: "Update DICOM Spec edition used for validation",
fileMatch: [
"orthanc/orthanc-anon/plugin/download_dicom_spec.py",
"pixl_dcmd/src/pixl_dcmd/main.py",
],
matchStrings: [
'edition\\s?=\\s?"(?<currentValue>.*?)"\n',
'.*\\(edition\\s?=\\s?"(?<currentValue>.*?)"\\)\n',
],
depNameTemplate: "dicomSpec",
datasourceTemplate: "custom.dicomSpec",
},
],
packageRules: [
{
matchDatasources: ["custom.dicomSpec"],
extractVersion: "/medical/dicom/(?<version>\\d{4}[a-z])/",
versioning: "loose",
}
]
}