From 87f6e0a7f1599993d02116460feba11ee2b0ca40 Mon Sep 17 00:00:00 2001 From: Martin Nonnenmacher Date: Wed, 25 Sep 2024 17:34:57 +0200 Subject: [PATCH] chore(.ort.yml): Update excludes Exclude the `buildSrc` directory, remove `src/funTest` as there is no such source set in this project, add several scope excludes, and exclude the `website` which is released independently of other project artifacts and will get its own repository configuration file if required. Signed-off-by: Martin Nonnenmacher --- .ort.yml | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/.ort.yml b/.ort.yml index 58c0ce151..882cb39ad 100644 --- a/.ort.yml +++ b/.ort.yml @@ -17,19 +17,39 @@ excludes: paths: - - pattern: "**/src/{:funTest|test}/**" + - pattern: "buildSrc/**" + reason: "BUILD_TOOL_OF" + comment: >- + The buildSrc directory contains build scripts for the Gradle build tool. + - pattern: "**/src/test/**" reason: "TEST_OF" comment: >- Licenses contained in this directory are used for testing and do not apply to the ORT server. + - pattern: "website/**" + reason: "OTHER" + comment: >- + The website directory contains the ORT server's website and is not part of the server itself. scopes: - pattern: ".*[tT]est.*" reason: "TEST_DEPENDENCY_OF" comment: >- - Packages for testing only. Not part of released artifacts. + Packages for testing only. - pattern: "detekt.*" reason: "DEV_DEPENDENCY_OF" comment: >- - Packages for static code analysis. + Packages for static code analysis only. + - pattern: "devDependencies" + reason: "TEST_DEPENDENCY_OF" + comment: >- + Packages for development only. + - pattern: "kotlin.*" + reason: "BUILD_DEPENDENCY_OF" + comment: >- + Packages for Kotlin compiler only. + - pattern: "metadataCompileClasspath" + reason: "BUILD_DEPENDENCY_OF" + comment: >- + Packages for Kotlin compiler only. curations: packages: