From ed368d7f6cd008604b886875e47216f390df0b4d Mon Sep 17 00:00:00 2001 From: airborne12 Date: Sun, 7 May 2023 09:38:44 +0800 Subject: [PATCH] [chore](build) Ignore clucene checks (#19353) --- .clang-format-ignore | 1 + .github/workflows/code-checks.yml | 2 +- .licenserc.yaml | 1 + .rat-excludes | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.clang-format-ignore b/.clang-format-ignore index 10b69e75a74dc2..55ac1e1395761b 100644 --- a/.clang-format-ignore +++ b/.clang-format-ignore @@ -1,6 +1,7 @@ # Please add code that you don’t want to be formatted by clang here be/src/apache-orc/* +be/src/clucene/* be/src/gutil/* be/src/glibc-compatibility/* be/src/util/sse2neo.h diff --git a/.github/workflows/code-checks.yml b/.github/workflows/code-checks.yml index ae837649bef1ee..380fb86d1c76bf 100644 --- a/.github/workflows/code-checks.yml +++ b/.github/workflows/code-checks.yml @@ -49,7 +49,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: sh_checker_comment: true - sh_checker_exclude: .git .github ^docker ^thirdparty/src ^thirdparty/installed ^ui ^docs/node_modules ^tools/clickbench-tools ^extension ^output ^fs_brokers/apache_hdfs_broker/output (^|.*/)Dockerfile$ ^be/src/apache-orc + sh_checker_exclude: .git .github ^docker ^thirdparty/src ^thirdparty/installed ^ui ^docs/node_modules ^tools/clickbench-tools ^extension ^output ^fs_brokers/apache_hdfs_broker/output (^|.*/)Dockerfile$ ^be/src/apache-orc ^be/src/clucene clang-tidy: name: "Clang Tidy" diff --git a/.licenserc.yaml b/.licenserc.yaml index b0892047c601f2..130e58bcacf7d5 100644 --- a/.licenserc.yaml +++ b/.licenserc.yaml @@ -22,6 +22,7 @@ header: - "be/src/common/status.h" - "be/src/env/env.h" - "be/src/env/env_posix.cpp" + - "**/clucene/**" - "**/apache-orc/**" - "**/glibc-compatibility/**" - "**/gutil/**" diff --git a/.rat-excludes b/.rat-excludes index bb97aca3dc05da..0179bbd07f0b76 100644 --- a/.rat-excludes +++ b/.rat-excludes @@ -13,6 +13,7 @@ NOTICE gutil/* glibc-compatibility/* apache-orc/* +clucene/* manifest patches/* data/*