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

Check SPDX license header in source codes #173

Merged
merged 8 commits into from
Mar 6, 2023

Commits on Mar 3, 2023

  1. Check SPDX license header in source codes

    Each source file should contain SPDX license header to clearly identify
    the license it's published with.
    More information about SPDX can be found at:
    
    * https://opensource.com/article/18/1/spdx-and-licensing
    * https://spdx.dev/
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    155cba3 View commit details
    Browse the repository at this point in the history
  2. Add SPDX header to hirte original C source code files

    1. Adds SPDX header mentioning GPL-2.0-or-later license into hirte
       original C source code files
    2. Adds GPL-2.0-or-later into approved licenses
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    cfff341 View commit details
    Browse the repository at this point in the history
  3. Add LGPL-2.1-or-later to the list of existing licenses

    Adds LGPL-2.1-or-later to the list of existing licenses, because it's
    used in `src/libhirte/common/list.h` containing list macros copied from
    systemd.
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    42372b9 View commit details
    Browse the repository at this point in the history
  4. Add BSD-3-Clause to the list of existing licenses

    Adds BSD-3-Clause to the list of existing licenses, because it's used in
    `src/libhirte/ini/`, which contains parsing of ini files copied from
    https://github.com/benhoyt/inih
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    1ef31c9 View commit details
    Browse the repository at this point in the history
  5. Add MIT to the list of existing licenses

    Adds MIT to the list of existing licenses, because it's used in
    `src/libhirte/hashmap/`, which contains hashmap implementation
    copied from https://github.com/tidwall/hashmap.c
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    d0cc3f7 View commit details
    Browse the repository at this point in the history
  6. Add SPDX header check also to XML files

    Adds SPDX header check also to XML files, which are included in hirte
    packages.
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    d4a61f9 View commit details
    Browse the repository at this point in the history
  7. Add SPDX header check also to meson.build files

    Adds SPDX header check also to meson.build files.
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    b56acf8 View commit details
    Browse the repository at this point in the history
  8. Add SPDX header check also to shell files

    Adds SPDX header check also to shell files.
    
    Signed-off-by: Martin Perina <mperina@redhat.com>
    mwperina committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    9c0abc6 View commit details
    Browse the repository at this point in the history