SHA256
1
0
forked from pool/MirrorCache

55 Commits

Author SHA256 Message Date
Andrii Nikitin
6617741569 - Update to version 1.050:
* Show description of top level folders for openSUSE ()
  * Do not access DB in local render for / ()
  * Improve layout for small screen size ()
  * Implement realpath for remote root with nfs ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=80
2022-12-22 10:17:30 +00:00
Andrii Nikitin
ce7dfbc06f - Update to version 1.049:
* Unify display of current path in /browse /download and .mirrorlist ()
  * Show only hostname in mirrorlist url ()
  * Set content-type for zsync ()
  * Discover folders using realpath ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=79
2022-12-15 12:29:24 +00:00
Andrii Nikitin
dfcd809ce2 - Update to version 1.048:
* Fix sorting by size in /report/download ()
  * Change page size in /report/download ()
  * Improve sorting in /browse ()
  * Fix map icon not shown properly in .mirrorlist ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=76
2022-11-24 13:09:14 +00:00
Andrii Nikitin
c467f6b4d3 - Update to version 1.047:
* Add /browse route to navigate folders with ajax ()
  * Render TOP_FOLDER with /browse if browser ()
  * Add ajax table for the one dimension download reports ()
  * Cleanup stat older than STAT_KEEP_DAYS (8) ()
  * Fix db password from ini file wasnt taken in all places ()
  * Add option for enabling Mojo Status Plugin ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=75
2022-11-24 10:24:51 +00:00
Andrii Nikitin
143e3f947a - Update to version 1.046:
* Correctly render mirrorlist in browser when file is unknown
  * Allow rendering .zsync files
  * Render selected mirrors with osm in .mirrorlist

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=74
2022-11-17 06:26:18 +00:00
Andrii Nikitin
7df6ec6f4f - Add temporary patch for default database name
* 0001-Default-db-name.patch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=73
2022-11-11 10:54:30 +00:00
Andrii Nikitin
e309fc0538 - Update to version 1.045:
* Add basic support for config from ini file ()
  * Drop support for rsync in MIRRORCACHE_ROOT ()
  * Allow html tags in CUSTOM_FOOTER_MESSAGE ()
  * Fix os version in report generation on mariadb ()
  * Fix zsync file generation missing empty line after header ()
  * Fix download report including stats only from begin of hour ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=72
2022-11-11 09:58:01 +00:00
Andrii Nikitin
2ece8c20bf - Update to version 1.044:
* Move minion stats to unauthenticated route ()
  * Fix occasional duplicate error in agg_download ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=71
2022-10-27 13:19:56 +00:00
Andrii Nikitin
d2eae4b8e1 - Update to version 1.043:
* Add backend for download size reports ()
  * Add mirrors to zsync response ()
  * Prefer zsync over metalink responses ()
  * Avoid race condition when new files are discovered while mirrors are scanned ()
  * Fix generation of zsync hashes for big files ()
  * t: add manual test for local folder ()
  * Retry hashes import if a new file hasnt got any ()
  * Add trailing slash for top folders () - bmwiedermann

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=70
2022-10-27 09:38:58 +00:00
1d127b6967 Mention removing patch in changelog
0001-Avoid-by-and-ru-mrrors-for-ua-requests.patch

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=69
2022-10-06 13:09:58 +00:00
Andrii Nikitin
d4b1171146 - Update to version 1.042:
* Add support for metalink4 format ()
  * Add url parameter IP to simulate geo experience ()
  * t: Fix CI after changes in async rendering in Mojo ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=68
2022-09-29 09:48:37 +00:00
Andrii Nikitin
106649f62a - Update to version 1.041:
* Fix metalink missing 'verification' tag ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=67
2022-09-27 11:45:59 +00:00
Andrii Nikitin
fb78b5d534 - Update to version 1.040:
* Add parameter METALINK_GREEDY ()
  * Optimization: assume package managers never want to render dir ()
  * Fix mirror picked despite disabled in server_project table ()
  * Avoid by and ru mirrors for ua requests ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=66
2022-09-22 14:45:32 +00:00
5c3cdecea6 Update assets cache
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=64
2022-09-01 14:29:36 +00:00
5a19e0e52a Add temporary patch to avoid by and ru mirrors for ua requests
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=63
2022-09-01 14:12:03 +00:00
Andrii Nikitin
c58dc80107 - Update to version 1.039:
* Fix editing columns with underscore in /app ()
  * Fix mirror report links in header ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=62
2022-08-26 13:21:03 +00:00
Andrii Nikitin
0693e331f6 - Update to version 1.038:
* Control order of projects in mirrors report ()
  * Include subsidiary url into region in /report/mirrors ()
  * Add mirror report links to header in openSUSE template ()
  * Add operator to mirrors report ()
  * Add column sponsor to server table ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=61
2022-08-24 08:19:08 +00:00
Andrii Nikitin
f8c8f4090d - Update to version 1.037:
* Add configuration for redirect for projects ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=60
2022-08-11 15:11:25 +00:00
Andrii Nikitin
9e9160797d - Update to version 1.036:
* Fix mirrors report when missing folders ()
 * Tweak systemd files ()
 * Rework mirrors report ()
 * Rescan if no country hit ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=59
2022-08-05 12:17:04 +00:00
Andrii Nikitin
5b41eed05f - Update to version 1.035:
* Add project checkboxes to mirror report ()
  * Collect report from subsidiaries ()
  * Fix incorrect path in metalink for origin file ()
  * Add config CUSTOM_FOOTER_MESSAGE ()
  * CircleCI: ignore gh-pages branch ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=58
2022-06-23 05:00:10 +00:00
Andrii Nikitin
42fa8b9b1f - Update to version 1.034:
* Provide torrent ()
  * Add report for projects on mirrors ()
  * Fix render when metalink is optional ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=57
2022-06-07 09:09:07 +00:00
Andrii Nikitin
cb2eabf31f - Update to version 1.033:
* Add various patterns for files for which mirrors shouldnt be used ()
  * Fix regexp in latest_misses sql so *-primary.xml wasnt requesting scans ()
  * Add MyMirrors menu to openSUSE branding ()
  * Introduce MIRRORCACHE_VPN variable which has higher priority thant MIRRORCACHE_VPN_PREFIX ()
  * Allow regular users add and manage own mirrors ()
  * Add parameter MIRRORCACHE_MAX_PATH ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=56
2022-05-19 07:18:25 +00:00
Andrii Nikitin
b3e0bceb50 - Update to version 1.032:
* Set MIME type when rendering files ()
  * Optimize main sql query so it doesnt create tmp disk tables in mariadb ()
  * Force sql plan in job mirror_check_from_stat for mariadb ()
  * Add shared guard to schedule jobs to avoid deadlocks in DB ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=55
2022-05-12 07:33:36 +00:00
Andrii Nikitin
63c68bc0d7 - Update to version 1.031:
* Do not search mirrors for small files with local root ()
  * Improve detection of https behind proxy ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=54
2022-05-05 02:00:13 +00:00
Andrii Nikitin
bcf25a21a8 - Update to version 1.030:
* Local publisher origin in metalink ()
  * Ignore work requested by rclone ()
  * Use random mirror for unknown countries ()
  * Collect statistics for bot activity ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=53
2022-04-28 04:56:09 +00:00
Andrii Nikitin
e79c1b3ff6 - Update to version 1.029:
* Add support for MariaDB ()
  * Fix occasional SQL error when mirrorlist for unknown country ()
  * Fix scheduling folder scan if were not accessed for more than month ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=51
2022-04-21 01:44:36 +00:00
Andrii Nikitin
855d54f6bc - Update to version 1.028:
* Introduce in-application load balancing read queries to DB replica ()
  * Fix bigint DB error when inserting hash for big files ()
  * Move initialization code from before_server_start to execute earlier ()
  * t: Fix unstable test 03-headquarter-subsidiaries-weight1 by correcting expected values ()
  * spec: Fix renamed README in the spec file ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=50
2022-03-30 15:16:47 +00:00
Andrii Nikitin
159079aaeb - Update to version 1.027:
* Fix auto-disabled mirrors may be still used for redirection ()
  * Increase logging level for timeouts in PEDANTIC mode ()
  * Serve CentOS repodata from root only ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=49
2022-03-16 16:44:42 +00:00
Andrii Nikitin
929dc64401 - Update to version 1.026:
* Fix message for unknown folder render timeout ()
  * Support single-country subsidiaries ()
  * Add table server_stability ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=48
2022-03-09 12:44:57 +00:00
Andrii Nikitin
b2adbb19cf - Update to version 1.025:
* Allow headquarter be in HA subsidiary handling ()
  * Stat log after render ()
  * Add SMALL_FILE_SIZE to serve small files directly from ROOT_NFS ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=46
2022-02-10 11:30:38 +00:00
Andrii Nikitin
d26c5ebca6 - Update to version 1.024:
* Allow multiple subsidiaries per region ()
  * Add internal timeouts for mirror checks and rendering (, )

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=44
2022-02-03 09:28:27 +00:00
Andrii Nikitin
29cb4dfe09 - Update to version 1.023:
* Add execution_time to stat table ()
  * Publish docs with mkdocs and github actions ()
  * Local render when ROOT_NFS ()
  * Add support for zsync hashes ()
  * Do not use app->static for rendering ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=42
2022-01-20 07:47:23 +00:00
Andrii Nikitin
b514c4f355 - Update to version 1.022:
* Add experimental route geoip to rewrite baseurl in .repo ()
  * Set MirrorCache useragent for scan jobs ()
  * Add RestartSec to backstage systemd files ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=41
2021-12-16 07:16:59 +00:00
Andrii Nikitin
eac3442245 - Update to version 1.021:
* Handle timeouts in mirror_probe_projects ()
  * Track projects on mirrors and do skip scans accordingly ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=40
2021-12-12 13:12:05 +00:00
Andrii Nikitin
845198addb - Update to version 1.020:
* Do not try to find mirror outside region when ROOT_COUNTRY is set ()
  * Special handling unversioned media symlinks ()
  * Import hash create folder ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=39
2021-12-09 06:28:59 +00:00
Andrii Nikitin
cec1223bfe - Update to version 1.019:
* Optimize sql for selecting mirror misses ()
  * Import hashes ()
  * Fix mirrorlist for subsidiary when in the same db with headquarter ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=38
2021-12-02 05:34:54 +00:00
Andrii Nikitin
9dd58ae67e - Update to version 1.018:
* Fix occasional 404 on subtree mirrorlist
  * Fix not selecting mirrors for unknown country
  * Let Task MirrorProbe work without GeoIP database

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=37
2021-11-25 08:58:15 +00:00
Andrii Nikitin
bb5ef9b455 - Update to version 1.017:
* Find mirror from rest of world
  * Add manual test for subsidiaries

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=36
2021-11-11 09:52:18 +00:00
Andrii Nikitin
6562d15a3e - Update to version 1.016:
* Add script for manual testing download.o.o
  * Add route /rest/scan_tree
  * Add job for recursive scan ()
  * Introduce variable MIRRORCACHE_TRUST_ADDR ()
  * Add BACKSTAGE_WORKERS parameter to scripts ()
  * Fix automatic mirror capability management when two capabilities are disabled for the same mirror ()
  * Dont try to find mirror for unversioned Debian files ()

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=35
2021-11-04 08:23:29 +00:00
Andrii Nikitin
de09c79261 - Update to version 1.015:
* Add hypnotoad service ()
  * 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

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=34
2021-10-28 09:01:14 +00:00
e22a78ff9c OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=29 2021-10-21 08:25:07 +00:00
Andrii Nikitin
b2e1bf3daa - Update to version 1.012:
* Rework mirror scan ()
  * Fix root redirect in subtree mirrorlist
  * Show only folders from TOP_FOLDERS variable if defined
  * Fix detecting vpn when ipv6 is enabled

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=27
2021-10-14 10:21:47 +00:00
Andrii Nikitin
305849464a - Update to version 1.011:
* Improve openSUSE theme
  * Fix sql error when mirror has no files
  * Introduce hasall mirror capability
  * Change behavior filtering mirrors based on supported IP version
  * Fix mirrorlist for the same region
  * Schedule scan even when Geo for IP is not detected
  * Improve detection of ipv4
  * Fix syntax error after perl upgrade
  * Properly redirect for symlinks in subtree

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=26
2021-10-07 07:04:17 +00:00
bdf128673f Update changes entry: removed duplicates and improved wording
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=23
2021-09-30 13:15:11 +00:00
Andrii Nikitin
858afb78d7 - Update to version 1.010:
* Add openSUSE design theme
  * Fix parantheses placement, remove unneeded param
  * Create service symlink rcmirrorcache-subtree
  * Fix subtree to work with symlinks
  * dist: package mirrorcache-subtree.service ()
  * Add proper handling of local symlinks
  * Erase info about folder on a mirror if it cannot be accessed
  * Always render files from disk for local root
  * Add MIRRORCACHE_PROXY_URL variable
  * Add subtree feature

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=21
2021-09-30 07:50:06 +00:00
aa1945c906 - Update to version 1.009:
* Add proper handling of local symlinks
  * Erase info about folder on a mirror if it cannot be accessed

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=19
2021-09-23 07:35:32 +00:00
Andrii Nikitin
f9006fd2e1 Accepting request 919463 from home:eroca:MirrorCache2
- Update to version 1.008
- Improve packaging, the conf.env is now in /etc/mirrorcache/
  * Add script to generate and update cache.tar.xz

OBS-URL: https://build.opensuse.org/request/show/919463
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=18
2021-09-16 08:52:52 +00:00
7818415768 Accepting request 918012 from home:eroca:MirrorCache
- Update to version 1.007

- Remove 0001-Fix-one-more-typo-179.patch - included in 1.007

OBS-URL: https://build.opensuse.org/request/show/918012
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=16
2021-09-14 09:53:03 +00:00
36f728d411 - add 0001-Fix-one-more-typo-179.patch
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=13
2021-08-16 12:59:50 +00:00
edc5e22392 Accepting request 911818 from home:eroca:branches:MirrorCache
* Switch to manual in _service for the sources (to be able to submit to factory)
* Add changesgenerate service so that `osc service manualrun`
  - gets new sources, extracts everything from dist/rpm
  - create a changes file entry (still needs to be checked as it puts changes from previous releases)
* Add complete changelog

OBS-URL: https://build.opensuse.org/request/show/911818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=12
2021-08-12 12:43:25 +00:00