You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/08/07 12:59:30 UTC
(tooling-trusted-releases) branch sbp updated: Prevent rsync read arguments from being truncated
This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
The following commit(s) were added to refs/heads/sbp by this push:
new edc36aa3 Prevent rsync read arguments from being truncated
edc36aa3 is described below
commit edc36aa3f5a7532f676e5fbe63f08807937ae515
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Aug 7 13:59:02 2026 +0100
Prevent rsync read arguments from being truncated
---
atr/ssh.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/atr/ssh.py b/atr/ssh.py
index cda3c34b..1de5a3e8 100644
--- a/atr/ssh.py
+++ b/atr/ssh.py
@@ -608,6 +608,8 @@ async def _step_07a_process_validated_rsync_read(
files = [
f for pattern in file_patterns for f in await asyncio.to_thread(glob.glob, f"{source_dir}/{pattern}")
]
+ if not files:
+ raise RsyncArgsError(f"No files match the tag for release {release.key}")
argv[-1:] = files
###################################################
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org