matomo-org / matomo-package

Matomo release script (official package), and debian/ubuntu package (allows sysadmins to deploy Matomo within seconds using "apt-get install piwik -V")
28 stars 27 forks source link

Working on debian package generation: autoload.php #139

Open e-gaulue opened 3 years ago

e-gaulue commented 3 years ago

Dear community,

I'm closed to deliver my commits to have debian package generation work again (spent my week-end on it).

The only relevant things I get now are the results of the module=Installation&action=systemCheckPage page.

It complains about autoload.php files to remove:

Fichier à supprimer : vendor/davaxi/sparkline/autoload.php
Fichier à supprimer : vendor/davaxi/sparkline/src/autoload.php
Fichier à supprimer : vendor/matomo/device-detector/autoload.php
Fichier à supprimer : vendor/opis/closure/autoload.php

Should they be removed from matomo main package? Are they needed by the matomo installation and then removed (I just upgrade, so I can't test)?

It would be better not to have those kind of warnings after the debian package installation. What are your advises?

Regards,

sgiehl commented 3 years ago

As we are using composer I doubt those files are required. Feel free to create a Pull Request that adds those files to the list of removed files like here: https://github.com/matomo-org/matomo-package/blob/54c8396db24db3364862723721cd1095abdf3766/scripts/build-package.sh#L178