-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support exclusive repositories #14208
Comments
|
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 |
Here's the minimal reproduction: https://github.com/msfjarvis/renovate-repro-14208 It's not a valid Gradle project but it demonstrates the bug, Renovate sees the Sonatype snapshots repo declared in |
Reproduction forked to https://github.com/renovate-reproductions/14208 |
Bumped into this while trying to make our renovate action run faster. It currently takes ~30 minutes to resolve against the various repositories despite making use of Thanks for describing your workaround @remal, will give that a try right now! |
This comment has been minimized.
This comment has been minimized.
@Churro thanks so much for implementing the regular content filtering. |
@patrickneulichedldmde, compared to other additions, adding support for {
"matchDatasources": ["maven"],
"registryUrls": ["https://registryA", "https://registryB"]
} |
@Churro thanks for the headsup, I'm trying to implement it since yesterady, let's see how it turns out. |
What would you like Renovate to be able to do?
Our projects uses
io.confluent:kafka-avro-serializer
dependency from https://packages.confluent.io/maven/ repository. The problem is that this repository has some dependencies that we would like to download from Maven Central only likeorg.apache.kafka:kafka-clients
.For this purpose we use a code like this in our Gradle
build.gradle
file:However, Renovate doesn't support Gradle's
exclusiveContent
orcontent
and Confluent repository hasorg.apache.kafka:kafka-clients
version7.*
(which we don't want to use) vs 3.1.0 in Maven Central. It leads to a situation where Renovate suggest upgradingkafka-clients
to version7.*
, because this version can be find in Counfluent repository.Currently, we deal with this issue by using this Renovate configuration:
Personally, I wouldn't say it's very convenient.
Could you please add an ability to define exclusive repositories for some dependencies?
If you have any ideas on how this should be implemented, please tell us here.
A support for Gradle's
exclusiveContent
orcontent
can be added.Another option is to add
exclusiveRegistryUrls
config option.Also,
excludeRegistryUrls
config option can be added that is supposed to be used like this:Is this a feature you are interested in implementing yourself?
No
The text was updated successfully, but these errors were encountered: