Skip to content

LGPL 3.0's license text is repeated twice in spdx/license-list-data #239

@figsoda

Description

@figsoda

I've only checked the json/details directory as this is the directory I'm using. Take the current HEAD for example:

$ curl https://raw.githubusercontent.com/spdx/license-list-data/7e1f010ac88e4b8b58bc889e9a9bf42cf6624273/json/details/LGPL-3.0-only.json | jq -r .licenseText | grep "Version 3, 29 June 2007"
Version 3, 29 June 2007
Version 3, 29 June 2007

The actual license text appears twice in the json field licenseText. This happens for all LGPL-3.0 variants.

GPL-3.0 or LGPL-2.0 don't have the same behavior, so I'm assuming this isn't intentional?

$ curl https://raw.githubusercontent.com/spdx/license-list-data/7e1f010ac88e4b8b58bc889e9a9bf42cf6624273/json/details/GPL-3.0-only.json | jq -r .licenseText | grep "Version 3, 29 June 2007"
Version 3, 29 June 2007

$ curl https://raw.githubusercontent.com/spdx/license-list-data/7e1f010ac88e4b8b58bc889e9a9bf42cf6624273/json/details/LGPL-2.0-only.json | jq -r .licenseText | grep "Version 2, June 1991"
Version 2, June 1991

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