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/04 14:54:33 UTC

(tooling-trusted-releases) branch sbp updated: Identify the ATR release revision in SVN commit messages

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 c53d51f3 Identify the ATR release revision in SVN commit messages
c53d51f3 is described below

commit c53d51f310dc6824a3943bed9d529063196eec95
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Tue Aug 4 15:53:23 2026 +0100

    Identify the ATR release revision in SVN commit messages
---
 atr/storage/writers/release.py        | 1 +
 tests/unit/test_svn_publish_writer.py | 1 +
 2 files changed, 2 insertions(+)

diff --git a/atr/storage/writers/release.py b/atr/storage/writers/release.py
index e767d908..1115f440 100644
--- a/atr/storage/writers/release.py
+++ b/atr/storage/writers/release.py
@@ -1242,6 +1242,7 @@ class ReleaseManager(CommitteeParticipant):
             f"Committee: {committee.key}\n"
             f"Project: {task_args.project_key!s}\n"
             f"Version: {task_args.version_key!s}\n"
+            f"Revision: {task_args.revision_number!s}\n"
             "Tool: ATR\n"
             f"Released by {task_args.asf_uid} via ATR"
         )
diff --git a/tests/unit/test_svn_publish_writer.py b/tests/unit/test_svn_publish_writer.py
index 8b14e1dd..fc01da0b 100644
--- a/tests/unit/test_svn_publish_writer.py
+++ b/tests/unit/test_svn_publish_writer.py
@@ -156,6 +156,7 @@ async def test_publish_to_svn_execute_heals_existing_path_published_by_same_user
         assert result.svn_revision == 42
         assert provenance.await_args.args[1] == "alice"
         assert "Project: project" in provenance.await_args.args[2]
+        assert "Revision: 00001" in provenance.await_args.args[2]
 
 
 async def test_publish_to_svn_execute_maps_connection_error(


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