Skip to content

Update SPDX headers in source files#28

Merged
goneall merged 1 commit intospdx:mainfrom
bact:update-spdx-headers
Jan 31, 2025
Merged

Update SPDX headers in source files#28
goneall merged 1 commit intospdx:mainfrom
bact:update-spdx-headers

Conversation

@bact
Copy link
Collaborator

@bact bact commented Jan 31, 2025

  • Put copyright texts to SPDX-FileCopyrightText:
    • For example: Copyright (c) 2023 Source Auditor Inc. -> SPDX-FileCopyrightText: Copyright (c) 2023 Source Auditor Inc.
  • Add SPDX-FileType: SOURCE
  • Follow header pattern since 2024 that do not include the content of the license
  • These should allow better parsing of copyright information and file type, also reduce the size of source files a bit
  • Add missing copyright header - using this template Copyright (c) YYYY Source Auditor Inc. where YYYY is the first year that that file appears on the GitHub repo
  • Add few missing Javadoc
  • See also: Add SPDX-FileCopyrightText and SPDX-FileType to source file header Spdx-Java-Library#291

- Put copyright texts to SPDX-FileCopyrightText
- Add SPDX-FileType: SOURCE
- Follow header pattern since 2024 that do not include the content of the license

Signed-off-by: Arthit Suriyawongkul <arthit@gmail.com>
@bact bact added the documentation Improvements or additions to documentation label Jan 31, 2025
@bact bact requested a review from goneall January 31, 2025 15:20
Copy link
Member

@goneall goneall left a comment

Choose a reason for hiding this comment

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

LGTM

@goneall goneall merged commit 166d495 into spdx:main Jan 31, 2025
3 checks passed
@bact bact deleted the update-spdx-headers branch January 31, 2025 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants