- Update to version 1.046:

* Correctly render mirrorlist in browser when file is unknown
  * Allow rendering .zsync files
  * Render selected mirrors with osm in .mirrorlist

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=74
This commit is contained in:
Andrii Nikitin 2022-11-17 06:26:18 +00:00 committed by Git OBS Bridge
parent 7df6ec6f4f
commit 143e3f947a
7 changed files with 18 additions and 25 deletions

View File

@ -1,14 +0,0 @@
diff --git a/lib/MirrorCache/Config.pm b/lib/MirrorCache/Config.pm
index fb5565d..2388cf3 100644
--- a/lib/MirrorCache/Config.pm
+++ b/lib/MirrorCache/Config.pm
@@ -28,7 +28,7 @@ has dbuser => $ENV{MIRRORCACHE_DBUSER};
has dbpass => $ENV{MIRRORCACHE_DBPASS};
has dbhost => $ENV{MIRRORCACHE_DBHOST};
has dbport => $ENV{MIRRORCACHE_DBPORT};
-has dbdb => $ENV{MIRRORCACHE_DB};
+has dbdb => $ENV{MIRRORCACHE_DB} // 'mirrorcache';
has dsn => $ENV{MIRRORCACHE_DSN};
has dsn_replica => $ENV{MIRRORCACHE_DSN_REPLICA};
has redirect => $ENV{MIRRORCACHE_REDIRECT};

View File

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

View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Nov 17 06:21:34 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>
- Update to version 1.046:
* Correctly render mirrorlist in browser when file is unknown
* Allow rendering .zsync files
* Render selected mirrors with osm in .mirrorlist
-------------------------------------------------------------------
Fri Nov 11 10:42:10 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>
- Add temporary patch for default database name

View File

@ -1,4 +1,4 @@
name: MirrorCache
version: 1.045
mtime: 1668159057
commit: fcd5d312ae28c5f4cfbecd080459289cb50f6b6d
version: 1.046
mtime: 1668665747
commit: 53fabc74250862a160fb6cec5a7b3487964ece7c

View File

@ -22,14 +22,13 @@
%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.045
Version: 1.046
Release: 0
Summary: WebApp to redirect and manage mirrors
License: GPL-2.0-or-later
Group: Productivity/Networking/Web/Servers
URL: https://github.com/openSUSE/MirrorCache
Source0: %{name}-%{version}.tar.xz
Patch0: 0001-Default-db-name.patch
Source1: cache.tar.xz
Source2: %{name}-user.conf
Source3: %{name}-tmpfilesd.conf
@ -45,7 +44,7 @@ BuildArch: noarch
Mirror redirector web service, which automatically scans the main server and mirrors
%prep
%autosetup -p1
%setup -q -a1
%build
# make {?_smp_mflags}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b9a45ba24087e5ee4521e23e87dbb9181967f3b971b08e23de3a8c96d9be454
size 971064
oid sha256:0182ab7353191fc3efbfa978cd96fd636830d508cbac813a53fd136296a6b595
size 1013292