This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site-archive.git
The following commit(s) were added to refs/heads/main by this push:
new e5c17a7512 Also fix known packages in Python (#16)
e5c17a7512 is described below
commit e5c17a7512b79a2bcd293d19832dfb3680053577
Author: Jarek Potiuk <[email protected]>
AuthorDate: Mon May 12 14:19:44 2025 +0200
Also fix known packages in Python (#16)
---
scripts/transfer_utils.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/transfer_utils.py b/scripts/transfer_utils.py
index 1ba51e5c21..4692c8cdc8 100644
--- a/scripts/transfer_utils.py
+++ b/scripts/transfer_utils.py
@@ -12,6 +12,8 @@ import boto3
import urllib3
from rich.console import Console
+KNOWN_PACKAGES = ["apache-airflow", "helm-chart", "docker-stack"]
+
console = Console(width=200, color_system="standard")
def track_progress(folder: str, file_path: Path):
@@ -135,7 +137,7 @@ class CommonTransferUtils:
console.print(f"{file_to_delete}[green] Delete completed[/]")
def convert_short_name_to_folder_name(short_name: str) -> str:
- if not short_name.startswith("apache-airflow-providers-"):
+ if not short_name.startswith("apache-airflow-providers-") and short_name
not in KNOWN_PACKAGES:
return f"apache-airflow-providers-{short_name.replace('.', '-')}"
return short_name