forked from pool/MirrorCache
0.8 2021-06-24
- Add mirrorlist page, reference it in file listing 'Metadata' column; - Do not require /download prefix when MIRRORCACHE_TOP_FOLDERS is configured; - Fix error "time_bad_sig: Return_to signature is not valid." during openid login by setting secret in Mojo app; - Performance improvements in estimating load on background jobs; - Performance improvements in stat calculation; - [ui] Move mirror statistics to folder status form; - Cleanup audit events, add DB index for that; - Tweak job creating metadata (folder_hashes_create); - Schedule scan when main server serves as a mirror; - Improve handling symlinked files in rsync root; - rpm spec improvements. OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=2
This commit is contained in:
parent
9c4f8402dd
commit
d1af4fefe4
@ -1,6 +1,21 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 24 07:25:44 UTC 2021 - Andrii Nikitin <andrii.nikitin@suse.com>
|
||||||
|
|
||||||
|
0.8 2021-06-24
|
||||||
|
- Add mirrorlist page, reference it in file listing 'Metadata' column;
|
||||||
|
- Do not require /download prefix when MIRRORCACHE_TOP_FOLDERS is configured;
|
||||||
|
- Fix error "time_bad_sig: Return_to signature is not valid." during openid login by setting secret in Mojo app;
|
||||||
|
- Performance improvements in estimating load on background jobs;
|
||||||
|
- Performance improvements in stat calculation;
|
||||||
|
- [ui] Move mirror statistics to folder status form;
|
||||||
|
- Cleanup audit events, add DB index for that;
|
||||||
|
- Tweak job creating metadata (folder_hashes_create);
|
||||||
|
- Schedule scan when main server serves as a mirror;
|
||||||
|
- Improve handling symlinked files in rsync root;
|
||||||
|
- rpm spec improvements.
|
||||||
|
|
||||||
|
|
||||||
0.7 2021-06-03
|
0.7 2021-06-03
|
||||||
- [www] Do not let mirrors serve media.1/* files.
|
|
||||||
- [ui] Fix audit log filter by id.
|
|
||||||
- [ui] Change /logout only on POST message, (before it was on GET).
|
- [ui] Change /logout only on POST message, (before it was on GET).
|
||||||
- [ui] Tweak html in file listing.
|
- [ui] Tweak html in file listing.
|
||||||
- [ui] Use natural sort in file listing (case insensitive, foo-9 before foo-10).
|
- [ui] Use natural sort in file listing (case insensitive, foo-9 before foo-10).
|
||||||
@ -8,26 +23,32 @@
|
|||||||
- [internal] (Experimental) new task FolderHashesCreate in new queue hashes to collect files metadata and store in db.
|
- [internal] (Experimental) new task FolderHashesCreate in new queue hashes to collect files metadata and store in db.
|
||||||
- [tests] Switch test containers to leap 15.3
|
- [tests] Switch test containers to leap 15.3
|
||||||
|
|
||||||
|
|
||||||
0.6 2021-05-27
|
0.6 2021-05-27
|
||||||
- an audit logs page for admins
|
- an audit logs page for admins
|
||||||
- new config MIRRORCACHE_AUTH_URL, fake auth for testing
|
- new config MIRRORCACHE_AUTH_URL, fake auth for testing
|
||||||
- new permanent job mirror_check_from_stat
|
- new permanent job mirror_check_from_stat
|
||||||
- tests: switch to new reworked environ framework
|
- tests: switch to new reworked environ framework
|
||||||
|
|
||||||
|
|
||||||
0.5 2021-04-30
|
0.5 2021-04-30
|
||||||
- Obsolete MIRRORCACHE_FALLBACK_REDIRECT in favor of MIRRORCACHE_REDIRECT
|
- Obsolete MIRRORCACHE_FALLBACK_REDIRECT in favor of MIRRORCACHE_REDIRECT
|
||||||
- Adjust github address to openSUSE
|
- Adjust github address to openSUSE
|
||||||
|
|
||||||
|
|
||||||
0.4 2021-04-29
|
0.4 2021-04-29
|
||||||
- Collect file size from origin if nginx with indexing
|
- Collect file size from origin if nginx with indexing
|
||||||
- Add favicon and initial version of logo
|
- Add favicon and initial version of logo
|
||||||
|
|
||||||
|
|
||||||
0.3 2021-04-24
|
0.3 2021-04-24
|
||||||
- Remove column db_sync_for_country from /app/folder
|
- Remove column db_sync_for_country from /app/folder
|
||||||
|
|
||||||
|
|
||||||
0.2 2021-04-22
|
0.2 2021-04-22
|
||||||
- Add table 'demand' for tracking mirror scans per country
|
- Add table 'demand' for tracking mirror scans per country
|
||||||
|
|
||||||
|
|
||||||
0.1 2021-04-21
|
0.1 2021-04-21
|
||||||
- Start of change log
|
- Start of change log
|
||||||
- Add automatic deployment of DB
|
- Add automatic deployment of DB
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e5c2604004cfb06646c6c3e21e9752ad4d6c9c6193cd37a0fefd22ccaa44997a
|
|
||||||
size 586252
|
|
3
_service:obs_scm:MirrorCache-0.8.obscpio
Normal file
3
_service:obs_scm:MirrorCache-0.8.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:6b817cca2dd3e0848565bd8dc65a768cee87aa699d6e3b0c9822fda719e345b0
|
||||||
|
size 605708
|
@ -1,5 +1,5 @@
|
|||||||
name: MirrorCache
|
name: MirrorCache
|
||||||
version: 0.7
|
version: 0.8
|
||||||
mtime: 1622711375
|
mtime: 1624515759
|
||||||
commit: 599699dcc3615e0b369a65822c936a6340148711
|
commit: 66071d3fcc240cbbae6f79f0e8639a4a153df5b0
|
||||||
|
|
||||||
|
@ -12,12 +12,14 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service
|
%define mirrorcache_services mirrorcache.service mirrorcache-backstage.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 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(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::Naturally) perl(URI::Encode) 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 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::Naturally) 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
|
%define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools
|
||||||
|
|
||||||
Name: MirrorCache
|
Name: MirrorCache
|
||||||
Version: 0.1
|
Version: 0.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -26,13 +28,13 @@ License: GPL-2.0-or-later
|
|||||||
Group: Productivity/Networking/Web/Servers
|
Group: Productivity/Networking/Web/Servers
|
||||||
URL: https://github.com/openSUSE/MirrorCache
|
URL: https://github.com/openSUSE/MirrorCache
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: %build_requires
|
|
||||||
Source1: %{name}-user.conf
|
Source1: %{name}-user.conf
|
||||||
Source2: %{name}-tmpfilesd.conf
|
Source2: %{name}-tmpfilesd.conf
|
||||||
Requires: perl(Minion) >= 10.0
|
BuildRequires: %{build_requires}
|
||||||
Requires: %{main_requires}
|
Requires: %{main_requires}
|
||||||
|
Requires: perl(Minion) >= 10.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%{sysusers_requires}
|
%sysusers_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Mirror redirector web service, which automatically scans the main server and mirrors
|
Mirror redirector web service, which automatically scans the main server and mirrors
|
||||||
@ -70,6 +72,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.asciidoc
|
%doc README.asciidoc
|
||||||
|
%license LICENSE
|
||||||
%{_sbindir}/rcmirrorcache
|
%{_sbindir}/rcmirrorcache
|
||||||
%{_sbindir}/rcmirrorcache-backstage
|
%{_sbindir}/rcmirrorcache-backstage
|
||||||
%{_sysusersdir}/%{name}.conf
|
%{_sysusersdir}/%{name}.conf
|
||||||
|
@ -12,27 +12,29 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
%define mirrorcache_services mirrorcache.service mirrorcache-backstage.service
|
%define mirrorcache_services mirrorcache.service mirrorcache-backstage.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 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(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::Naturally) perl(URI::Encode) 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 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::Naturally) 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
|
%define build_requires %{assetpack_requires} rubygem(sass) tidy sysuser-shadow sysuser-tools
|
||||||
|
|
||||||
Name: MirrorCache
|
Name: MirrorCache
|
||||||
Version: 0.7
|
Version: 0.8
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WebApp to redirect and manage mirrors
|
Summary: WebApp to redirect and manage mirrors
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Networking/Web/Servers
|
Group: Productivity/Networking/Web/Servers
|
||||||
URL: https://github.com/openSUSE/MirrorCache
|
URL: https://github.com/openSUSE/MirrorCache
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
BuildRequires: %build_requires
|
|
||||||
Source1: %{name}-user.conf
|
Source1: %{name}-user.conf
|
||||||
Source2: %{name}-tmpfilesd.conf
|
Source2: %{name}-tmpfilesd.conf
|
||||||
Requires: perl(Minion) >= 10.0
|
BuildRequires: %{build_requires}
|
||||||
Requires: %{main_requires}
|
Requires: %{main_requires}
|
||||||
|
Requires: perl(Minion) >= 10.0
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%{sysusers_requires}
|
%sysusers_requires
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Mirror redirector web service, which automatically scans the main server and mirrors
|
Mirror redirector web service, which automatically scans the main server and mirrors
|
||||||
@ -70,6 +72,7 @@ install -D -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{name}.conf
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.asciidoc
|
%doc README.asciidoc
|
||||||
|
%license LICENSE
|
||||||
%{_sbindir}/rcmirrorcache
|
%{_sbindir}/rcmirrorcache
|
||||||
%{_sbindir}/rcmirrorcache-backstage
|
%{_sbindir}/rcmirrorcache-backstage
|
||||||
%{_sysusersdir}/%{name}.conf
|
%{_sysusersdir}/%{name}.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user