-
Notifications
You must be signed in to change notification settings - Fork 124
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
Upgrade from 3.0.0 to 3.1.0 issue with psr/log requirement #273
Comments
That's bad. How would you suggest to solve it? I can see 2 options:
|
As for semver, there should be |
@escopecz What do you think? |
@dakur yes, great idea. Would you have time to prepare the revert of |
I can have a look at it, but not earlier than in two weeks, sorry. |
I am still getting this error when calling the newApi method on a correctly instantiated Auth object:
Any updates? |
@timothyoesch please test and comment on #279 to help getting it to a mergeable state. |
I have made a pull request to fix this issue. An update of the Psr\Log package was not required as the |
To use the fork, just add this to your composer.json
|
Thank you, this fixed the problem for me, too. When will this fix be available in the "official" repo? |
Please comment your test results on the pull request itself. There must be a record of people testing it before it can be merged. |
I can't understand this. We are talking about upgrading to new php version, not a complex new feature. What do you need to test about it from number of people? It just works or it doesn't, you can try it manually or have a test for it. PR author probably tested it, what do you need more? Also, there were multiple PRs for this but because of the ridiculous requirement of signing CLA which some of contributors have problem with, it discourages and demotivates from contributing (at least me). Further, I give you an explicit approval to reuse the code I wrote (few lines) in a new PR, but you (or someone) didn't put any effort into it. That feels to me like you/mautic team doesn't care much about this library. I just needed to express frustration/disappointment, sorry. |
To be fair, I know there is plenty of work on mautic not just this lib. Just can't understand how it can be so difficult to fix/finish this for library maintainers. Anyway thank you for your work on whole mautic. |
Hi @dakur I appreciate it is confusing if you are not involved with Mautic on a wider scale. Here is our code governance: https://contribute.mautic.org/community-structure/governance/code-governance - the reason we require two people to test is because human beings miss things. More often than not, the second tester picks up things that were missed by the first tester. The way GitHub works in Mautic is that PR merging is blocked until there is a review on the PR using the process documented here: https://contribute.mautic.org/contributing-to-mautic/tester#leaving-your-review which is why there was an ask to leave testing comments and reviews on the PR, not on the issue. It saves the core team having to go back and forth from issue to PR to find what has and hasn't been tested. This is standard practice across all Mautic repos. As regards the contributors agreement, it is a mandatory requirement across all Mautic repositories, if people are not willing to sign it, we cannot accept their contributions. This is a black and white thing, no grey area. At this time, the focus of our very small team of volunteers is getting the work done and tested for Symfony 5 support, so that is where the attention has to be focused right now. It's not a case of someone not caring about re-writing someone's code because they don't want to sign the agreement, it's a case of prioritising the limited time we have available for the things that the wider community requires in order to be using a secure version of the framework that underpins Mautic. I expect that someone will get around to doing this at some point, but right now we just do not have the spare bandwidth to do so. Ways you can help:
|
Upgrading from 3.0.0 to 3.1.0 has for consequence to upgrade psr/log from 1..4 to 3.0.0 which throw an error as the setLogger method is not compatible with the upgrade version of the LoggerAwareInterface:
Declaration of Mautic\Api\Api::setLogger(Psr\Log\LoggerInterface $logger) must be compatible with Psr\Log\LoggerAwareInterface::setLogger(Psr\Log\LoggerInterface $logger): void
The text was updated successfully, but these errors were encountered: