Skip to content

Commit

Permalink
Update repo metadata cache pattern to include zstd
Browse files Browse the repository at this point in the history
Also add missing escape before `.` for zck.
  • Loading branch information
kontura authored and m-blaha committed Jun 16, 2023
1 parent 3e434c8 commit 96b5df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnf/repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# particular type. The filename is expected to not contain the base cachedir
# path components.
CACHE_FILES = {
'metadata': r'^%s\/.*((xml|yaml)(\.gz|\.xz|\.bz2|.zck)?|asc|cachecookie|%s)$' %
'metadata': r'^%s\/.*((xml|yaml)(\.gz|\.xz|\.bz2|\.zck|\.zst)?|asc|cachecookie|%s)$' %
(_CACHEDIR_RE, _MIRRORLIST_FILENAME),
'packages': r'^%s\/%s\/.+rpm$' % (_CACHEDIR_RE, _PACKAGES_RELATIVE_DIR),
'dbcache': r'^.+(solv|solvx)$',
Expand Down

0 comments on commit 96b5df9

Please sign in to comment.