From b54e6c3e0cfe8d52a57e2844cb537d930fedacc1 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Sat, 10 Jan 2026 17:01:39 +1100 Subject: [PATCH] feat: add fedora index files - ensure files matching xml.zck and xml.zst are marked as index files --- src/artifactapi/cache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/artifactapi/cache.py b/src/artifactapi/cache.py index 6f99bfc..d776bb5 100644 --- a/src/artifactapi/cache.py +++ b/src/artifactapi/cache.py @@ -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: -- 2.47.3