Skip to content

Provide guidance on how to specify spdx license expression #433

@thompson-tomo

Description

@thompson-tomo

Currently the guides do not define how to include a spdx license expression within the gemspec.

The docs currently state for LICENSE

The license must be no more than 64 characters.

This should just be the name of your license. The full text of the license should be inside of the gem (at the top level) when you build it.

The simplest way is to specify the standard SPDX ID spdx.org/licenses/ for the license.

This should be changed to cater for the scenario where a gem is dual licensed.

This is important as tools such as fossa treat each license in the array as a seperate license due to them being unable to know how to combine them into an expression.

While at it we should discourage the usage of the array option and instead provide guidance on defining it as an expression.

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