Accepting request 1134019 from home:ecsos:server

- Update to 5.0.0
  Too many changes to list here. See instead:
  https://matomo.org/changelog/matomo-5-0-0/
- Rebase matomo-package_update.patch

OBS-URL: https://build.opensuse.org/request/show/1134019
OBS-URL: https://build.opensuse.org/package/show/network:utilities/matomo?expand=0&rev=122
This commit is contained in:
Eric Schirra 2023-12-19 12:06:12 +00:00 committed by Git OBS Bridge
parent 4943751ca1
commit d3c512d590
6 changed files with 23 additions and 7 deletions

View File

@ -0,0 +1,8 @@
<html>
<head>
<meta http-equiv="refresh" content="0;url=https://matomo.org/docs/installation/"/>
<meta name="robots" content="noindex,nofollow">
</head>
<body>You will be redirected to the Matomo Analytics Installation documentation on <a href='https://matomo.org/docs/installation/'>matomo.org/docs/installation</a>
</body>
</html>

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:385653e35f795935b0d97340c8688d8b15ba85234a0b72320696b990cf4f0959
size 19844115

3
matomo-5.0.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d72b74dced0a9a93295043646ba1fc4577aa4a7d282b46baf7898933f8bbff65
size 20946285

View File

@ -3,13 +3,13 @@ Index: matomo/plugins/CoreUpdater/Commands/Update.php
--- matomo.orig/plugins/CoreUpdater/Commands/Update.php
+++ matomo/plugins/CoreUpdater/Commands/Update.php
@@ -79,8 +79,11 @@ class Update extends ConsoleCommand
$this->writeSuccessMessage($output, array(Piwik::translate('CoreUpdater_DbUpgradeNotExecuted')));
$this->writeSuccessMessage(array(Piwik::translate('CoreUpdater_DbUpgradeNotExecuted')));
}
+ // Only show if autoupdate is enabled. Don't show if update through distribution package update.
+ $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update'];
+ if ($enableAutoUpdate === true){
$this->writeAlertMessageWhenCommandExecutedWithUnexpectedUser($output);
$this->writeAlertMessageWhenCommandExecutedWithUnexpectedUser();
-
+ }

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Dec 19 09:41:27 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 5.0.0
Too many changes to list here. See instead:
https://matomo.org/changelog/matomo-5-0-0/
- Rebase matomo-package_update.patch
-------------------------------------------------------------------
Tue Nov 28 17:11:44 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@ -21,7 +21,7 @@
%{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d}
Name: matomo
Version: 4.16.0
Version: 5.0.0
Release: 0
Summary: Web analytics platform
License: GPL-3.0-or-later
@ -123,7 +123,7 @@ do
sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php
done
# Insert new hashes for chanded files
for file in console 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php' 'config/global.ini.php' 'core/CliMulti/Output.php' 'plugins/CoreUpdater/Commands/Update.php' 'vendor/matomo/matomo-php-tracker/run_tests.sh' 'vendor/wikimedia/less.php/bin/lessc' 'misc/log-analytics/import_logs.py' 'core/CliMulti.php'
for file in console 'vendor/tecnickcom/tcpdf/tools/tcpdf_addfont.php' 'config/global.ini.php' 'core/CliMulti/Output.php' 'plugins/CoreUpdater/Commands/Update.php' 'vendor/matomo/matomo-php-tracker/run_tests.sh' 'vendor/wikimedia/less.php/bin/lessc' 'misc/log-analytics/import_logs.py' 'core/CliMulti.php' 'vendor/symfony/error-handler/Resources/bin/extract-tentative-return-types.php' 'vendor/symfony/error-handler/Resources/bin/patch-type-declarations' 'vendor/symfony/var-dumper/Resources/bin/var-dump-server'
do
size=$(ls -l $file | awk '{ print $5 }')
checksum=$(md5sum $file | awk '{ print $1 }')