Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package MirrorCache for openSUSE:Factory checked in at 2025-10-13 15:35:54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/MirrorCache (Old) and /work/SRC/openSUSE:Factory/.MirrorCache.new.18484 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "MirrorCache" Mon Oct 13 15:35:54 2025 rev:56 rq:1311059 version:1.101 Changes: -------- --- /work/SRC/openSUSE:Factory/MirrorCache/MirrorCache.changes 2025-09-05 21:45:11.009371028 +0200 +++ /work/SRC/openSUSE:Factory/.MirrorCache.new.18484/MirrorCache.changes 2025-10-13 15:37:18.610194410 +0200 @@ -1,0 +2,6 @@ +Mon Oct 06 09:54:58 UTC 2025 - Andrii Nikitin <[email protected]> + +- Update to version 1.101: + * Load mojo plugin from env variables + +------------------------------------------------------------------- Old: ---- MirrorCache-1.100.obscpio New: ---- MirrorCache-1.101.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ MirrorCache.spec ++++++ --- /var/tmp/diff_new_pack.Qy6mcy/_old 2025-10-13 15:37:19.346225348 +0200 +++ /var/tmp/diff_new_pack.Qy6mcy/_new 2025-10-13 15:37:19.350225516 +0200 @@ -22,7 +22,7 @@ %define main_requires %{assetpack_requires} perl(Carp) perl(DBD::Pg) >= 3.7.4 perl(DBI) >= 1.632 perl(DBIx::Class) >= 0.082801 perl(DBIx::Class::DynamicDefault) perl(DateTime) perl(Encode) perl(Time::Piece) perl(Time::Seconds) perl(Time::ParseDate) perl(DateTime::Format::Pg) perl(Exporter) perl(File::Basename) perl(LWP::UserAgent) perl(Mojo::Base) perl(Mojo::ByteStream) perl(Mojo::IOLoop) perl(Mojo::JSON) perl(Mojo::Pg) perl(Mojo::URL) perl(Mojo::Util) perl(Mojolicious::Commands) perl(Mojolicious::Plugin) perl(Mojolicious::Plugin::RenderFile) perl(Mojolicious::Static) perl(Net::OpenID::Consumer) perl(POSIX) perl(Sort::Versions) perl(URI::Escape) perl(XML::Writer) perl(base) perl(constant) perl(diagnostics) perl(strict) perl(warnings) shadow rubygem(sass) perl(Net::DNS) perl(LWP::Protocol::https) perl(Digest::SHA) perl(Config::IniFiles) %define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools Name: MirrorCache -Version: 1.100 +Version: 1.101 Release: 0 Summary: WebApp to redirect and manage mirrors License: GPL-2.0-or-later ++++++ MirrorCache-1.100.obscpio -> MirrorCache-1.101.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/MirrorCache-1.100/lib/MirrorCache/WebAPI.pm new/MirrorCache-1.101/lib/MirrorCache/WebAPI.pm --- old/MirrorCache-1.100/lib/MirrorCache/WebAPI.pm 2025-08-29 13:12:32.000000000 +0200 +++ new/MirrorCache-1.101/lib/MirrorCache/WebAPI.pm 2025-10-06 11:52:01.000000000 +0200 @@ -1,4 +1,4 @@ -# Copyright (C) 2020 SUSE LLC +# Copyright (C) 2020-2025 SUSE LLC # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -143,6 +143,16 @@ $self->plugin('RootRemote'); } } + # Load Plugins from ENV + foreach (sort keys %ENV) { + my (undef, $plug) = split /MIRRORCACHE_PLUGIN_(.*)/, $_; + next unless $plug; + my $err = 1; + eval { $self->plugin($plug); $err = 0 }; + if ($err) { + warn("Could not load plugin from {$plug}: $@\n") + } + } } sub _setup_webui { ++++++ MirrorCache.obsinfo ++++++ --- /var/tmp/diff_new_pack.Qy6mcy/_old 2025-10-13 15:37:20.190260826 +0200 +++ /var/tmp/diff_new_pack.Qy6mcy/_new 2025-10-13 15:37:20.190260826 +0200 @@ -1,5 +1,5 @@ name: MirrorCache -version: 1.100 -mtime: 1756465952 -commit: 2c1e9ddd62e6911ab017c1a77e25c344e5b8fd89 +version: 1.101 +mtime: 1759744321 +commit: 6b96f71b5873faf6349959bcdd8dff699a1cf40f
