-
-
Notifications
You must be signed in to change notification settings - Fork 792
Update misc detections #3462
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
Update misc detections #3462
Changes from 10 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2d9f4ba
Also handle .jar archives which don't have a type
AyanSinhaMahapatra b1ad02f
Add new epl-1.0 and other-copyleft rule
AyanSinhaMahapatra 0988c72
Add new license rule model attributes
AyanSinhaMahapatra edd7974
Fix unknown license clues bug
AyanSinhaMahapatra 951b155
Update rules to be license clues
AyanSinhaMahapatra 79871d3
Fix setup.cfg license detection bug
AyanSinhaMahapatra cfa072b
Fix license detection bugs
AyanSinhaMahapatra 03963fe
Make license identifiers python-safe
AyanSinhaMahapatra fb7cedc
Filter license intros from dereferenced matches
AyanSinhaMahapatra 35d8f6b
Add rules and tests from jquery-form
AyanSinhaMahapatra 5f458b9
Address feedback on #3462
AyanSinhaMahapatra 06f20bd
Make license rule a clue
AyanSinhaMahapatra File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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
2 changes: 1 addition & 1 deletion
2
src/licensedcode/data/rules/agpl-3.0-plus_or_commercial-license_7.RULE
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 |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| --- | ||
| license_expression: bsd-new | ||
| is_license_tag: yes | ||
| relevance: 100 | ||
| referenced_filenames: | ||
| - LICENSE.rst | ||
| --- | ||
|
|
||
| license = BSD-3-Clause | ||
| license_files = LICENSE.rst |
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 |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| license_expression: bsd-new | ||
| is_license_tag: yes | ||
| relevance: 100 | ||
| referenced_filenames: | ||
| - LICENSE.rst | ||
| --- | ||
|
|
||
| BSD-3-Clause LICENSE.rst |
21 changes: 21 additions & 0 deletions
21
src/licensedcode/data/rules/epl-1.0_and_other-copyleft_2.RULE
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 |
|---|---|---|
| @@ -0,0 +1,21 @@ | ||
| --- | ||
| license_expression: epl-1.0 AND other-copyleft | ||
| is_license_notice: yes | ||
| relevance: 99 | ||
| ignorable_urls: | ||
| - https://network.pivotal.io/open-source | ||
| - https://spring.io/projects | ||
| --- | ||
|
|
||
| To the extent any open source components are licensed under the EPL and/or | ||
| other similar licenses that require the source code and/or modifications to | ||
| source code to be made available (as would be noted above), you may obtain a | ||
| copy of the source code corresponding to the binaries for such open source | ||
| components and modifications thereto, if any, (the "Source Files"), by | ||
| downloading the Source Files from https://spring.io/projects, Pivotal's website | ||
| at https://network.pivotal.io/open-source, or by sending a request, with your | ||
| name and address to: Pivotal Software, Inc., 875 Howard Street, 5th floor, San | ||
| Francisco, CA 94103, Attention: General Counsel. All such requests should | ||
| clearly specify: OPEN SOURCE FILES REQUEST, Attention General Counsel. Pivotal | ||
| can mail a copy of the Source Files to you on a CD or equivalent physical | ||
| medium. |
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,6 @@ | ||
| --- | ||
| license_expression: free-unknown | ||
| is_license_reference: yes | ||
| is_license_clue: 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| --- | ||
| license_expression: free-unknown | ||
| is_license_reference: yes | ||
| is_license_clue: 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,6 @@ | ||
| --- | ||
| license_expression: free-unknown | ||
| is_license_reference: yes | ||
| is_license_clue: yes | ||
| relevance: 50 | ||
| --- | ||
|
|
||
|
|
||
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 |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| --- | ||
| license_expression: unknown-license-reference | ||
| is_license_clue: yes | ||
| notes: Seen in woodstox | ||
| --- | ||
|
|
||
| This product currently only contains code developed by authors of specific components, as identified by the source code files. |
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 |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| license_expression: free-unknown | ||
| is_license_clue: yes | ||
| --- | ||
|
|
||
| licensed under an open source 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 |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
|
AyanSinhaMahapatra marked this conversation as resolved.
|
||
| license_expression: mit OR gpl-2.0 | ||
| is_license_notice: yes | ||
| ignorable_urls: | ||
| - http://malsup.github.com/gpl-license-v2.txt | ||
| - http://malsup.github.com/mit-license.txt | ||
| --- | ||
|
|
||
| All versions, present and past, of the | ||
| are {{dual licensed under the MIT and GPL licenses}}: | ||
|
|
||
| * [MIT](http://malsup.github.com/mit-license.txt) | ||
| * [GPL](http://malsup.github.com/gpl-license-v2.txt) | ||
|
|
||
| You may use either license. | ||
| The MIT License is recommended for most projects because | ||
| it is simple and easy to understand and it places almost | ||
| no restrictions on what you can do with the plugin. | ||
|
|
||
| If the GPL suits your project better you are also | ||
| free to use the plugin under that license. | ||
|
|
||
| You don't have to do anything special to choose | ||
| one license or the other and you don't have to notify | ||
| anyone which license you are using. | ||
| You are free to use the jQuery Form Plugin in | ||
| commercial projects as long as the copyright header | ||
| is left intact. | ||
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 |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| --- | ||
| license_expression: mit OR gpl-2.0 | ||
| is_license_notice: yes | ||
| ignorable_urls: | ||
| - http://malsup.github.com/gpl-license-v2.txt | ||
| - http://malsup.github.com/mit-license.txt | ||
| --- | ||
|
|
||
| type: MIT | ||
| url: http://malsup.github.com/mit-license.txt | ||
| type: GPL | ||
| url: http://malsup.github.com/gpl-license-v2.txt |
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.