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

Override PIE download URL and set build-path for pre-packaged source #1782

Draft
wants to merge 1 commit into
base: v1.x
Choose a base branch
from

Conversation

asgrim
Copy link

@asgrim asgrim commented Feb 4, 2025

We worked on php/pie#39 to allow the mongodb extension to be built from pre-packaged source URLs instead of relying on the git-generated ZIP archive that GitHub etc. uses (and thus Composer/PIE).

Note: build-path is also needed, and I added a template for it, since the TGZ produced has a subdirectory in it based on the version; so in the case of mongodb at least, we'll need both download-url-method and build-path to be specified.

Note 2: needs php/pie#187 to be merged first

composer.json Outdated
@@ -17,6 +17,8 @@
},
"php-ext": {
"extension-name": "mongodb",
"override-download-url-method": "pre-packaged-source",
Copy link
Author

Choose a reason for hiding this comment

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

Needs php/pie#187 to be merged before this will work

@asgrim asgrim force-pushed the allow-install-with-pie branch from a528c49 to eb302a9 Compare February 5, 2025 10:34
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.

1 participant