Skip to content

LicenseCompareHelper: GPL-2.0 license text not recognised #217

@sdheh

Description

@sdheh

License text: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Emoji represent whether this result is expected or not.

Results:
matchingStandardLicenseIdsWithinText -> empty list ❌
matchingStandardLicenseIds -> empty list ❌
isTextStandardLicense with GPL-2.0, GPL-2.0-only or GPL-2.0-or-later -> Additional text found after the end of the expected license text starting at line #280 column #21 "end" ❌

Results when excluding optional end (keep lines 1-278):
matchingStandardLicenseIdsWithinText -> empty list ❌
matchingStandardLicenseIds -> GPL-2.0, GPL-2.0-only or GPL-2.0-or-later ✅
isTextStandardLicense with GPL-2.0, GPL-2.0-only or GPL-2.0-or-later -> No difference found ✅

I also checked the difference between the optional text in the end of the GPL-2.0 license xml template and the license text using a diff tool and didn't find any difference.

Note: tested using version 1.1.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions