This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-release.git
The following commit(s) were added to refs/heads/main by this push:
new 27bb7b0 Do not create a new revision if rsync fails
27bb7b0 is described below
commit 27bb7b00555dc10309eef9b1f40ebdba9a8cc11d
Author: Sean B. Palmer <[email protected]>
AuthorDate: Wed May 21 20:02:34 2025 +0100
Do not create a new revision if rsync fails
---
atr/ssh.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/atr/ssh.py b/atr/ssh.py
index 01005e1..2c6dbc7 100644
--- a/atr/ssh.py
+++ b/atr/ssh.py
@@ -504,6 +504,7 @@ async def _step_07b_process_validated_rsync_write(
f"rsync upload failed with exit status {exit_status} for
{for_revision}. "
f"Command: {process.command} (run as {' '.join(argv)})"
)
+ creating.failed = True
if creating.new is not None:
_LOGGER.info(f"rsync upload successful for revision
{creating.new.number}")
else:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]