Skip to content

Commit

Permalink
chore(.ort.yml): Update excludes
Browse files Browse the repository at this point in the history
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 <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher committed Sep 26, 2024
1 parent d0df635 commit 87f6e0a
Showing 1 changed file with 23 additions and 3 deletions.
26 changes: 23 additions & 3 deletions .ort.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 87f6e0a

Please sign in to comment.