custom data source for ivy with custom pattern #23416
Replies: 2 comments 2 replies
-
The Further If this doesn't clear it up please provide a repository with your configuration and an example grade file. |
Beta Was this translation helpful? Give feedback.
-
I doubt it because the The docs say that ivy is generally compatible with maven metadata but I don't know if maven sources in ivy repos are the exception or the norm. Any clues? |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
36.7.5
If you're self-hosting Renovate, select which platform you are using.
Bitbucket Server
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
I want renovate to version bump from my customized data source.
I find the documentation clear and granular, but I think I miss some of the concepts and how to tie things together.
i.e. I don't really understand how to apply a custom datasource, but not change the regex manager (because it seems to find the components and versions quite well in different type of files (.toml, .gradle, ...)
More on my situation:
Unfortunately, I have my own artifactory with a somewhat customized ivy artifact format and scheme and a monolithic build.
As I'm migrating parts to gradle, I'd still like to autobump when ivy legacy components change.
Renovate detects a package and version, but looking up the datasource fails (its interpreted up as maven - and it tries to look for a maven-metadata.xml)
To illustrate, here's how I configured my build.gradle
What you tried so far.
I've tried defining my own custom data source, but it doesn't seem to be used.
I run with
RENOVATE_TRACING_CONSOLE_EXPORTER=true npm run renovate > ren.log
and try to see if a custom url is lookedup .I tried this:
Notice I added 'blabla', but In the logging, I don't see any urls with 'blabla' being hit.
more specifics:
renovate tries to get versions from:
http://MYARTIFACTORY/artifactory/majorversion-ivy-repo/com/my/org/my-package/maven-metadata.xml
I found artifactory's storage api return json, so I think I could (ab)use (/transform) at this url:
https://majorversion-ivy-repo/artifactory/api/storage/com/my/org/my-package
Relevant debug logs
Logs
The feedback in the PR is the most evident
Beta Was this translation helpful? Give feedback.
All reactions