-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Build and release PHAR #25
Comments
Hey, @hussainweb! I'm open to this idea, and I could use your help on it, if you're able. Thanks! |
Thanks, @ramsey. I'll start a PR on creating the PHAR file sometime this week. |
I ran unto the same issue as @hussainweb |
Provide PHAR releases for conventional-commits
Right now, the documented way to install this would be to use
composer require --dev
. I would also like the option of downloading a PHAR file for this.Background/problem
The dependencies of this package are quite strict which would not let me add this package where I would want to use this. For example, different versions of Drupal depend on different releases of Symfony packages and the version requirements here are quite strict. I can avoid this to an extent with
cgr
orcomposer global require --dev
but there is a chance of conflicts anyway.Next, there is a hard dependency on CaptainHook but I would want to use this with GrumPHP. It doesn't make sense to include both in a project. Another way could be to move
captainhook
tosuggests
instead ofrequire
but that's a big change and might need rewriting and testing.A third way could be to break the package into supporting libraries and I could use that library in GrumPHP. Again, it's a lot of work.
Considering all this, I think creating a PHAR file is the easiest way out of all of these problems.
Proposal/solution
I suggest building and making PHAR files available and I can help with a PR if you're open to this. Of course, I can only contribute with the way to create PHAR files and I believe the maintainers will need to add it to releases or make it available to Phive, for example. My thought is to use https://github.com/box-project/box but I am open to other methods as well.
Alternatives
Already described in the background above.
Additional context
Already described in the background above.
The text was updated successfully, but these errors were encountered: