Composer not pulling latest version of package from lower priority Registry/Composer Repository #20181
Unanswered
adamj88
asked this question in
Request Help
Replies: 2 comments 5 replies
-
When there are multiple registryUrls then it depends on the datasource's Incase of It means that we stop looking when the first valid result is found. It cannot be configured via Owing to the presence of |
Beta Was this translation helpful? Give feedback.
5 replies
-
Tracked here: #20201 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How are you running Renovate?
Self-hosted
If you're self-hosting Renovate, tell us what version of Renovate you run.
34.118
If you're self-hosting Renovate, select which platform you are using.
gitlab.com
If you're self-hosting Renovate, tell us what version of the platform you run.
.com EE
Was this something which used to work for you, and then stopped?
I never saw this working
Wanted end result.
When scanning for a package version using Composer a lower version is returned from a registry with a higher priority when a newer version exists in a repository with a lower priority.
In my example, the below versions are the latest in each registry:
The below is returned for a package during debugging the renovate package:
I would expect this to keep scanning even though the repository is of lower priority as we have the following canonical set to false in composer, as documented here: https://getcomposer.org/doc/articles/repository-priorities.md#making-repositories-non-canonical
With the below configuration:
I wanted to ask, is there any configuration I can change to carry on scanning the remaining registry URLs or if there is a bug in the process?
What you tried so far.
Reading the documentation and looking through the code, I've been unable to find any option which might solve this.
Relevant debug logs
Logs
Beta Was this translation helpful? Give feedback.
All reactions