Regnology / lucy

Lucy is a component analysis platform to minimize the risk of license infringements and to support and optimize the license compliance process.
MIT License
6 stars 1 forks source link

Conflicting Licenses Logic #10

Open savu-a opened 1 year ago

savu-a commented 1 year ago

Is your feature request related to a problem? Please describe. In some components having multiple licenses, there might be a conflict between the licenses when copylefted licenses meet a permissive license which protects itself again copyleft takeover. Lucy should be able to show these license conflicts.

image

Describe the solution you'd like

Front end:

Back end:

Describe alternatives you've considered N/A

Additional context This feature is partly implemented.

For every license, the license compatibility with another license is visible in Lucy. To see them you have to go to a license and click on the tab "License Conflicts (BETA)". By editing a license the compatibility to every license can be defined:

Currently, the method which checks every library if it contains an incompatible license combination and creates an error log is disabled because the current implementation was not fast enough.

The solution would be to cache the license combinations and don't pull them for every check from the database.

Also, it is not necessary to cross-check every license with another but just to check every license with its next neighbour. That should also increase the performance.