-
-
Notifications
You must be signed in to change notification settings - Fork 617
Improve license required phrase generation #4237
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
Merged
Merged
Changes from 20 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5fc22cf
Streamline rule validation
pombredanne 57f6ed5
Tag existing rules as required phrases
pombredanne e9fe204
Update required phrase statuses for rules
pombredanne c532af7
Update required phrase statuses for rules
pombredanne e641691
Improve required phrase rules gen
pombredanne 933ccfc
Generate more required phrase rules
pombredanne 047e34b
Remove too verbose output
pombredanne bd7eac4
Update/generate more required phrase rules
pombredanne 7a6d03e
Do not fail on license
pombredanne cd8389c
Correct tests after mass rule update
pombredanne a779a13
Improve license rules
pombredanne 23317ed
Remove stopword from rule
pombredanne 36bf8b8
Convert rule to required phrase
pombredanne 78b8a65
Generate fewer required phrase rules
pombredanne 8766095
Update rules for stopwords
pombredanne 2ec6013
Merge branch '4190-license-licence' into improve-required
pombredanne 1f789a2
Merge branch 'improve-required' into 4238-required-phrases-with-stopw…
pombredanne dc22bc2
Rename modified rule files
pombredanne c54321a
Merge latest 4190-license-licence branch
pombredanne 494723a
Merge branch '4238-required-phrases-with-stopwords' into improve-requ…
pombredanne e0a8c42
Remove temp file committed by mistake.
pombredanne a5116ff
Update required phrases, rules and fix minor issues
AyanSinhaMahapatra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| --- | ||
| license_expression: 3dslicer-1.0 | ||
| is_license_reference: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| ignorable_urls: | ||
| - https://www.slicer.org/LICENSE | ||
| --- | ||
|
|
||
| {{https://www.slicer.org/LICENSE}} | ||
| https://www.slicer.org/LICENSE |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: abstyles | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| --- | ||
|
|
||
| Abstyles License |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: adapt-1.0 | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: adobe-glyph | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| --- | ||
|
|
||
| Adobe Glyph | ||
| Adobe-Glyph |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: adobe-scl | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| --- | ||
|
|
||
| Adobe Systems Incorporated Source Code License Agreement |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: adsl | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: afpl-9.0 | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 99 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: agpl-1.0 | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: agpl-2.0 | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: agpl-2.0 | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_reference: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_tag: yes | ||
| relevance: 100 | ||
| is_required_phrase: yes | ||
| relevance: 99 | ||
| --- | ||
|
|
||
| - LicenseRef-AGPL |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_tag: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
|
|
||
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDX-LicenseIdentifier: AGPL-3.0-or-later }} | ||
| SPDX-LicenseIdentifier: AGPL-3.0-or-later |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDXLicense-Identifier: AGPL-3.0-or-later }} | ||
| SPDXLicense-Identifier: AGPL-3.0-or-later |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0-plus | ||
| is_license_reference: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{AGPLv3 or later}} | ||
| AGPLv3 or later |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| __license__ = "{{AGPL-3.0-only}}" | ||
| __license__ = " AGPL-3.0-only " |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,7 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| - LicenseRef-{{AGPL-3.0}} | ||
| - LicenseRef-AGPL-3.0 |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,9 +1,9 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| notes: https://github.com/streetpea/chiaki-ng/blob/ba7402c4505ec4bd4ea9584dbcda5d6d5d8a2ee3/gui/io.github.streetpea.Chiaki4deck.appdata.xml | ||
| --- | ||
|
|
||
| {{ <project_license>AGPL-3.0-only }} | ||
| <project_license>AGPL-3.0-only |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDX-LicenseIdentifier: AGPL-3.0-only }} | ||
| SPDX-LicenseIdentifier: AGPL-3.0-only |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDX-LicenseIdentifier: AGPL-3.0 }} | ||
| SPDX-LicenseIdentifier: AGPL-3.0 |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDXLicenseIdentifier: AGPL-3.0-only }} | ||
| SPDXLicenseIdentifier: AGPL-3.0-only |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDXLicense-Identifier: AGPL-3.0-only }} | ||
| SPDXLicense-Identifier: AGPL-3.0-only |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_tag: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{ SPDXLicense-Identifier: AGPL-3.0 }} | ||
| SPDXLicense-Identifier: AGPL-3.0 |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_reference: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{AGPLv3 only}} | ||
| AGPLv3 only |
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: agpl-3.0 | ||
| is_license_reference: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{AGPL v3 only}} | ||
| AGPL v3 only |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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 |
|---|---|---|
| @@ -1,8 +1,8 @@ | ||
| --- | ||
| license_expression: amazon-sl | ||
| is_license_reference: yes | ||
| is_continuous: yes | ||
| is_required_phrase: yes | ||
| relevance: 100 | ||
| --- | ||
|
|
||
| {{Amazon Software License 1.0}} | ||
| Amazon Software License 1.0 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops... should not be committed. junk local file!