-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Is your feature request related to a problem? Please describe.
While doing a few dozen renovate pull request I took the time to update the renovate.json to improve grouping of a few pull requests. I also updated some outdated commands. The only one I was not able to update is the
matchPackagePrefixes
Describe the solution you'd like
matchPackagePrefixes should be replaced with matchPackageNames as suggested by renovate themselves.
WARN: Config needs migrating
"configType": "renovate.json",
"originalConfig": {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":rebaseStalePrs"],
"schedule": ["* 1-5 * * 1-5"],
"automergeSchedule": ["* 5-7 * * 1-5"],
"automergeType": "pr",
"timezone": "Europe/Zurich",
"packageRules": [
{
"groupName": "All Angular packages",
"matchPackageNames": ["^@angular", "^@angular-eslint"],
"matchUpdateTypes": ["major", "minor", "patch"]
},
{
"groupName": "All devDependencies (minor and patch)",
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"groupName": "All ESLint packages",
"matchPackageNames": ["eslint", "typescript-eslint"],
"matchUpdateTypes": ["major", "minor", "patch"]
},
{
"matchDatasources": ["maven"],
"matchPackagePrefixes": ["ch.puzzle.okr"],
"matchDepTypes": ["parent"],
"enabled": false
}
]
},
"migratedConfig": {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:recommended", ":rebaseStalePrs"],
"schedule": ["* 1-5 * * 1-5"],
"automergeSchedule": ["* 5-7 * * 1-5"],
"automergeType": "pr",
"timezone": "Europe/Zurich",
"packageRules": [
{
"groupName": "All Angular packages",
"matchPackageNames": ["^@angular", "^@angular-eslint"],
"matchUpdateTypes": ["major", "minor", "patch"]
},
{
"groupName": "All devDependencies (minor and patch)",
"matchDepTypes": ["devDependencies"],
"matchUpdateTypes": ["minor", "patch"],
"automerge": true
},
{
"groupName": "All ESLint packages",
"matchPackageNames": ["eslint", "typescript-eslint"],
"matchUpdateTypes": ["major", "minor", "patch"]
},
{
"matchDatasources": ["maven"],
"matchDepTypes": ["parent"],
"enabled": false,
"matchPackageNames": ["ch.puzzle.okr{/,}**"]
}
]
}
Additional context
To run local test runs of this I suggest looking at this post.
This error occured on the renovate repository after changing to matchPackageNames

Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working