Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multi-licensed packages #4037

Closed
2bndy5 opened this issue Aug 23, 2021 · 1 comment
Closed

Support multi-licensed packages #4037

2bndy5 opened this issue Aug 23, 2021 · 1 comment
Milestone

Comments

@2bndy5
Copy link

2bndy5 commented Aug 23, 2021

I noticed the license field of the library.json only takes a string with 1 SPDX identifier. I have a lib that distributes with 3 different licenses (all have a SPDX identifier). I was wondering how to go about specifying this in the JSON (if possible). I would have guessed that the license field could optionally take a list of strings (all SPDX identifiers) in this scenario.

In the Meantime I have resorted to only specifying 1 of the 3 licenses in the JSON (its not published to PIO registry yet).

@ivankravets ivankravets changed the title [Request] support multi-licensed packages Support multi-licensed packages Aug 28, 2021
@ivankravets ivankravets added this to the Backlog milestone Feb 9, 2022
@ivankravets ivankravets modified the milestones: Backlog, 5.3.0 Mar 31, 2022
@ivankravets
Copy link
Member

See updated docs for https://docs.platformio.org/en/latest/librarymanager/config.html#license

You need to use SPDX Expression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants