SHA256
1
0
forked from pool/matomo

Accepting request 1134024 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/1134024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/matomo?expand=0&rev=56
This commit is contained in:
Ana Guerrero 2023-12-19 22:16:43 +00:00 committed by Git OBS Bridge
commit 1391cdd4ec
5 changed files with 15 additions and 7 deletions

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.orig/plugins/CoreUpdater/Commands/Update.php
+++ matomo/plugins/CoreUpdater/Commands/Update.php +++ matomo/plugins/CoreUpdater/Commands/Update.php
@@ -79,8 +79,11 @@ class Update extends ConsoleCommand @@ -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. + // Only show if autoupdate is enabled. Don't show if update through distribution package update.
+ $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update']; + $enableAutoUpdate = (bool) Config::getInstance()->General['enable_auto_update'];
+ if ($enableAutoUpdate === true){ + 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> 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} %{!?_tmpfilesdir:%global _tmpfilesdir %{_prefix}/lib/tmpfiles.d}
Name: matomo Name: matomo
Version: 4.16.0 Version: 5.0.0
Release: 0 Release: 0
Summary: Web analytics platform Summary: Web analytics platform
License: GPL-3.0-or-later License: GPL-3.0-or-later
@ -123,7 +123,7 @@ do
sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php sed -i "/\W\"${i}\"\W/d" config/manifest.inc.php
done done
# Insert new hashes for chanded files # 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 do
size=$(ls -l $file | awk '{ print $5 }') size=$(ls -l $file | awk '{ print $5 }')
checksum=$(md5sum $file | awk '{ print $1 }') checksum=$(md5sum $file | awk '{ print $1 }')