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

Update copyright and license headers to SPDX compliant format #2790

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Commits on Aug 1, 2024

  1. Update single licensed headers to SPDX format

    - Update copyright information to be compliant to SPDX
    - Update to current year
    - Update BSD license headers to be compliant to SPDX
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    f76e33f View commit details
    Browse the repository at this point in the history
  2. Update mixed licensed headers to SPDX format

    - Update license and copyright headers to SPDX which were originally
      licensed under Apache-2.0, Apache-2.0 with llvm-exception or
    GPL-2.0-or-later
    - Remove additionally added BSD-3-Clause license identifier
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    3afd2be View commit details
    Browse the repository at this point in the history
  3. Add SPDX compliant headers to CMakeLists.txt files

    - Put all CMakeLists.txt file under BSD-3-Clause license
    - Add copyright date from 2021-2024 for all CMakeLists.txt files
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    6d95fcb View commit details
    Browse the repository at this point in the history
  4. Add SPDX compliant headers to various files

    - scripts
    - workflow files
    - git files
    - version files
    - config files
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    b987e8d View commit details
    Browse the repository at this point in the history
  5. Add license files for all occuring licenses

    - Source of license text files: https://github.com/spdx/license-list-data/tree/main/text
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    2de49a6 View commit details
    Browse the repository at this point in the history
  6. Add support for REUSE

    - REUSE can be used to verify license/copyright headers
    - REUSE makes licenses/copyrights machine-radable
    - Install REUSE via:
    ```bash
    python3 -m pip install reuse # Install reuse
    reuse lint # Validate copyright and license information
    ```
    - With REUSE.toml files that cannot easily get a license/copyright headers (e.g. auto generated files) get also the license/copyright information for REUSE
    - More information about REUSE: https://reuse.software/
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    eb0a8fc View commit details
    Browse the repository at this point in the history
  7. Update check_copyright_date for SPDX format header

    - Copyright date is now in the second line of each file
    
    Signed-off-by: Gilg Heike <Heike.Gilg@infineon.com>
    HeikeGilg committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    a9f0698 View commit details
    Browse the repository at this point in the history