Open dmolineus opened 6 years ago
I agree, having more tools in the chain would be very nice.
However, I think we must reconsider our concept of the all-tasks repository then or the entire infrastructure, as we then would use tools not installable via composer or slowly end up in dependency hell (as we are almost already by being compatible with phpunit in all majors and the like).
We might have to pack phar binaries of all tools in the all-tasks and distribute them along then.
I fully agree that we're close to dependency hell right now. I propose to use phive to install the phars instead of shipping them with our tool. Maybe there could be an ant task to install the required phars.
phive is fine for me, however we need some way to distribute it automatically and install it from within the build process if not found. So maybe we would have at least to redistribute that one with phpcq/phpcq.
Sorry for closing, wrong button. :disappointed:
My Idea was to use the composer plugin of phive to provide phive integration (It provides to commands to access phive). However, after playing with it, it seems to be not ready for production yet.
So maybe we have to redistribute it (or download it everytime).
Another thing phive doesn't handle is versions. It seems that you have to provide a specific url if you want to enforce a specific version of the tool
We could use the build.default.properties
for specifying/overriding default version values, however the installation must be done by bundling at least phive.
On a side note, when we are already starting to modernize, we might try to switch to consolidation/Robo. It appears to be more stable than phing(which we already discussed in phpcq/phpcq#2) and would also remove our dependency on ant.
New tool information should get added to https://github.com/phpcq/repository for version 2.0.0.
@dmolineus as you already added most mentioned above in the repo, you might want to add the missing ones and we can then close this issue?
I'd love to see more tools which I came across during the last months being added to phpcq:
We should check how we could add this tools to our chain. The last one, f.e. is not installable by composer. But I think it would inc