forked from pool/MirrorCache
Accepting request 930818 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/930818 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=4
This commit is contained in:
commit
908032c10a
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c4a871b13a208fb394c3aaaa861dcb6c4080fe4e17cb960701796f9a213bb330
|
||||
size 748556
|
3
MirrorCache-1.016.obscpio
Normal file
3
MirrorCache-1.016.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0baa5f539dcfa431c0c2b6fa4b99039cdc0ecfeaa596a228d1c8407a241709a8
|
||||
size 785932
|
@ -1,2 +1,3 @@
|
||||
# Type Path Mode UID GID Age Argument
|
||||
d /var/lib/mirrorcache 0750 mirrorcache mirrorcache - -
|
||||
d /run/mirrorcache 0750 mirrorcache mirrorcache - -
|
||||
|
@ -1,2 +1,3 @@
|
||||
# Type Name ID GECOS [HOME]
|
||||
u mirrorcache - "MirrorCache" /var/lib/mirrorcache
|
||||
g mirrorcache
|
||||
|
@ -1,3 +1,29 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 04 08:21:40 UTC 2021 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||
|
||||
- Update to version 1.016:
|
||||
* Add script for manual testing download.o.o
|
||||
* Add route /rest/scan_tree
|
||||
* Add job for recursive scan (#222)
|
||||
* Introduce variable MIRRORCACHE_TRUST_ADDR (#221)
|
||||
* Add BACKSTAGE_WORKERS parameter to scripts (#220)
|
||||
* Fix automatic mirror capability management when two capabilities are disabled for the same mirror (#219)
|
||||
* Dont try to find mirror for unversioned Debian files (#218)
|
||||
* Add hypnotoad service (#217)
|
||||
* Log statistics the old way
|
||||
* Add stress tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 28 08:56:27 UTC 2021 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||
|
||||
- Update to version 1.015:
|
||||
* Add hypnotoad service (#217)
|
||||
* Log statistics the old way
|
||||
* Add stress tests
|
||||
* Add indices on sync_requested and scan_requested to avoid deadlock
|
||||
* Allow hash.mtime differ for up to 1 min
|
||||
* Rework estimation of inactive jobs count
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 21 06:57:03 UTC 2021 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
name: MirrorCache
|
||||
version: 1.014
|
||||
mtime: 1634655073
|
||||
commit: bd31badfdc3b28b2a2d7dadf13346a4a7e06fdac
|
||||
version: 1.016
|
||||
mtime: 1636013805
|
||||
commit: 20f73d6807be22bb1a291d68a3c2f44bce71c393
|
||||
|
||||
|
@ -16,12 +16,13 @@
|
||||
#
|
||||
|
||||
|
||||
%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service mirrorcache-backstage-hashes.service mirrorcache-subtree.service
|
||||
%define mirrorcache_services_restart mirrorcache.service mirrorcache-backstage.service mirrorcache-backstage-hashes.service mirrorcache-subtree.service
|
||||
%define mirrorcache_services %{mirrorcache_services_restart} mirrorcache-hypnotoad.service
|
||||
%define assetpack_requires perl(CSS::Minifier::XS) >= 0.01 perl(JavaScript::Minifier::XS) >= 0.11 perl(Mojolicious::Plugin::AssetPack) >= 1.36 perl(IO::Socket::SSL)
|
||||
%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.014
|
||||
Version: 1.016
|
||||
Release: 0
|
||||
Summary: WebApp to redirect and manage mirrors
|
||||
License: GPL-2.0-or-later
|
||||
@ -56,6 +57,7 @@ Mirror redirector web service, which automatically scans the main server and mir
|
||||
# DEST_DIR={_datadir}
|
||||
mkdir -p %{buildroot}%{_sbindir}
|
||||
ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache
|
||||
ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-hypnotoad
|
||||
ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage
|
||||
ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-backstage-hashes
|
||||
ln -s ../sbin/service %{buildroot}%{_sbindir}/rcmirrorcache-subtree
|
||||
@ -73,12 +75,14 @@ install -D -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
%service_del_preun %{mirrorcache_services}
|
||||
|
||||
%postun
|
||||
%service_del_postun %{mirrorcache_services}
|
||||
%service_del_postun %{mirrorcache_services_restart}
|
||||
%service_del_postun_without_restart mirrorcache-hypnotoad.service
|
||||
|
||||
%files
|
||||
%doc README.asciidoc
|
||||
%license LICENSE
|
||||
%{_sbindir}/rcmirrorcache
|
||||
%{_sbindir}/rcmirrorcache-hypnotoad
|
||||
%{_sbindir}/rcmirrorcache-backstage
|
||||
%{_sbindir}/rcmirrorcache-backstage-hashes
|
||||
%{_sbindir}/rcmirrorcache-subtree
|
||||
@ -89,6 +93,7 @@ install -D -m 0644 %{SOURCE3} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
||||
# init
|
||||
%dir %{_unitdir}
|
||||
%{_unitdir}/mirrorcache.service
|
||||
%{_unitdir}/mirrorcache-hypnotoad.service
|
||||
%{_unitdir}/mirrorcache-backstage.service
|
||||
%{_unitdir}/mirrorcache-backstage-hashes.service
|
||||
%{_unitdir}/mirrorcache-subtree.service
|
||||
|
Loading…
x
Reference in New Issue
Block a user