-
Notifications
You must be signed in to change notification settings - Fork 11
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
Make available extensions discoverable #381
Comments
What if
|
Other (logging) options:
|
Having it in the logs is a little confusing to me, because it's a list of the possible extensions someone *could use in their build, not the extensions that someone is using. I think making the extensions discoverable, to me, meant making it easier for someone trying to figure out if the extensions they want to use in their app are supported in the PHP distribution that we provide. I suppose they could learn this information by doing a build, but I think it would be more helpful to have this information ahead of a build so they can be informed if the build will support their use case. Do you see what I mean? Some kind of logging about the extensions could be helpful for other debugging cases though |
@sophiewigmore Could you clarify I think we do want to show all possible extensions, so that application developers know what is available for them. I really hesitate to put the list of extensions in the release notes for several reasons:
I suspect application developers would be happy with a copy/paste command to retrieve the list of available extensions (if we added logging we could probably come up with such a command). Another two options:
|
You are right, having multiple versions of PHP and listing out every extension list for every version could be a lot of information to have in the release notes. I think this could be simplified to look at by creating a table of all of the extensions like:
I'm not sold yet on the idea of a script because I suspect a user may want to know what extensions are available for them before they do a build (it's possible that they'd only want to check after a build has run and failed maybe). In order to check, they'll probably need to know the exact version of PHP that will get pulled into their build in order for the script to properly get the extensions. I'm just not sure I understand the logistic of how a script would work in this scenario. |
I think the team may have looked into this before but I can't recall why this wasn't ideal. @thitch97 or @arjun024 may know.
^THIS! agreed |
This is a good callout. When I said "simple copy/paste command" I was thinking that would be a
Ooooh, what if we put the list of extensions into the |
Blocking until we get the new Dependency Management system |
Currently, we point users who want to know what extensions are available at the old V2 compilation code lists of extensions. It would be great if we had a better way to make the list of extensions available for each version we support, right here in the buildpack. Ideally, in the release notes.
We should look into if there's a nice way to get this list from the PHP artifacts we support and add it to the release notes somehow, or at a minimum give users a simpler way to understand extension options.
The text was updated successfully, but these errors were encountered: