-
Notifications
You must be signed in to change notification settings - Fork 308
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JsonSchemeTest: Add additional .ort.yml examples to test more scenarios
Signed-off-by: Marcel Bochtler <marcel.bochtler@bosch.io>
- Loading branch information
1 parent
9bfb921
commit 7d52f91
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
curations: | ||
license_findings: | ||
- path: "src/**.cpp" | ||
start_lines: "3,8" | ||
line_count: 1 | ||
detected_license: "GPL-2.0-only" | ||
reason: "CODE" | ||
comment: "The scanner matches a variable named `gpl`." | ||
concluded_license: "Apache-2.0" | ||
packages: | ||
- id: "Maven:com.example:dummy:0.0.1" | ||
curations: | ||
comment: "An explanation why the curation is needed." | ||
homepage_url: "https://example.com" | ||
is_modified: false | ||
vcs: | ||
type: "Git" | ||
url: "https://example.com/package.git" | ||
revision: "main" | ||
authors: | ||
- "Name of the author" | ||
is_meta_data_only: false | ||
concluded_license: "BSD-2-Clause" | ||
declared_license_mapping: | ||
The BSD License: "BSD-2-Clause" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package_configurations: | ||
- id: 'Maven:com.example:package:1.2.3' | ||
source_artifact_url: "https://repo.maven.apache.org/maven2/com/example/package/1.2.3/package-1.2.3-sources.jar" | ||
license_finding_curations: | ||
- path: "path/to/problematic/file.java" | ||
start_lines: 22 | ||
line_count: 1 | ||
detected_license: "GPL-2.0-only" | ||
reason: "CODE" | ||
comment: "The scanner matches a variable named `gpl`." | ||
concluded_license: "Apache-2.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
resolutions: | ||
issues: | ||
- message: "Could not download 'Maven:com.example:library:.*" | ||
reason: "CANT_FIX_ISSUE" | ||
comment: "An example for an issue resolution." | ||
rule_violations: | ||
- message: "Example rule violation*." | ||
reason: "DYNAMIC_LINKAGE_EXCEPTION" | ||
comment: "An example for rule a rule violation resolution." |