-
Notifications
You must be signed in to change notification settings - Fork 107
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
Compatibility with Composer V2 Spec #649
Comments
Does composer display any warnings or other signs that it's not happy with the response? And what impact does it have for clients? Edit: Just had a quick look at a composer v2 update, and it only required org.repo.example.com/packages.json, because it's providing the entire package list. So it never actually requests the v2 provider URLs. |
@giggsey that looks at the user agent, so if you call it in the browser without the proper v2 user agent you will get the v1 response as a backwards compatible measure |
I was using composer v2 (update --dry-run -vvv) |
@giggsey The The issue came up, when I tried to set up The Renovate bot on our Gitlab instance. Renovate first loads the
This issue/the linked PR is for fixing the latter two URLs. |
@Naugrimm Thanks. As a separate issue, I think it'll be good to fix the package list from V2 clients, so they can use the package URLs instead. |
Support for Composer V2 has been incorrectly added.
Repman currently returns:
According to the spec, the package must be wrapped in a
packages
object. So the expected response would be:The text was updated successfully, but these errors were encountered: