Skip to content
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

fix(datasource/composer): update default registry url. #34595

Merged
merged 3 commits into from
Mar 9, 2025

Conversation

Seldaek
Copy link
Contributor

@Seldaek Seldaek commented Mar 3, 2025

Changes

Packagist.org & Composer maintainer here.. We are trying to phase out the packagist.org/p2/... URLs as we are serving the repo.packagist.org domain via a CDN which is much more efficient for everyone involved. These URLs were historically present but right now I see a lot of the requests for these fils on the main domain come from RenovateBot.

I have no idea if this URL needs to be changed in other places, so please take over here, but essentially packagist.org (without repo prefix) SHOULD NOT be used as a Composer repository anymore. Composer even internally rewrites that domain to repo.packagist.org, but third party clients obviously do not.

If you fail to take action here RenovateBot will stop working at some point when we disable these routes on the main domain. I don't have a firm timeline yet but I am trying to migrate whoever I can to avoid trouble.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

viceice
viceice previously approved these changes Mar 3, 2025
Copy link
Member

@viceice viceice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it needs some test changes, we'll take care of it. thanks for notification

@viceice viceice changed the title Fix default Composer repo URL fix(datasource/composer): update default registry url. Mar 3, 2025
@rarkins rarkins added this pull request to the merge queue Mar 9, 2025
Merged via the queue into renovatebot:main with commit 8cd7a89 Mar 9, 2025
2 checks passed
@renovate-release
Copy link
Collaborator

🎉 This PR is included in version 39.191.4 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants