You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2025/10/21 08:24:49 UTC
(cloudstack-go) branch rat created (now 962f559)
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a change to branch rat
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git
at 962f559 rat update
This branch includes the following new commits:
new 962f559 rat update
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(cloudstack-go) 01/01: rat update
Posted by da...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch rat
in repository https://gitbox.apache.org/repos/asf/cloudstack-go.git
commit 962f559d50aedebfd54ee45a4b814605429085e9
Author: Daan Hoogland <da...@apache.org>
AuthorDate: Tue Oct 21 10:23:26 2025 +0200
rat update
---
.github/workflows/rat.yaml | 8 ++++----
.rat-excludes | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/rat.yaml b/.github/workflows/rat.yaml
index 76462d5..35cd44f 100644
--- a/.github/workflows/rat.yaml
+++ b/.github/workflows/rat.yaml
@@ -25,12 +25,12 @@ jobs:
- name: Download Apache RAT
run: |
- curl -L -O https://downloads.apache.org/creadur/apache-rat-0.16.1/apache-rat-0.16.1-bin.tar.gz
- tar -xzf apache-rat-0.16.1-bin.tar.gz
+ curl -L -O https://downloads.apache.org/creadur/apache-rat-0.17/apache-rat-0.17-bin.tar.gz
+ tar -xzf apache-rat-0.17-bin.tar.gz
- name: Run RAT
run: |
- java -jar apache-rat-0.16.1/apache-rat-0.16.1.jar -d . -E .rat-excludes > rat-report.txt
+ java -jar apache-rat-0.17/apache-rat-0.17.jar -d . -E .rat-excludes > rat-report.txt
cat rat-report.txt
# Fail if unapproved licenses are found
- grep -qe '^0 Unknown Licenses' rat-report.txt && exit 0 || exit 1
+ grep -qe '^\s*Unapproved:\s*0\s*A count of unapproved licenses.$' rat-report.txt && exit 0 || exit 1
diff --git a/.rat-excludes b/.rat-excludes
index 20b1f76..6239822 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -2,4 +2,4 @@
go.mod
go.sum
rat-report.txt
-apache-rat-0.16.1
+apache-rat-0.17