Preset config:base
triggers warnings for Spring dependencies
#23178
-
How are you running Renovate?Self-hosted Renovate If you're self-hosting Renovate, tell us what version of Renovate you run.36.0.3 If you're self-hosting Renovate, select which platform you are using.Gitlab self-hosted Was this something which used to work for you, and then stopped?It used to work, and then stopped Describe the problemOur {
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"assigneesFromCodeOwners": true
} I just updated from
This is probably caused by the included preset {
"packageRules": [
{
"groupName": "spring boot",
"matchPackageNames": [
"org.springframework.boot"
],
"matchPackagePrefixes": [
"org.springframework.boot:"
]
}
]
} Even if this warning had been generated by a custom rule, I would rather not use
Reproducible example: https://github.com/ChristianCiach/renovate-v36-spring-warnings Relevant debug logsNo response Have you created a minimal reproduction repository?I have linked to a minimal reproduction in the description above |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 23 replies
-
Can you reproduce this publicly? I'm curious why the depName is how it is |
Beta Was this translation helpful? Give feedback.
-
Hi there, Get your issue fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. To get started, please read our guide on creating a minimal reproduction. We may close the issue if you, or someone else, haven't created a minimal reproduction within two weeks. If you need more time, or are stuck, please ask for help or more time in a comment. Good luck, The Renovate team |
Beta Was this translation helpful? Give feedback.
-
@ChristianCiach is it resolved for you in 36.1.5? |
Beta Was this translation helpful? Give feedback.
@ChristianCiach, yes, this is the preset change I meant and also what @rarkins just realized in PR #23187.
matchDepNames
matches the org.springframework.boot (=depName
) that gradle internally expands to org.springframework.boot:org.springframework.boot.gradle.plugin (=packageName
) .matchPackagePrefixes
matches dependencies whosedepName
starts with org.springframework.boot: and this would almost match the plugin as well - almost because you specify in the gradle buildscript without trailing colon:id("org.springframework.boot")
We could strip the colon in this case but then we'd risk confusion if packages would be published in a group like org.springframework.bootsomething. To prevent…