@sgiehl opened this Issue on January 29th 2018 Member

Our composer packages are still listed under the vendor piwik on packagist. As there is no way to rename them, we need to create new packages and mark the old ones as abandoned

I've already started and will try to rename the other over the next days

Renaming the php packages does only make sense with Matomo 4, so we can rename all namespaces and classes without the possibility to break any plugins. Imho it doesn't make sense to name the package matomo/* but the classes would still need something like use Piwik\*

@AndoniLarz commented on February 2nd 2018

Hi, I'm willing to use the piwik/piwik package in my project so I'm wondering : if you rename it to matomo/matomo, will I still be able to use piwik/piwik in my composer.json or should I wait until you rename it and use matomo/matomo ?

@sgiehl commented on February 2nd 2018 Member

@AndoniLarz what exactly are you going to use? It will take a while until we will rename this package, as we will likely do that in Matomo 4. As most of the remaining rename tasks will be done than. See #12420

@AndoniLarz commented on February 4th 2018

Well I wanted to integrate this package into my Symfony project (using 3.2.13 but soon upgrading to 3.3 or 3.4), and I wanted to know if you were going to rename it promptly so I should wait a bit, or if you were going to let it named piwik for some time.
Of course if you have some advice about how I could integrate piwik/matomo in my Symfony project (so I don't have to use two servers), I'd be glad to hear !

@robocoder commented on February 11th 2018 Contributor

Is it possible to create dummy packages? So piwik/piwik requires matomo/matomo?

@sgiehl commented on February 12th 2018 Member

I don't think this would make much sense for most of the packages... We are changing the php namespaces for some of the packages, so if we want to provide dummy packages here, we would need to wrap the new namespaces into the old ones to have it still working

@N3X15 commented on March 26th 2019

Is there something I'm supposed to be doing to fix my existing git installs? Keep getting:

Package piwik/cache is abandoned, you should avoid using it. Use matomo/cache instead.
Package piwik/decompress is abandoned, you should avoid using it. Use matomo/decompress instead.
Package piwik/ini is abandoned, you should avoid using it. Use matomo/ini instead.

after git fetch --all --prune && git checkout $RELEASE_TAG && git submodule update --init --recursive && composer i --no-dev

This doesn't really affect anything, but I've noticed some of my installs have fewer warnings than others.

@sgiehl commented on March 26th 2019 Member

you can ignore that messages. We will use the new packages in Matomo 4.

@N3X15 commented on March 26th 2019


Powered by GitHub Issue Mirror