feat: add fedora index files

- ensure files matching xml.zck and xml.zst are marked as index files
This commit is contained in:
Ben Vincent 2026-01-10 17:01:39 +11:00
parent 79a8553e9c
commit b54e6c3e0c

View File

@ -24,7 +24,7 @@ class RedisCache:
or file_path.endswith("Packages.gz")
or file_path.endswith("repomd.xml")
or "repodata/" in file_path
and file_path.endswith((".xml", ".xml.gz", ".xml.bz2", ".xml.xz"))
and file_path.endswith((".xml", ".xml.gz", ".xml.bz2", ".xml.xz", ".xml.zck", ".xml.zst"))
)
def get_index_cache_key(self, remote_name: str, path: str) -> str: