You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by ar...@apache.org on 2026/05/11 12:44:19 UTC

(tooling-trusted-releases) 07/07: #1177 - add bz2 and xz to archive types

This is an automated email from the ASF dual-hosted git repository.

alitheg pushed a commit to branch arm
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit e4e2bebffd8af3f76aeccf8837664f2f076249a6
Author: Alastair McFarlane <ar...@apache.org>
AuthorDate: Mon May 11 13:43:28 2026 +0100

    #1177 - add bz2 and xz to archive types
---
 atr/detection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/atr/detection.py b/atr/detection.py
index 2ae65415..7fc99071 100644
--- a/atr/detection.py
+++ b/atr/detection.py
@@ -24,7 +24,7 @@ import atr.models.attestable as models
 import atr.models.safe as safe
 
 # TODO: Widen the range of types checked here
-QUARANTINE_ARCHIVE_SUFFIXES: Final[tuple[str, ...]] = (".tar.gz", ".tgz", ".zip")
+QUARANTINE_ARCHIVE_SUFFIXES: Final[tuple[str, ...]] = (".tar.gz", ".tgz", ".zip", ".bz2", ".xz")
 
 _BZIP2_TYPES: Final[set[str]] = {"application/x-bzip2"}
 _DEB_TYPES: Final[set[str]] = {"application/vnd.debian.binary-package", "application/x-archive"}


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org