-
Notifications
You must be signed in to change notification settings - Fork 127
Composer cleanup #129
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
Composer cleanup #129
Conversation
I have no idea why Scrutinizer failed, neither shows the Scrutinizer |
I don't agree with you. Since it doesn't have an impact on the users of the library. But it allows us to be sure that we don't get any strange side effects on updates. I'm not convinced by the threads on stackoverflow. I will leave this PR open for discussion. |
It has actually negative effect on development, because of constant commiting new Have you came across any real conflicts due to missing |
Hi all. After I checkout the Scrutinizer log, it has the dependencies problem.
Perhaps the |
@peter279k I used Scrutinizer in 12 repositories with only @jaapio Would you be open to move coverage checks to Coveralls like on the other repo? |
YES I am, sir 👍 |
I'm closing this PR since I want to leave the composer.lock in place so we don't have any strange bugs that are popping up during development of unintended external issues. Please open an issue for discussion about having a composer.lock in libraries or not. |
@jaapio I will push it soon then. I have no issue with |
Fact is that most of our components are used by other projects. I agree that the maintenance of packages is very time consuming. But I think we can't go back to one repo because of the usage of the packages. |
I don't mean one repo, I mean monorepo, like Symfony is. Every packages distributed by itself but maintained in single monorepo. It has many advantages. |
It also has disadvantages. Like discussed in zend framework |
I don't know Zend, let's be specific to this project. In case most of packages are out of date and unmaintained (not developed), in low numbers and with burn-out history for many of them, this might be a way to bring them to life. Moreover when it looks like you're the only one around in this organization. Why do you think it would hurt this project? |
Basically we have 4 repositories that are actively maintained. The main issue I see is that we are currently able to have bc breaks in all of them separately which acually makes sense to move faster forward. |
That's possible even with monorepo. Is that real issue when I think monorepo is much better to handle BC breaks, because package depend on each other. Now it would be easier to bump to PHP 7 in one way, instead of doing it individually in asynchronous timing. I wrote about advantages of synchronization here, if you've got 5 minutes. Also my motivation is to make these package more usable. I've used them in ApiGen, with dependency on BetterReflection, that uses ReflectionDocBlock, which uses TypeResolver. Finding a bug/needing a feature in TypeResolver after many weeks/months of waiting on issue resolution followed by tagging I gave up and rather made my own TypeResolver fork or hack it with reflection. That could be avoided much more easily by using monorepo for (at least) these 2. |
But if you have bad experiences with monorepo yourself, no need to push this. I've tried both approaches for ~2 years each and monorepo is absolute winner. I also use Symfony ecosystem, so I understand you using Zend have logically synced opinion on this. I've also helped to maintain Nette framework going throught same way as Zend and it caused lots of bugs with not real added value or real reason to keep it that way, apart status quo. An experiment not worth reverting. |
Thanks for the read. Because we are much stronger together then when we are doing our own job on equal packages. Your energy on these packages gives me energy to continue developing them. We are doing more than enough duplication in the php community. I would like to plan this idea together with you to see how this would work out with the limited resources we have in the phpdocumentor project. Which is currently not in a very active development flow. |
I will create an issue for this in the main repository of phpdocumentor. I would like to invite you to join me to start working on a more effective workflow for the packages in the phpdocumentor organisation. I will comeback to you soon |
@jaapio Thanks for such a nice words. I'm glad you're open to not-small change. I'm very happy you have fast responses to my PRs, I see you care about this. Take your time, I'll look forward to you. |
Althought it is very useful in some cases, having
composer.lock
doesn't make sense for small packages like this.This SO answer nicely summes it up