Skip to content

Commit 366a6f8

Browse files
Update SCTK to latest develop with debian updates
Updates SCTK to latest develop with aboutcode-org/scancode-toolkit#3682 to have debian package releated improvements and also regen related test fixtures. Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 9bb93f7 commit 366a6f8

File tree

59 files changed

+3227
-1861
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3227
-1861
lines changed

minecode/tests/testfiles/bower/expected_mapper_example1_bower.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,17 +47,20 @@
4747
"license_detections":[
4848
{
4949
"license_expression":"bsd-new",
50+
"license_expression_spdx":"BSD-3-Clause",
5051
"matches":[
5152
{
52-
"score":100.0,
53+
"license_expression":"bsd-new",
54+
"spdx_license_expression":"BSD-3-Clause",
55+
"from_file":null,
5356
"start_line":1,
5457
"end_line":1,
58+
"matcher":"1-hash",
59+
"score":100.0,
5560
"matched_length":1,
5661
"match_coverage":100.0,
57-
"matcher":"1-hash",
58-
"license_expression":"bsd-new",
59-
"rule_identifier":"bsd-new_1135.RULE",
6062
"rule_relevance":100,
63+
"rule_identifier":"bsd-new_1135.RULE",
6164
"rule_url":"https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/rules/bsd-new_1135.RULE",
6265
"matched_text":"NewBSD"
6366
}

minecode/tests/testfiles/cpan/expected_json_cpanmapper.json

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,20 @@
3939
"license_detections":[
4040
{
4141
"license_expression":"mit",
42+
"license_expression_spdx":"MIT",
4243
"matches":[
4344
{
44-
"score":100.0,
45+
"license_expression":"mit",
46+
"spdx_license_expression":"MIT",
47+
"from_file":null,
4548
"start_line":1,
4649
"end_line":1,
50+
"matcher":"1-spdx-id",
51+
"score":100.0,
4752
"matched_length":1,
4853
"match_coverage":100.0,
49-
"matcher":"1-spdx-id",
50-
"license_expression":"mit",
51-
"rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff",
5254
"rule_relevance":100,
55+
"rule_identifier":"spdx-license-identifier-mit-1b937028f397e2c5fe4eb6a0abd781ab80f9eeff",
5356
"rule_url":null,
5457
"matched_text":"mit"
5558
}

0 commit comments

Comments
 (0)