- Update to version 1.049:

* Unify display of current path in /browse /download and .mirrorlist (#327)
  * Show only hostname in mirrorlist url (#329)
  * Set content-type for zsync (#328)
  * Discover folders using realpath (#330)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=79
This commit is contained in:
Andrii Nikitin 2022-12-15 12:29:24 +00:00 committed by Git OBS Bridge
parent 4bbadae4f3
commit ce7dfbc06f
7 changed files with 18 additions and 24 deletions

View File

@ -1,13 +0,0 @@
diff --git a/assets/javascripts/browse.js b/assets/javascripts/browse.js
index 4954332..79b2ac0 100644
--- a/assets/javascripts/browse.js
+++ b/assets/javascripts/browse.js
@@ -60,7 +60,7 @@ function setupBrowseTable(path) {
return '';
}
if(type === 'display'){
- data = '<a href=".' + path + '/' + data + '.mirrorlist">Details</a>';
+ data = '<a href="' + path + '/' + data + '.mirrorlist">Details</a>';
}
}
return data;

View File

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

View File

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

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Dec 15 12:26:30 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>
- Update to version 1.049:
* Unify display of current path in /browse /download and .mirrorlist (#327)
* Show only hostname in mirrorlist url (#329)
* Set content-type for zsync (#328)
* Discover folders using realpath (#330)
-------------------------------------------------------------------
Thu Nov 24 13:06:57 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>

View File

@ -1,4 +1,4 @@
name: MirrorCache
version: 1.048
mtime: 1669295088
commit: 0a25290385e71b6b5d06b958b2f014884e8a3dfb
version: 1.049
mtime: 1671104297
commit: acef9292f3795f68ddef1f9f7f5d7a6146e5ca2b

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.048
Version: 1.049
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-browse-metalink.patch
Source1: cache.tar.xz
Source2: %{name}-user.conf
Source3: %{name}-tmpfilesd.conf
@ -46,7 +45,6 @@ Mirror redirector web service, which automatically scans the main server and mir
%prep
%setup -q -a1
%patch0 -p1
%build
# make {?_smp_mflags}

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:987f7a526af4f9f610179666c946d64c1793d1fc80e80e8cf90e77309bf55644
size 1012508
oid sha256:00be4c2c1f3c053bf5f0b7415989d1af5e73664e5e5b8c3af19cf3fc2c5a062c
size 1013133