Comments (19)
You may want to break this up into small tickets if needed.
from deltacode.
@majurg @DennisClark I'm looking for several large codebases to test my license-change detection work and thought the recent Facebook change to its React licensing might be useful.
Testing react-16.0.0
against react-15.6.1
, it appears from the DeltaCode output that the license in question might have the ScanCode key facebook-patent-rights-2
(category: Permissive). However, if I paste that key into a DejaCode Licenses search, the only license returned is antlr-pd
.
- Is
facebook-patent-rights-2
not listed in DejaCode, or (perhaps more likely) am I searching incorrectly? - Assuming the license in question is in fact
facebook-patent-rights-2
, I'm curious why we treat it as Permissive when it created such an uproar. - Last but not least, can you suggest one or two codebases in which there were changes from Permissive (or no license at all) to
Copyleft Limited
,Copyleft
or some other more-restrictive license?
from deltacode.
@jmhoran once again, scancode is “ahead of” dejacode. Please create a new license request in DejaCode.
from deltacode.
@DennisClark Is that done by opening a new issue and assigning the label license_library
?
from deltacode.
@johnmhoran that license may not be in DejaCode, or if it is, it is under a slightly different name.
As far as single projects that change from permissive to copyleft, I do not know many off the top of my head. You may have to craft these specific examples.
from deltacode.
@majurg Thanks -- will do. And thanks as well re how to create a license request.
from deltacode.
@majurg I'm in DejaCode -- is the license request submitted through the https://dejacode.zendesk.com/hc/en-us/requests/new
URL (a "Submit a request" form)?
from deltacode.
No, go here: https://enterprise.dejacode.com/requests/
from deltacode.
Thanks @majurg -- request submitted.
from deltacode.
@majurg In one of your three examples above, 'permissive' -> 'copyleft limited or higher'
, how do you want to treat the delta if the old file has both 'permissive' and 'public domain'? They seem sufficiently similar in contrast to the 'copyleft limited or higher' group that I suggest we modify this to 'permissive' and/pr 'public domain' -> 'copyleft limited or higher'
.
What do you think?
from deltacode.
FYI, I'm currently treating the following as comprising the categories of particular interest from among the license categories in DejaCode:
'Commercial'
'Copyleft'
'Copyleft Limited'
'Free Restricted'
'Patent License'
'Proprietary Free'
The remaining two categories are 'Permissive' and 'Public Domain'.
I'm interpreting 'copyleft limited or higher' as including all of the notable categories, and 'proprietary/commercial' as meaning 'Commercial' and 'Proprietary Free'. Let me know if this is not consistent with your intent.
from deltacode.
Yes, we should treat permissive and public domain the same.
we should "point out" (increase the score) all other cases.
from deltacode.
Thanks @majurg .
from deltacode.
@majurg Do we want to increase the score for each problematic license category that is added (e.g., one incremented score for 'Copyleft', no matter how many different licenses of this category are added), or increment for each unique license of a problematic category (e.g., 'gpl-2.0' and 'gpl-1.0-plus' ==> two score increments)? Thus far I've been taking the former approach.
from deltacode.
Your way is correct.
from deltacode.
👍
from deltacode.
@majurg I'm about to push a commit for your vetting -- more tests to follow.
from deltacode.
@majurg Push coming shortly. I've been able to substantially simplify the category-change detection while retaining all three of our new rules, i.e., incrementing Delta.score
and supplementing Delta.factors
when:
- no license ==> 'Copyleft Limited' or higher
- 'Permissive' or 'Public Domain' ==> 'Copyleft Limited' or higher
- anything ==> 'Proprietary Free' or 'Commercial'
For clarity, I've also added comments in the code indicating where each of these rules is implemented.
from deltacode.
merged #86, closing
from deltacode.
Related Issues (20)
- Add limited delta stats after running HOT 1
- Upgrade DeltaCode to Python 3 HOT 4
- Create DeltaCode documentation on ReadTheDocs HOT 6
- Linux and MacOs buid is showing some warnings in TravisCI HOT 3
- configure failed,why? HOT 10
- Adding Azure Pipelines HOT 1
- In the output content format ‘[ ’how to understand? HOT 2
- Configure failed with "file setup.py not found" HOT 11
- Azure Piplines seems to be filing for Windows Test Jobs
- Create objects to score scan information HOT 6
- Add function to handle loading 2 codebases. HOT 2
- Remove redundant Scan model HOT 1
- Remove redundant File model
- Add Dockerfile
- Separate csv formatted output in Deltacode
- Merge DeltaCode in ScanCode TK
- Update structure to use the https://github.com/nexB/skeleton
- RFC: DeltaCode next! and roadmap HOT 2
- Update documentation after deltacode gets merge in scancode-toolkit HOT 2
- License detection diffs are incorrect HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deltacode.