-
Notifications
You must be signed in to change notification settings - Fork 72
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
Remove support for PHAR releases #256
Comments
FWIW, if "incompatible dependencies" is an issue that causes you to need to use Phar, you can usually workaround with something like the following GH action:
|
Also: mkdir /tmp/my-tool
cd /tmp/my-tool
composer require <the-tool> Good enough |
Until we have a decision here, @maglnet can you please provide the PHAR file for |
@OskarStark Sorry, it's now attached to the release. |
No problem Thanks you very much 💥 |
Just noticed 3.3.0 phar is also missing as well as the gpg key:
|
Only @maglnet can create atm a new signed |
@maglnet Please create a PHAR for 3.3.0. |
@ThomasLandauer the phar file is attached now. You're right, the preferred way should either be changed or the phar should be created automatically. |
When doing
I don't know who's in charge of this URL, though ;-) |
Well there's a list of public key servers provided with phive, if the server is gone, maybe it needs to be removed from the list? |
The current |
Adding more gasoline to the fire:
I think the waste of time is becoming quite evident. |
While I admit I'm not using this tool myself, I fully disagree with the idea of this issue and just want to contribute my PoV. Maybe it's helpful - maybe not, then feel free to ignore it. Your points against phar are:
This is hardly a problem of using phars as a concept but rather a lack of automation. If there's any interest, I can offer help to automate building phars.
To me, this is completely backwards: It's not a downside at all but very much an upside. Instead of not knowing what arbitrary set of versions of dependencies may or may not have been installed, with a phar I do have a known stable set I can also reproduce issues with. I also disagree with the notion that issues could (let alone should) be reported upstream: If I use a tool and it doesn't work, I hardly care if the issue is with a library it uses or within the tool itself. At least I would report a bug with the tool vendor. The tool vendor now either has to support a wide variety of versions of a library with various types of workarounds until the upstream issue is fixed. But then what? Update the minimum version in the To me, when a software is released, it's a packaged thing. If my software requires 3rd party libraries, with a release of my software, I consider the currently tested set of them part of my software package. I explicitly do not want any user to be required to deal with them. To me, phar is the very answer to that and not the problem.
Unless you run PHP-Scoper before packaging, I fail to see how that can be. HTH :-) |
Since today, the release process, including the creation of phar files and signing, is completely automated. As long as there is no other easy "standard" to install tools separately, I'd prefer to not drop the phar releases for now. |
Thanks a lot |
I don't think it's a good idea. It's way better to use PHARs by default to avoid dependency issues. |
You get my dependencies, not those that are fitting your system and lockfile, and you also get the security issues of all the dependencies that I had at release time 😋 |
PHAR releases are generally problematic, because:
Overall, my suggestion is therefore to:
.phar
releasemaglnet/composer-require-checker
independently from project sourcesI'll probably start scrapping
.phar
releases on my own projects in the short-term future too.Fixes #238
The text was updated successfully, but these errors were encountered: