You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by ad...@apache.org on 2026/09/07 09:42:51 UTC

(polaris) branch main updated: Rat: update exclusions for Hugo, AI, Spark and IntelliJ (#5453)

This is an automated email from the ASF dual-hosted git repository.

adutra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new bc4a15edc1 Rat: update exclusions for Hugo, AI, Spark and IntelliJ (#5453)
bc4a15edc1 is described below

commit bc4a15edc124b9ede24a848b3c5727bae7e346a5
Author: Alexandre Dutra <ad...@apache.org>
AuthorDate: Mon Sep 7 11:42:46 2026 +0200

    Rat: update exclusions for Hugo, AI, Spark and IntelliJ (#5453)
---
 build.gradle.kts | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/build.gradle.kts b/build.gradle.kts
index 9463e12808..892b362b3a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -97,6 +97,7 @@ tasks.named<RatTask>("rat").configure {
   // AI agents
   excludes.add(".claude/**")
   excludes.add(".agents/**")
+  excludes.add(".conductor/**")
 
   // Misc build artifacts
   excludes.add(".java-version")
@@ -117,6 +118,7 @@ tasks.named<RatTask>("rat").configure {
   excludes.add("site/.user-settings")
   excludes.add("site/node_modules/**")
   excludes.add("site/layouts/robots.txt")
+  excludes.add("site/hugo.direct.sum")
   // Ignore generated stuff, when the Hugo is run w/o Docker
   excludes.add("site/public/**")
   excludes.add("site/resources/_gen/**")
@@ -143,15 +145,18 @@ tasks.named<RatTask>("rat").configure {
   excludes.add("regtests/**/py.typed")
   excludes.add("regtests/**/*.ref")
   excludes.add("regtests/.env")
-  excludes.add("regtests/derby.log")
-  excludes.add("regtests/metastore_db/**")
   excludes.add("regtests/output/**")
   excludes.add("plugins/**/*.ref")
 
+  // Spark
+  excludes.add("**/derby.log")
+  excludes.add("**/metastore_db/**")
+
   // IntelliJ
   excludes.add(".idea")
   excludes.add("site/it/.idea")
   excludes.add("**/*.iml")
+  excludes.add("**/*.ipr")
   excludes.add("**/*.iws")
 
   // Rat can't scan binary images