forked from pool/MirrorCache
- Update to version 1.025:
* Allow headquarter be in HA subsidiary handling (#255) * Stat log after render (#256) * Add SMALL_FILE_SIZE to serve small files directly from ROOT_NFS (#254) OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=46
This commit is contained in:
parent
f162efea95
commit
b2adbb19cf
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:df884a134178ed76d8704ecf9e602df3f33befc963a2695ea688973025f3f520
|
||||
size 839180
|
3
MirrorCache-1.025.obscpio
Normal file
3
MirrorCache-1.025.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:65a93f4cdde9a118a3d90cd4b463106dbaf728645c723542d2f6452893b04ebd
|
||||
size 842764
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 10 11:27:57 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||
|
||||
- Update to version 1.025:
|
||||
* Allow headquarter be in HA subsidiary handling (#255)
|
||||
* Stat log after render (#256)
|
||||
* Add SMALL_FILE_SIZE to serve small files directly from ROOT_NFS (#254)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 03 09:23:28 UTC 2022 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
name: MirrorCache
|
||||
version: 1.024
|
||||
mtime: 1643879887
|
||||
commit: ae811c8ec5d14c14f6a78084c0600dc27330760b
|
||||
version: 1.025
|
||||
mtime: 1644489456
|
||||
commit: a025a68eac1adc2c1bdaf5df1c45dbc011bf94bd
|
||||
|
@ -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)
|
||||
%define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools
|
||||
Name: MirrorCache
|
||||
Version: 1.024
|
||||
Version: 1.025
|
||||
Release: 0
|
||||
Summary: WebApp to redirect and manage mirrors
|
||||
License: GPL-2.0-or-later
|
||||
@ -34,7 +34,6 @@ Source2: %{name}-user.conf
|
||||
Source3: %{name}-tmpfilesd.conf
|
||||
# use update-cache (or tools/generate-packed-assets) to generate/update cache.tar.xz
|
||||
Source101: update-cache.sh
|
||||
Patch1: pr253.patch
|
||||
BuildRequires: %{build_requires}
|
||||
Requires: %{main_requires}
|
||||
Requires: perl(Minion) >= 10.0
|
||||
@ -46,7 +45,6 @@ Mirror redirector web service, which automatically scans the main server and mir
|
||||
|
||||
%prep
|
||||
%setup -q -a1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
# make {?_smp_mflags}
|
||||
@ -81,7 +79,7 @@ install -D -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
%service_del_postun_without_restart mirrorcache-hypnotoad.service
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%doc README.asciidoc
|
||||
%license LICENSE
|
||||
%{_sbindir}/rcmirrorcache
|
||||
%{_sbindir}/rcmirrorcache-hypnotoad
|
||||
|
13
pr253.patch
13
pr253.patch
@ -1,13 +0,0 @@
|
||||
index f8f9e05..d69c158 100644
|
||||
--- a/lib/MirrorCache/WebAPI/Plugin/Dir.pm
|
||||
+++ b/lib/MirrorCache/WebAPI/Plugin/Dir.pm
|
||||
@@ -117,7 +117,7 @@ sub render_dir_remote {
|
||||
my $reftx = $tx;
|
||||
};
|
||||
|
||||
- $c->minion->result_p($job_id)->timeout->($RENDER_DIR_REMOTE_PROMISE_TIMEOUT)->catch($handle_error)->then(sub {
|
||||
+ $c->minion->result_p($job_id)->timeout($RENDER_DIR_REMOTE_PROMISE_TIMEOUT)->catch($handle_error)->then(sub {
|
||||
$c->emit_event('mc_debug', "promiseok: $job_id");
|
||||
_render_dir($dm, $dir);
|
||||
my $reftx = $tx;
|
||||
|
Loading…
x
Reference in New Issue
Block a user