-
-
Notifications
You must be signed in to change notification settings - Fork 316
add --with-frankenphp-app=/path/to/app option #891
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
base: main
Are you sure you want to change the base?
Conversation
064c57a
to
c56646f
Compare
c56646f
to
4d35011
Compare
No better idea too, unless we implement However, if you want to implement |
I thought about fetch-on-build, but then remembered that you wanted to keep all network calls and downloads in the download stage (which makes sense, github release fetching is surprisingly prone to failure). Frankenphp source is fairly small, I think it's acceptable too. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we still use dunglas
?
* Process the --with-frankenphp-app option | ||
* Creates app.tar and app.checksum in source/frankenphp directory | ||
*/ | ||
protected function processFrankenphpApp(): void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about processing frankenphp app before building everything? Although I don't have any build requirements for frankenphp embed app, but if something goes wrong here, it would be annoying to wait for dozens of minutes to build and then report an error.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will we still use dunglas
?
@dunglas not sure about plans to switch the go package name. The frankenphp.dev PR has been active for months. |
Currently yes, we still use |
What does this PR do?
@dunglas I hope this is the idiomatic way to achieve this?
Checklist before merging
@crazywhalecc adding frankenphp as a library is a bit of a dirty hack to depend on the source to be downloaded. better ideas?