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/10/12 18:32:39 UTC

(tooling-trusted-releases) branch main updated: fix: Replace Rat by RAT (#1722)

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-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 887f9fc6 fix: Replace Rat by RAT (#1722)
887f9fc6 is described below

commit 887f9fc636fa576db1320e805b8137159c7b7bd8
Author: P. Ottlinger <ot...@users.noreply.github.com>
AuthorDate: Mon Oct 12 20:32:33 2026 +0200

    fix: Replace Rat by RAT (#1722)
    
    * Replace Rat by RAT and use ALL for exclusion config
    
    * Do not use ALL exclusion config of RAT as requested per review
---
 atr/models/sql.py              | 2 +-
 tests/e2e/announce/conftest.py | 2 +-
 tests/e2e/vote/conftest.py     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/atr/models/sql.py b/atr/models/sql.py
index f494947b..4e7b7bd1 100644
--- a/atr/models/sql.py
+++ b/atr/models/sql.py
@@ -359,7 +359,7 @@ class TaskType(enum.StrEnum):
             case TaskType.QUARANTINE_VALIDATE:
                 return "Quarantine validation"
             case TaskType.RAT_CHECK:
-                return "Rat check"
+                return "RAT check"
             case TaskType.RELEASE_FINALISE:
                 return "Release finalisation"
             case TaskType.SBOM_AUGMENT:
diff --git a/tests/e2e/announce/conftest.py b/tests/e2e/announce/conftest.py
index 26c3360a..fadcd96b 100644
--- a/tests/e2e/announce/conftest.py
+++ b/tests/e2e/announce/conftest.py
@@ -82,7 +82,7 @@ def announce_context(browser: Browser) -> Generator[BrowserContext]:
 
     page.locator("input#vote_duration").fill("0")
     page.locator("#automatic_publish_when_resolved").uncheck()
-    # Acknowledge every concern group raised by the checks (e.g. Rat Check)
+    # Acknowledge every concern group raised by the checks (e.g. RAT Check)
     # so the vote-start form accepts the submission.
     for _box in page.locator('input[name="concerns_noted"]').all():
         _box.check()
diff --git a/tests/e2e/vote/conftest.py b/tests/e2e/vote/conftest.py
index 6626edb5..2bd4f32a 100644
--- a/tests/e2e/vote/conftest.py
+++ b/tests/e2e/vote/conftest.py
@@ -78,7 +78,7 @@ def vote_context(browser: Browser) -> Generator[BrowserContext]:
     page.locator('a[title="Start a vote on this draft"]').click()
     page.wait_for_load_state()
 
-    # Acknowledge every concern group raised by the checks (e.g. Rat Check)
+    # Acknowledge every concern group raised by the checks (e.g. RAT Check)
     # so the vote-start form accepts the submission. Without this, the
     # handler returns to the form with an "acknowledge every current concern
     # group" error and the redirect to /vote/... never happens.


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