-
Notifications
You must be signed in to change notification settings - Fork 17
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
Provide pre-built DLLs from Private Packagist #110
Comments
@Seldaek, this change has an impact on the composer? |
Yes this would not be doable as you describe just in pie I suppose, unless pie stores/retrieves this stuff in the extra key. |
Okay, this schema is possible: {
"name": "xdebug/xdebug",
"version": "3.1.7",
"dist": {
"url": "https://xdebug.org/files/xdebug-3.1.7.zip",
"type": "zip"
}
"extra": {
"windows-dist": {
"url": "https://www.smarty.net/files/Smarty-3.1.7-8.4-ts-vs17-x86_64.zip",
"type": "zip"
},{
"url": "https://www.smarty.net/files/Smarty-3.1.7-8.4-ts-vs17-x86.zip",
"type": "zip"
},{
"url": "https://www.smarty.net/files/Smarty-3.1.7-8.4-nts-vs17-x86_64.zip",
"type": "zip"
},{
"url": "https://www.smarty.net/files/Smarty-3.1.7-8.4-nts-vs17-x86.zip",
"type": "zip"
}
}
} |
I'm starting to understand what you're asking for now. You are asking for another way of downloading pre-built DLLs (your use case being that you cannot use public internet). At the moment, the only supported way PIE fetches DLLs is by downloading from the release assets on a GH release: https://github.com/php/pie/blob/main/docs/extension-maintainers.md#windows-support We can evaluate in the future other ways of downloading prebuilt DLLs such as this, but this isn't something I'll be able to look at just yet. |
This feature can be used by the maintainer in the Now you use the GitHub release feature, but some other SVC systems exist and some other source code hosting exists (Zoho, Bitbucket, GitLab...). |
Some companies or state organizations do not allow the servers or the developer's computer to access the Internet. Others have a private PHP extension. I use the
Satis
term to speak of the private packagist.I try to understand how PIE works with a private composer repository and how to get the DLL to install it. Without reading the code ;-)
I have tried with Satis and xdebug. The installation has noway.
Composer repository and satis generated files do not contain the PHP extension configuration to build or get the DLL.
For each package information provided by Satis, this is the minimal information:
This information is minimal for PHP library. But for PHP extension, some other information is needed: DLL download information, and compilation options...
I have this idea of JSON structure for an extension package
The source archive contains the composer.json file with the build options and other information. However, no information about the DLLs.
With the public packagist, PIE gets the DLL from the Release Asset and searches the right archive corresponding with the name template (see doc).
How to download DLL from Satis or another private composer repository?
The text was updated successfully, but these errors were encountered: