-
Notifications
You must be signed in to change notification settings - Fork 61
Host .phar version #74
Comments
Any reason why it's hard to integrate into CI? |
Do you use Composer? |
@realityking you probably haven't heard about travis releases: https://docs.travis-ci.com/user/deployment/releases i have set it up in few project and now i no longer build release archives myself: |
I agree with glensc that automatic deploy by Travis is good solution and gh-page can only link to latest release. |
perhaps upload the .phar manually to each github releases until it is automated and use some "fixed" name like "parallel-lint.phar" not "parallel-lint-1.3.1.phar", so you could use in docs such link:
i'm not sure which one works as there is no .phar, but such "latest" link redirects properly: |
oh and |
PHAR usually requires a great maintenance overhead and different approach to code and debugging itself. What would be the added value over this? |
@TomasVotruba added value is that your dev dependencies don't pollute your app's real dependencies, so there is less possibility of conflicts between low-level dependencies. Yesterday I wanted to add PHPStan to project based on Laravel 4.2 which our team took over and I was unable to do that because of conflict on Today I learned there is https://github.com/tommy-muehle/tooly-composer-script which automates downloading PHAR files for development, so I wanted to check if there is one for parallel lint - so here I am :-) |
Apparently, this is already set up, only there has not been a new release yet. @JakubOnderka Could you please make a dummy release so we could use the PHAR? |
I feel there is a natural move towards phar files for dev tools happening in the PHP space, its often for the reason of not having your dev deps clash with your non-dev though as @Wirone stated. You can quickly end up in a situation where either you want to move forward and the tool hasn't.. or the other way around. If there is automated stuff for this then Id assume the extra work load is minimal? seems like @jtojnar is suggesting all that is required is a release. |
also should integrate with https://phar.io/ |
the travis integrfation to build phar on git tag was done in 2016 October: which means 1.0.0 tag has the integration present. so i looked travis build log for 1.0.0 tag: @JakubOnderka seems your travis key setup is incorrect:
so, please recheck what's there wrong and tag 1.0.1 (from the same tag for example) |
Please provide PHARs for your releases and make them installable with Phive. |
While doing this please also consider migrating to https://github.com/humbug/box, which is a maintained version of box, that is not only fast but provides some additional features. |
Modern PHP tools tend to be distributed in PHAR files. |
Just FYI - as of version 1.3.0, the PHAR is part of the release assets. Adding support for Phive is on the roadmap to be addressed in the near future: php-parallel-lint/PHP-Parallel-Lint#75 |
Posting this just in case it's useful to anybody else, I automated downloading the latest released phar file with the following bash function:
|
Hi there,
parallel-lint
is awesome! It's just a tiny bit painful to integrate it into my CI flow. I'd be happy to help you set up a smallgh-pages
site to host it. Would you be able to keep it updated?Cheers,
Rouven
The text was updated successfully, but these errors were encountered: