Comments (3)
@tdruez Thank you. The difference between case 1 and 2 is that you are using two Licensing
object instances in case 2 rather than the same Licensing
object in case one. Equivalence is made within the confine of a Licensing
object instance. So I guess that the resolution can be one of these:
- workaround: you use a single licensing object
- whenever a check is requested for two expressions, check that both come from the same licensing. If not ensure that we unparse/reparse one of the two to be from the same
Licensing
as the other - add support for doing cross
Licensing
expression comparisons
from license-expression.
@tdruez this not-yet-test commit fixes things up from what I can see. The changes are only in boolean.py in https://github.com/bastikr/boolean.py/tree/proper-equivalence
Not yet released on Pypi either
from license-expression.
@pombredanne thanks++ for the fix!
from license-expression.
Related Issues (20)
- match license by legalcode url HOT 5
- Support Yocto license expressions syntax HOT 1
- Provide built-in support for SPDX and scancode license expression validation HOT 5
- Rename master to main branch
- Adopt calver for versions
- Show whether or not a license is deprecated in index.json HOT 1
- Update README HOT 6
- The order of the expression shouldn't be changed HOT 3
- Track which version of the SPDX license list is used HOT 4
- There should be a way to remove particular licenses or license expression from license expressions
- `AND` statements not flattened in dedup()
- Possible simplify error HOT 1
- Failing to validate GPL licenses HOT 4
- Update SPDX license list version HOT 8
- Please provide a proper documentation HOT 4
- Error thrown when Invalid license key character provided HOT 3
- Problem with exception symbols when using `get_spdx_licensing().validate()` HOT 5
- Deprecated SPDX licenses are marked as unknown
- SPDX Failing to parse license for no obvious reason HOT 1
- LLGPL appears to be treated as a plain license, not as a license exception HOT 8
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 license-expression.