Skip to content

Add SPDX-License-Identifiers to files - #1902

Open
illuusio wants to merge 7 commits into
libevent:masterfrom
illuusio:add-spdx-license-indentifiers
Open

illuusio wants to merge 7 commits into
libevent:masterfrom
illuusio:add-spdx-license-indentifiers

Conversation

@illuusio

@illuusio illuusio commented Aug 6, 2026

Copy link
Copy Markdown

Add SPDX-License-Identifiers for files. Different licenses are in separated commits.

@kev009 kev009 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The remaining identifiers match their existing license headers, including the historical CC-PDDC dedication. git diff --check is clean, and the patch changes comments only.

This does not appear to be intended as a repository-wide SPDX pass—tests and several CMake files remain untagged. That is fine, but it would help to clarify the intended scope in the PR description.

Comment thread sample/ssl-client-mbedtls.c Outdated
@@ -1,4 +1,6 @@
/*
* SPDX-License-Identifier: Apache-2.0

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file already has the identical SPDX-License-Identifier: Apache-2.0 below at line 7. Please remove this addition, or drop commit 124ac82c entirely.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've update this one. Slipped through my eyes.

Comment thread compat/sys/tree.h
@@ -1,5 +1,7 @@
/* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */
/*
* SPDX-License-Identifier: BSD-2-Clause

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add the same BSD-2-Clause identifier to WIN32-Code/tree.h. It has the same license header and is also shipped by the build, so leaving that copy untagged appears accidental.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update this one also.

Add SPDX-License-Identifier to files with BSD-3-Clause AND CC-PDDC
@illuusio

illuusio commented Sep 4, 2026

Copy link
Copy Markdown
Author

This does not appear to be intended as a repository-wide SPDX pass—tests and several CMake files remain untagged. That is fine, but it would help to clarify the intended scope in the PR description.

I can tag CMakefiles. Am I wrong if assume they are BSD-3-Clause?

@kev009

kev009 commented Sep 4, 2026

Copy link
Copy Markdown
Member

This does not appear to be intended as a repository-wide SPDX pass—tests and several CMake files remain untagged. That is fine, but it would help to clarify the intended scope in the PR description.

I can tag CMakefiles. Am I wrong if assume they are BSD-3-Clause?

Yes the 3-clause covers all the project files by default

Add SPDX-License-Identifier to files with BSD-3-Clause
Add SPDX-License-Identifier to files with BSD-2-Clause
Add SPDX-License-Identifier to files with MIT
Add SPDX-License-Identifier to files with curl
Add SPDX-License-Identifier to files with ISC
Add SPDX-License-Identifier to files with LicenseRef-PublicDomain
@illuusio
illuusio force-pushed the add-spdx-license-indentifiers branch from 463d477 to e4f42b2 Compare September 4, 2026 09:30
@illuusio

illuusio commented Sep 4, 2026

Copy link
Copy Markdown
Author

The remaining identifiers match their existing license headers, including the historical CC-PDDC dedication. git diff --check is clean, and the patch changes comments only.

This one I didn't quit get. Should they be just BSD-3-Clause?

@illuusio

illuusio commented Sep 4, 2026

Copy link
Copy Markdown
Author

Yes the 3-clause covers all the project files by default

I've added them also with a update. For me it's ok to squash everything into one commit if it's more convenient.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants