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
issues updating from 2.8.3 using Composer #7179
Comments
|
Maybe requiring |
It's not an unstable dependency in the sense that it's completely controlled with each update (I maintain PHP-DI). It's kind like a rolling release, except we have the liberty to break BC because only Piwik is using it (+ some of my projects). The goal is to develop 5.0 while confronting the choices made to real-life scenarios in Piwik and being able to adjust and break BC when we want (that's why 5.0 is not tagged yet). In a few months (maybe next release) 5.0 should be tagged. |
How can you know? 😏 But solving the |
I'll fix the doctrine requirement.
Of course anybody can use it ;) but for them it's "unstable". For Piwik it's not because I update Piwik as soon as I update PHP-DI, it's like a joint development, like if PHP-DI 5 was an "internal" fork. Anybody could use it, but there's no guarantee of anything for them. |
Forgot to reference the commit, here it is: f82a2d4! |
I'm using Composer for a project which only requires Piwik as a dependency, so my
composer.json
looks like this:As Piwik 2.8.3 is the last tag with only stable dependencies, there are some issues while trying to update to 2.9.0 (which requires
"mnapoli/php-di": "5.0.x-dev"
) or 2.10.0 (which also requires"doctrine/cache": "dev-filecache-race-condition-fix as 1.3.1"
).We have two issues here:
stable
, no stable version for the5.0.x-dev
branch ofmnapoli/php-di
can be found and Composer complains withpiwik/piwik 2.9.0 requires mnapoli/php-di 5.0.x-dev -> no matching package found
. The commit which introduced this is f5b6b4c. The solution would be to tag a stable release. /cc @mnapolidoctrine/cache
. (Or is it already solved in 1.4.0?)To successfully update my project to Piwik 2.10.0 while having these two issues I would need to change my
composer.json
to this, which is definitely bad:Would be nice if both issues could be solved prior to releasing Piwik 2.11.0.
The text was updated successfully, but these errors were encountered: