Skip to content

docs: add SPDX license identifier #1391

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

scop
Copy link
Owner

@scop scop commented Jun 15, 2025

Related docs are not specific whether any amount of whitespace is acceptable before the id stanza, but I suppose it is. Going with more than one as it aligns better with the other commentary we have.

Closes #1389

Related docs are not specific whether any amount of whitespace is
acceptable before the id stanza, but I suppose it is. Going with more
than one as it aligns better with the other commentary we have.

* https://spdx.dev/learn/handling-license-info/#how
* https://github.com/spdx/using/blob/17d56be4f4b99df87a52ae4a352810214707f861/docs/using-SPDX-short-identifiers-in-source-files.md

Closes #1389
@scop scop mentioned this pull request Jun 15, 2025
@@ -19,6 +19,8 @@
# along with this program; if not, write to the Free Software Foundation,
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
# SPDX-License-Identifier: GPL-2.0-or-later
Copy link
Owner Author

Choose a reason for hiding this comment

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

I did not bother adding this to every source file, I suppose it's good enough this way. But no objections if someone wants to add it to more files, it's just an oneliner anyway.

Copy link
Collaborator

Choose a reason for hiding this comment

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

If it is added to all files, I think the copyright notices should also be added to all files at least.

# Copyright © 2006-2008, Ian Macdonald <ian@caliban.org>
# © 2009-2020, Bash Completion Maintainers

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

Successfully merging this pull request may close these issues.

License clarification
2 participants