Giter Club home page Giter Club logo

Comments (6)

thehale avatar thehale commented on July 21, 2024 2

@MartijnVdS I've opened a new PR (#104) which handles the situation you raised. Do you have any concerns with the tests/implementation there?

from python-license-check.

thehale avatar thehale commented on July 21, 2024 1

Based on the actions run prompting this issue, it appears that @MartijnVdS would also appreciate having GNU Lesser General Public License v2 or later (LGPLv2+) in the proposed whitelist.

from python-license-check.

ochedru avatar ochedru commented on July 21, 2024

Oops. Reverting.

from python-license-check.

thehale avatar thehale commented on July 21, 2024

@MartijnVdS Thanks for identifying this issue.

Concerns

However, I'm concerned that a patch version was used to revert #100, which is itself a breaking change. I sympathize with the criticism that the current or split is too broad, but an immediate revert disregards the or-split's value in resolving the issue of combinatorial explosion of multiple licenses for most projects.

Furthermore, OR is the keyword for separating license identifiers in the SPDX format which has become an international standard for tracking license requirements of software dependencies.

Proposed Solution

Surely a more productive fix would have been to add a test for GNU Library or Lesser General Public License (LGPL), then add it to a whitelist of licenses which would not be split by the character sequence or. Such an approach would satisfy both needs without too much difficulty.

from python-license-check.

MartijnVdS avatar MartijnVdS commented on July 21, 2024

Reading the standard, it only specifies OR in capital letters. Maybe not matching lowercase or would do the trick?

from python-license-check.

thehale avatar thehale commented on July 21, 2024

Maybe not matching lowercase or would do the trick?

That could work. The existing code normalizes the casing to lowercase before checking licenses, but the OR split* could happen before that normalization occurs.

  • Note the spaces surrounding OR.

from python-license-check.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.