From 03a7e993c8c205f9370688f381e31863068dd5e1a6c7ecdcf1b75e63ee862c67 Mon Sep 17 00:00:00 2001 From: Andrii Nikitin Date: Thu, 1 Jul 2021 05:42:36 +0000 Subject: [PATCH] 0.9 2021-07-01 - ui: Add branding capability and footer info - ui: Render landing page if MIRRORCACHE_TOP_FOLDERS is set - Truncate country code to two letters - Log trailing slash in stat - Fix double stats when no mirror in country - t: Replace repo in docker to openSUSE:infrastructure - salt: switch test to use 15.3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=3 --- MirrorCache.changes | 45 ------------------- _service:obs_scm:MirrorCache-0.8.obscpio | 3 -- _service:obs_scm:MirrorCache-0.9.obscpio | 3 ++ _service:obs_scm:MirrorCache.obsinfo | 6 +-- _service:set_version:obs_scm:MirrorCache.spec | 2 +- 5 files changed, 7 insertions(+), 52 deletions(-) delete mode 100644 _service:obs_scm:MirrorCache-0.8.obscpio create mode 100644 _service:obs_scm:MirrorCache-0.9.obscpio diff --git a/MirrorCache.changes b/MirrorCache.changes index 47e10a5..0ea0954 100644 --- a/MirrorCache.changes +++ b/MirrorCache.changes @@ -1,54 +1,9 @@ -------------------------------------------------------------------- -Thu Jun 24 07:25:44 UTC 2021 - Andrii Nikitin - -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 - - [ui] Change /logout only on POST message, (before it was on GET). - - [ui] Tweak html in file listing. - - [ui] Use natural sort in file listing (case insensitive, foo-9 before foo-10). - - [internal] Significantly reduce time of guards inside some permanent tasks. - - [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 - - -0.6 2021-05-27 - - an audit logs page for admins - - new config MIRRORCACHE_AUTH_URL, fake auth for testing - - new permanent job mirror_check_from_stat - - tests: switch to new reworked environ framework - - -0.5 2021-04-30 - - Obsolete MIRRORCACHE_FALLBACK_REDIRECT in favor of MIRRORCACHE_REDIRECT - - Adjust github address to openSUSE - - -0.4 2021-04-29 - - Collect file size from origin if nginx with indexing - - Add favicon and initial version of logo - - 0.3 2021-04-24 - Remove column db_sync_for_country from /app/folder - 0.2 2021-04-22 - Add table 'demand' for tracking mirror scans per country - 0.1 2021-04-21 - Start of change log - Add automatic deployment of DB diff --git a/_service:obs_scm:MirrorCache-0.8.obscpio b/_service:obs_scm:MirrorCache-0.8.obscpio deleted file mode 100644 index 3eb5445..0000000 --- a/_service:obs_scm:MirrorCache-0.8.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b817cca2dd3e0848565bd8dc65a768cee87aa699d6e3b0c9822fda719e345b0 -size 605708 diff --git a/_service:obs_scm:MirrorCache-0.9.obscpio b/_service:obs_scm:MirrorCache-0.9.obscpio new file mode 100644 index 0000000..7fd9c6b --- /dev/null +++ b/_service:obs_scm:MirrorCache-0.9.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:870dd8a534c239a052790b0bfbd889eb5b936f2e42d7eb4aedf21ea1c43db9a4 +size 626700 diff --git a/_service:obs_scm:MirrorCache.obsinfo b/_service:obs_scm:MirrorCache.obsinfo index 63ecc83..c28ea89 100644 --- a/_service:obs_scm:MirrorCache.obsinfo +++ b/_service:obs_scm:MirrorCache.obsinfo @@ -1,5 +1,5 @@ name: MirrorCache -version: 0.8 -mtime: 1624515759 -commit: 66071d3fcc240cbbae6f79f0e8639a4a153df5b0 +version: 0.9 +mtime: 1625060597 +commit: 2331086c2cfde4f9374aae55aa2fac540033e939 diff --git a/_service:set_version:obs_scm:MirrorCache.spec b/_service:set_version:obs_scm:MirrorCache.spec index ac0eef2..1be4dd3 100644 --- a/_service:set_version:obs_scm:MirrorCache.spec +++ b/_service:set_version:obs_scm:MirrorCache.spec @@ -21,7 +21,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::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 Name: MirrorCache -Version: 0.8 +Version: 0.9 Release: 0 Summary: WebApp to redirect and manage mirrors License: GPL-2.0-or-later