Merge pull request 'feat: add fedora index files' (#3) from benvin/fedora_indexes into master

Reviewed-on: #3
This commit is contained in:
Ben Vincent 2026-01-10 17:02:58 +11:00
commit f40675f3d2

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: