Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update license detection #2505

Merged
merged 57 commits into from
Apr 23, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
1a16236
Add new SSPL detection rule
pombredanne Apr 1, 2021
adff0dc
Add new aand improved license detection rules #2404
pombredanne Apr 1, 2021
075d4d8
Update CHANGELOG
pombredanne Apr 1, 2021
9114f6f
Add new license detection rule
pombredanne Apr 2, 2021
bbba3fa
Add minimum coverage
pombredanne Apr 10, 2021
b3609bc
Enable using synclib as a library
pombredanne Apr 10, 2021
d8a31be
Generate new FP rules from SPDX id sequences
pombredanne Apr 10, 2021
bb40033
Correctly npm test for unknown licenses
pombredanne Apr 10, 2021
5f39252
Add new false positive rules for SPDX ids
pombredanne Apr 10, 2021
3133a13
Streamline debug tracing printouts
pombredanne Apr 10, 2021
3a9f71b
Do not remove overlaping false positive matches
pombredanne Apr 10, 2021
2b7fb90
Add new generated license false positive rules
pombredanne Apr 10, 2021
081bf90
Addnew misc. license detection rules
pombredanne Apr 10, 2021
9c94995
Add new and improved license detection rules
pombredanne Apr 10, 2021
841a5e9
Split license validation tests in five suites
pombredanne Apr 11, 2021
f13957e
Make GPL rules less false-positive prone #2484
pombredanne Apr 12, 2021
4823b67
Add tests for false positive GPL detections #2484
pombredanne Apr 12, 2021
6e87760
Remove redundant build_licenses_db fundtion
pombredanne Apr 12, 2021
82e0c10
Format code for readability
pombredanne Apr 12, 2021
6492998
Run filter_if_only_known_words_rule() last #2484
pombredanne Apr 12, 2021
eaa82f8
Allow query_tokenizer() call without stopwords #2484
pombredanne Apr 12, 2021
06fc09b
Call tokens_by_line() with arguments #2484
pombredanne Apr 12, 2021
2038f28
Treat stopwords the same as unknown words #2484
pombredanne Apr 12, 2021
0899c5f
Rename variable names for clarity
pombredanne Apr 12, 2021
26c048b
Add new or update KDE "Accepted" L/GPL licenses
pombredanne Apr 12, 2021
5e72f06
Add new and improved license detection rules
pombredanne Apr 12, 2021
6ed2456
Add new WPD license derived from the OGL license
pombredanne Apr 14, 2021
505e468
Remove other licenses from exception text
pombredanne Apr 14, 2021
306e4cc
Add bsla variant without advertizing clause
pombredanne Apr 14, 2021
0ff7ac7
Improve rules relevance
pombredanne Apr 14, 2021
46b4092
Add new license detection rules
pombredanne Apr 14, 2021
49f32e6
Add new license rule for entsoe notice
pombredanne Apr 14, 2021
fb606a7
Merge remote-tracking branch 'upstream/develop' into 2021-04-license-…
pombredanne Apr 16, 2021
e4fc12d
Generate FP license rules not only from ngrams
pombredanne Apr 17, 2021
ca849c2
Improve copyright detection
pombredanne Apr 17, 2021
7c6bcd9
Update tests with latest expectations
pombredanne Apr 17, 2021
5b99659
Ignore local tmp directories in tests
pombredanne Apr 17, 2021
2f0a51f
Add new license detection rules
pombredanne Apr 17, 2021
e26ab80
Add new false positive license detection rules
pombredanne Apr 17, 2021
10b927c
Improve rule relevance and coverage
pombredanne Apr 17, 2021
72aba1e
Update test expectation to match latest rules
pombredanne Apr 17, 2021
94ee3ae
Track stopwords in license queries and matches
pombredanne Apr 17, 2021
3d6e021
Requalify some bsd-new and bsd-simplified rules
pombredanne Apr 18, 2021
6bb69a3
Correct is_license_text flags
pombredanne Apr 18, 2021
3b63933
Treat consistently third-party SDPX licenseref
pombredanne Apr 18, 2021
8c2d12e
Add new rules and improve existing license rules
pombredanne Apr 18, 2021
6014264
Fix YAML syntax
pombredanne Apr 18, 2021
a5610a1
Bump relevance for SPDX id
pombredanne Apr 19, 2021
25e12aa
Rename test method for clarity
pombredanne Apr 19, 2021
6b04eb4
Use separate index and query tokenizer functions
pombredanne Apr 19, 2021
284f4c5
Improve filter_if_only_known_words_rule()
pombredanne Apr 19, 2021
db8a535
Update query_tokenizer tests
pombredanne Apr 19, 2021
265e7d3
Correctly track positions with stopwords present
pombredanne Apr 19, 2021
28f29c9
Use query_string argument where needed
pombredanne Apr 19, 2021
ce990bc
Add kde-accepted licenses to rules
pombredanne Apr 19, 2021
2a2efc7
Align test expectations with latest rules set
pombredanne Apr 19, 2021
4a89a9b
Add new license detection rules
pombredanne Apr 19, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
license_expression: gpl-1.0
is_license_tag: yes
relevance: 100
relevance: 60
only_known_words: yes

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
license_expression: gpl-2.0
is_license_tag: yes
relevance: 100
relevance: 60
only_known_words: yes

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
license_expression: gpl-3.0
is_license_tag: yes
relevance: 100
relevance: 60
only_known_words: yes
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)