Skip to content

Replace the licence blurbs with SPDX comments#798

Merged
mblaney merged 1 commit intosimplepie:masterfrom
jtojnar:spdx
Mar 19, 2023
Merged

Replace the licence blurbs with SPDX comments#798
mblaney merged 1 commit intosimplepie:masterfrom
jtojnar:spdx

Conversation

@jtojnar
Copy link
Member

@jtojnar jtojnar commented Feb 19, 2023

SPDX is a standard for describing licensing and copyright status of project files that has been gaining traction lately.
In addition to not filling more than half a screen, it is machine readable and can be used to produce Software Bill of Materials.
We are keeping the long header in the compiled single-file bundle since that might be copied into third-party projects in a way that makes it easy to accidentally forget also copying the license text.

https://reuse.software/tutorial/
https://www.linuxfoundation.org/blog/blog/solving-license-compliance-at-the-source-adding-spdx-license-ids

Fixes: #778

@Art4
Copy link
Contributor

Art4 commented Feb 19, 2023

Is this PR ready for review? Because I'm missing the LICENSES folder with the licenses.

@jtojnar
Copy link
Member Author

jtojnar commented Feb 19, 2023

Currently, there is only a single license so I kept it in the root.

@Art4
Copy link
Contributor

Art4 commented Feb 19, 2023

So, why not move the LICENSE.txt to LICENSES/BSD-3-Clause.txt and replace the content with the official one? If I understand it correct this would be the minimal requirement to be compliant with the spec.

SPDX is a standard for describing licensing and copyright status of project files that has been gaining traction lately.
In addition to not filling more than half a screen, it is machine readable and can be used to produce Software Bill of Materials.
We are keeping the long header in the compiled single-file bundle since that might be copied into third-party projects in a way that makes it easy to accidentally forget also copying the license text.

https://reuse.software/tutorial/
https://www.linuxfoundation.org/blog/blog/solving-license-compliance-at-the-source-adding-spdx-license-ids
@jtojnar
Copy link
Member Author

jtojnar commented Feb 19, 2023

Done.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use SPDX comments

3 participants