|
1 | 1 | {
|
2 | 2 | "$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
3 | 3 | "constraints": {
|
| 4 | + "copier": "9.4.1", |
4 | 5 | "pdm": "2.24.1",
|
5 | 6 | "python": "==3.12"
|
6 | 7 | },
|
|
60 | 61 | "uses: pdm-project/setup-pdm[\\s\\S]+?\\sversion: (?<currentValue>.*)\n"
|
61 | 62 | ]
|
62 | 63 | },
|
| 64 | + { |
| 65 | + "customType": "regex", |
| 66 | + "datasourceTemplate": "pypi", |
| 67 | + "depNameTemplate": "copier", |
| 68 | + "description": "Match copier version specified in the renovate constraints", |
| 69 | + "fileMatch": [ |
| 70 | + "^\\.renovaterc\\.json$", |
| 71 | + "^template/\\.renovaterc\\.json\\.jinja$" |
| 72 | + ], |
| 73 | + "matchStrings": [ |
| 74 | + "\"copier\": \"(?<currentValue>.*)\"" |
| 75 | + ] |
| 76 | + }, |
63 | 77 | {
|
64 | 78 | "customType": "regex",
|
65 | 79 | "datasourceTemplate": "pypi",
|
|
101 | 115 | "--package (?<depName>.+?)@(?<currentValue>.+?)\\s"
|
102 | 116 | ],
|
103 | 117 | "versioningTemplate": "docker"
|
104 |
| - }, |
105 |
| - { |
106 |
| - "customType": "regex", |
107 |
| - "datasourceTemplate": "git-tags", |
108 |
| - "depNameTemplate": "https://github.com/serious-scaffold/ss-python.git", |
109 |
| - "depTypeTemplate": "copier-template", |
110 |
| - "description": "Match template version specified in .copier-answers.yml", |
111 |
| - "managerFilePatterns": [ |
112 |
| - "/^\\.copier-answers\\.yml$/" |
113 |
| - ], |
114 |
| - "matchStrings": [ |
115 |
| - "_commit: (?<currentValue>.*?)\n" |
116 |
| - ], |
117 |
| - "versioningTemplate": "semver" |
118 | 118 | }
|
119 | 119 | ],
|
120 | 120 | "extends": [
|
|
213 | 213 | ]
|
214 | 214 | }
|
215 | 215 | },
|
216 |
| - { |
217 |
| - "commitMessageTopic": "serious-scaffold-python", |
218 |
| - "description": "Update template with copier when a new version is released", |
219 |
| - "matchDepTypes": [ |
220 |
| - "copier-template" |
221 |
| - ], |
222 |
| - "postUpgradeTasks": { |
223 |
| - "commands": [ |
224 |
| - "git stash", |
225 |
| - "pip install copier==9.6.0", |
226 |
| - "copier update --skip-answered --defaults --vcs-ref {{{newVersion}}}" |
227 |
| - ] |
228 |
| - }, |
229 |
| - "semanticCommitScope": "copier-template" |
230 |
| - }, |
231 | 216 | {
|
232 | 217 | "description": "Group pdm Python package and version specified in setup-pdm GitHub Action",
|
233 | 218 | "groupName": "pdm",
|
|
0 commit comments