-
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 custom register for composer #2574
Comments
In the above example, I assume that this part: "repositories": [
{
"type": "composer",
"url": "https://wpackagist.org"
}
], translates to: "use https://wpackagist.org for all package lookups"? But is it a complete mirror? It looks like it isn't?
|
@rarkins Hm, i think we need look on |
@Jamesking56 could you add your use case here? You mentioned using a Satis repository but I'm not sure if you use it selectively or for all packages. I think this issue is a prerequisite before we can implement authentication for private packages in #2354. To implement this, once we have settled on the correct logic to use:
Links on the
This text seems to answer my question from above:
It seems like this is a try/fail/try type of approach, i.e. it's expected that you try the first in The second challenge is that the list of reposotories can potentially be quite long and I'm not sure if appropriate to embed it into the I had expected to support only type "composer" to start with, i.e. not type vcs or package or pear. But I wonder if Satis is completely compatible with our current Packagist source code? More on Satis here |
I've started this moving in #2650 and discovered a few things. First, packagist.org seems to include a "convenience" url for packages (e.g. I haven't found any foolproof guide to this so far, but hopefully this is right:
Because these URLs include hashes, they can be cached indefinitely to reduce the load. |
🎉 This issue has been resolved in version 13.101.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Adds support for custom Packagist registries. - [x] Support dynamic packages.json interface for wpackagist.org - [x] Support static packages.json for satis - [x] Support basic auth using hostRules - [x] Write basic auth to `auth.json` Closes renovatebot#2574, Closes renovatebot#2354
What would you like Renovate to be able to do?
Will be great if renovate will support custom registers.
Example:
Describe the solution you'd like
I don't know.
Describe alternatives you've considered
I don't know.
Additional context
Doesn't exist.
The text was updated successfully, but these errors were encountered: