Commit Graph

166 Commits

Author SHA256 Message Date
Ana Guerrero
9dafcc94ed Accepting request 1238233 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1238233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=49
2025-01-16 17:34:36 +00:00
Andrii Nikitin
52bc1465aa - Update to version 1.090:
* Add job to aggregate package download count (#552)
  * Handle APKINDEX.tar.gz (alpine repository index) as well (#554)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=123
2025-01-09 11:14:56 +00:00
Dominique Leuenberger
8cf85627b8 Accepting request 1232817 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1232817
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=48
2024-12-20 14:28:37 +00:00
Andrii Nikitin
b07ac1f302 - Update to version 1.089:
* Fix presense in header x-media-version when empty (#548)
  * Add /app/efficiency reporting cache hit rate (#547)
  * Do not verify redirects of unversioned files on HEAD requests (#546)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=122
2024-12-13 11:33:23 +00:00
Ana Guerrero
5bc5066391 Accepting request 1229474 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1229474
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=47
2024-12-10 22:43:23 +00:00
ca276bea6d - Update assets cache and improve update-cache.sh script
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=121
2024-12-02 18:39:39 +00:00
Andrii Nikitin
697ba36d6c - Update to version 1.088:
* Add parameter strict to /app/package
  * Use urandom for random_string
  * backstage: properly close DB connections in minion jobs
  * systemd: for background services LOG_LEVEL=error and MemoryMax
  * ci: Bump mariadb experimental version to 11.7

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=120
2024-11-28 14:30:46 +00:00
Andrii Nikitin
ae090b2367 - Update to version 1.087:
* Fix enormous query retrieving existing packages (#536)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=119
2024-11-23 12:11:43 +00:00
Andrii Nikitin
2f005f0e78 - Update to version 1.086:
* Extra filters to /app/package (#535)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=118
2024-11-22 09:47:12 +00:00
Andrii Nikitin
7e0fda1ed2 - Update to version 1.085:
* Add /app/package (#534)
  * Make sure services are started in setup.md

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=117
2024-11-21 10:38:58 +00:00
Ana Guerrero
9fcf08dc83 Accepting request 1221702 from openSUSE:infrastructure:MirrorCache
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1221702
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=46
2024-11-06 15:56:20 +00:00
Andrii Nikitin
ac541b88e3 - Update to version 1.084:
* systemd: MOJO_TMPDIR=/var/lib/mirrorcache/tmp
  * Smart handle of local symlinks

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=116
2024-11-06 08:46:20 +00:00
Andrii Nikitin
ab35751675 - Update to version 1.083:
* Escape regex in browse.html.ep (#527)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=115
2024-10-25 15:03:28 +00:00
Andrii Nikitin
58f2025a4f - Update to version 1.082:
* Redirect all local symlinks
  * Detect only symlinks with specific name during remote scan
  * fix encoding in the mirrors report when using MariaDB
  * systemd: configure MOJO_TMP_DIR=/tmp/mirrorcache
  * Set permission 750 to /etc/mirrorcache

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=114
2024-10-24 10:27:14 +00:00
Dominique Leuenberger
926bf847a3 Accepting request 1194279 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1194279
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=45
2024-08-16 12:41:15 +00:00
Dominique Leuenberger
d982e64edd Accepting request 1192563 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1192563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=44
2024-08-09 14:14:42 +00:00
Andrii Nikitin
cefeb0053c Added missing MirrorCache-1.081.obscpio
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=113
2024-08-09 10:04:16 +00:00
Andrii Nikitin
649f9247cf - Update to version 1.081:
* Add /rest/project_disk_usage route (#510)
  * fix redirect of unversioned files when accept has zsync (#509)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=112
2024-08-09 09:50:06 +00:00
Dominique Leuenberger
a8fd44172b Accepting request 1190907 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1190907
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=43
2024-08-01 20:05:36 +00:00
Andrii Nikitin
b93daa9880 - Update to version 1.080:
* Add /rest/project_last_modified route (#506)
  * Display project size in human friendly format (#503)
  * Add flag mysql_enable_utf8mb4 when connectin to MariaDB (#505)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=111
2024-08-01 09:01:19 +00:00
Andrii Nikitin
e339aa1927 - Update to version 1.079:
* Show size of projects (#502)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=110
2024-07-25 07:42:43 +00:00
Andrii Nikitin
a6470bd6e8 - Update to version 1.078:
* Respect If-Modified-Since header (#501)
  * Add content-disposition header in torrent responses (#497)
  * Reuse file extention instead of url parameter in redirects (#497)
  * Allow caches to serve files while re-checking (#492)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=109
2024-07-18 08:27:19 +00:00
Ana Guerrero
a49c45ec26 Accepting request 1183530 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1183530
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=42
2024-06-27 14:04:26 +00:00
Andrii Nikitin
2050dbe48f - Update to version 1.077:
* UI fix db sync timezone (#487)
  * tmpfiles: Let working and run directories be always created (#488)
  * Switch CI to 15.6 (#489)
  * Fix doubleslash in mirrors report (#490)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=108
2024-06-20 05:48:45 +00:00
Ana Guerrero
17e8055ce0 Accepting request 1177381 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1177381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=41
2024-05-29 17:35:55 +00:00
Andrii Nikitin
aba21ae7d8 Remove exclamation mark from MirrorCache-tmpfilesd.conf
OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=107
2024-05-21 15:26:22 +00:00
Andrii Nikitin
7452443d34 - Update to version 1.076:
* Fix duplicate values in x-media-version response header
  * ci: Temporarily disable systemd tests

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=106
2024-05-21 14:21:11 +00:00
Andrii Nikitin
9c79f06b0e - Update to version 1.075:
* Add url parameters for report/download
  * ui: User friendly status of DB sync for a directory
  * Add Etag and X-MEDIA-VERSION for folders
  * Add response header X-MEDIA-VERSION
  * Add Etag when rendering files
  * Prioritize scanning of projects
  * Make VPN_PREFIX a list
  * Add WorkingDir to the subtree.service
  * Add config for mojo tmpfiles
  * fix redirect for mirrorlist parameter for zsync files

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=105
2024-05-21 11:04:30 +00:00
Ana Guerrero
15379d2e02 Accepting request 1166836 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1166836
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=40
2024-04-11 17:41:49 +00:00
Andrii Nikitin
748f0bc1fb - Update to version 1.074:
* Rework mirrors report generation
  * fix files mtime descrepancy when syncing over http
  * Fix metalink for small files
  * fix serving linked folders when dest changes

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=104
2024-04-04 10:35:40 +00:00
Ana Guerrero
0752c67cbb Accepting request 1158050 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1158050
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=39
2024-03-15 19:30:26 +00:00
Dominique Leuenberger
40c8ea0201 Accepting request 1155881 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1155881
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=38
2024-03-07 17:30:52 +00:00
Andrii Nikitin
d044e19590 - Update to version 1.073:
* Track mirror propagation using time of job
  * Add project propagation details /app/server_rollout/:version
  * Do not show projects with negative priority
  * Show only relevant mirrors in /report/mirrors/:proj
  * fix .mirrorlist doesnt always work for repomd.xml
  * ui: add prio column to /app/project

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=103
2024-03-07 15:23:27 +00:00
Andrii Nikitin
dbaf6f6c38 - Update to version 1.072:
* ui: add /app/project/:id with propagation
  * Rework rollout to include subfolders in repo projects

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=102
2024-02-29 11:36:54 +00:00
Ana Guerrero
12d8af6bd8 Accepting request 1146794 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1146794
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=37
2024-02-15 20:01:22 +00:00
Andrii Nikitin
9b317d6e9b - Update to version 1.071:
* Add rollout tracking for iso and repo projects (#451)
  * Allow redirects in MirrorFileCheck task (#450)
  * Add timeout for hashes import job (#449)
  * Adjust regex for folder mirrorlist (#449)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=101
2024-02-08 10:09:58 +00:00
Ana Guerrero
34984a2768 Accepting request 1133015 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1133015
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=36
2023-12-15 20:47:39 +00:00
Andrii Nikitin
af910c5fbd - Update to version 1.070:
* ui: Show health on mirror card (#439)
  * fix capabilities sometimes not shown in /report/mirrors (#438)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=100
2023-12-07 09:02:42 +00:00
Andrii Nikitin
f329540c83 - Update to version 1.069:
* t: Adjust location of environ/mc/db links (#437)
  * t: Make 09-stability-02 more robust (#437)
  * t: Bump MariaDB experimental version (#437)
  * t: Switch environ to package from github repo (#437)
  * Add generation time to /report/mirrors (#436)
  * Remove postgres replication support (#435)
  * fix: mirrors with capability declaraion might disappear in /rest/server (#434)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=99
2023-11-30 09:49:10 +00:00
Ana Guerrero
e5a8ce3e2f Accepting request 1128381 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1128381
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=35
2023-11-23 20:42:41 +00:00
Andrii Nikitin
b82584c6e7 - Update to version 1.068:
* Add diagnostic job for checking presence of a file on mirrors
  * Adjust switch Digest::Zsync to separate package
  * Update regexps to handle zchunk, zstd and sha512
  * Improve link detection in the same folder
  * Add a Vary Fastly-SSL

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=98
2023-11-16 16:57:49 +00:00
Ana Guerrero
17648e744e Accepting request 1122191 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1122191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=34
2023-11-02 19:22:14 +00:00
Andrii Nikitin
e414728667 - Update to version 1.067:
* fix handling combinations of metalink / zsync / mirrorlist / symlinks (#421)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=97
2023-10-26 07:58:17 +00:00
Andrii Nikitin
172a11b584 - Update to version 1.066:
* Centalized mirror management (#417)
  * Fix surepfluous .zsync in symlink redirect (#419)
  * t: Move container tests to from leap 15.4 to 15.5

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=96
2023-10-19 11:39:18 +00:00
Ana Guerrero
c73ed17c24 Accepting request 1115804 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1115804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=33
2023-10-05 18:05:11 +00:00
Andrii Nikitin
e84e4462af - Update to version 1.065:
* ui: Use https when applicable on mirrors report (#411)
  * ui: Show country flag in mirror report (#411)
  * ui: Tweak mirrors report (#411)
  * ui: Remove tidy warnings from openSUSE branding (#411)
  * ui: Add mirror details page (#411)
  * Remove dark theme css code for Mirrors page (#408)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=95
2023-09-28 10:15:48 +00:00
Ana Guerrero
f295319882 Accepting request 1112699 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1112699
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=32
2023-09-21 20:22:49 +00:00
Andrii Nikitin
6daf7439b5 - Update to version 1.064:
* Remove must-revalidate from cache-control (#407)
  * Add handling x-metalink-limit request header (#407)
  * Add handling x-country-code request header (#407)
  * Fix escaping in regexps (#406)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=94
2023-09-14 06:52:03 +00:00
Ana Guerrero
a2805b3aff Accepting request 1109455 from openSUSE:infrastructure:MirrorCache
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1109455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/MirrorCache?expand=0&rev=31
2023-09-07 19:13:40 +00:00
Andrii Nikitin
be989f4476 - Update to version 1.063:
* Add cache-control options (#404)

OBS-URL: https://build.opensuse.org/package/show/openSUSE:infrastructure:MirrorCache/MirrorCache?expand=0&rev=93
2023-08-31 07:38:01 +00:00