|
4 | 4 | "group:recommended",
|
5 | 5 | "workarounds:all"
|
6 | 6 | ],
|
7 |
| - "recreateClosed": true, |
8 | 7 | "dependencyDashboard": "true",
|
9 | 8 | "branchConcurrentLimit": 0,
|
10 | 9 | "prConcurrentLimit": 0,
|
|
13 | 12 | "packageRules": [
|
14 | 13 | {
|
15 | 14 | "matchDatasources": ["maven"],
|
| 15 | + // Every repository from every descriptor |
16 | 16 | "registryUrls": [
|
| 17 | + // Default kernel repositories |
17 | 18 | "https://repo.maven.apache.org/maven2/",
|
18 | 19 | "https://jitpack.io/",
|
| 20 | + // Custom repositories from descriptors must be added here |
19 | 21 | "https://oss.sonatype.org/service/local/repo_groups/public/content",
|
20 | 22 | "https://repo.osgeo.org/repository/release",
|
21 | 23 | "https://repo.kotlin.link",
|
|
26 | 28 | }
|
27 | 29 | ],
|
28 | 30 | "regexManagers": [
|
29 |
| - // matches dependencies with hardcoded versions (no interpolated properties) |
| 31 | + // Matches dependencies with hardcoded versions (no interpolated properties) |
30 | 32 | {
|
31 | 33 | "datasourceTemplate": "maven",
|
32 | 34 | "versioningTemplate": "maven",
|
|
36 | 38 | "^\\s*\"(?<depName>[^\":\\$]+:[^\":\\$]+):(?<currentValue>[^\":\\$]+)\""
|
37 | 39 | ]
|
38 | 40 | },
|
39 |
| - // matches properties commented with "update: package=*" |
| 41 | + // Matches properties commented with "// update: package=group:artifact" |
40 | 42 | {
|
41 | 43 | "datasourceTemplate": "maven",
|
42 | 44 | "versioningTemplate": "maven",
|
43 | 45 | "fileMatch": [".*\\.json5"],
|
44 | 46 | "matchStringsStrategy": "any",
|
45 | 47 | "matchStrings": [
|
46 |
| - // matches syntax "v": "1.0" |
| 48 | + // Matches syntax "v": "1.0" |
47 | 49 | "\/\/ update: package=(?<packageName>\\S+)\\s+\"(?<depName>.*?)\": ?\"(?<currentValue>.+?)\"",
|
48 |
| - // matches syntax { "name": "v", "value": "1.0" } |
| 50 | + // Matches syntax { "name": "v", "value": "1.0" } |
49 | 51 | "\/\/ update: package=(?<packageName>\\S+)\\s+{\"name\": \"(?<depName>.*?)\", \"value\": \"(?<currentValue>.+?)\"",
|
50 | 52 | ]
|
51 | 53 | },
|
52 | 54 | ],
|
53 | 55 | "additionalBranchPrefix": "{{{packageFile}}}/",
|
| 56 | + // Configures commit message "Update <descriptor-name> `<property-or-dependency>` to <version>" |
54 | 57 | "commitMessageTopic": "{{{replace '.json5' '' packageFile}}} `{{{depName}}}`",
|
| 58 | + // Configures the table added to PR descriptions |
55 | 59 | "prBodyDefinitions": {
|
56 |
| - // If depName != packageName, then depName is a prop like "v", so add packageName as well |
| 60 | + // State full packageName if depName is a property like "v". That's the case whenever depName != packageName (see regexes). |
57 | 61 | "Package": "{{{depNameLinked}}}{{#if (equals depName packageName)}}{{else}} (`{{{packageName}}}`){{/if}}",
|
58 | 62 | },
|
59 | 63 | }
|
0 commit comments