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

Cleanup copyright and licensing information and make the project REUSE compliant #60

Merged
merged 17 commits into from
Jul 10, 2023

Conversation

mknejp
Copy link
Owner

@mknejp mknejp commented Jul 9, 2023

Make the project REUSE compliant and in doing so cleanup copyright
and license handling.

This consists of:

  • Creating an AUTHORS.txt file listing the "dotVariant Authors" and
    embedding it in the dotVariant package. Don't rely on version control
    history as it might be incomplete, incorrect, or just not present (by
    making a plain copy of the project files).

  • Changing all the existing file headers of C# files to:

    // SPDX-FileCopyrightText: 2021 The dotVariant Authors (see AUTHORS.txt)
    //
    // SPDX-License-Identifier: BSL-1.0
  • Adding the following to simple configuration files, like .gitignore
    and similar. As those are usually not considered copyrightable we use
    the CC0-1.0 license for these files, putting them in the public
    domain.

    SPDX-FileCopyrightText: 2021 The dotVariant Authors (see AUTHORS.txt)
    
    SPDX-License-Identifier: CC0-1.0
    
  • Adding entries to ./reuse/dep5 for files which are mostly
    tool-generated or where maintaining a file header is difficult (or
    even impossible), or which can no longer be parsed by tools if a
    copyright header is present. They are licensed under CC0-1.0.

  • Adding entries to ./reuse/dep5 for the *.out.cs sample files,
    which are tool-generated and thus have their copyright header removed
    (which conveniently also simplifies the testing procedure).
    They are licensed under CC0-1.0.

  • Automating the process of embedding licenses of third-party packages
    inside the dotVariant package. Use dotnet-project-licenses to
    gather the license files and embed them in the package together with
    the content of the /LICENSES folder. As this step can take a while
    it is only performed when building the final package in the publishing
    workflow.

  • Adding a new workflow to ensure the project remains REUSE compliant.

@mknejp
Copy link
Owner Author

mknejp commented Jul 9, 2023

@TheBlubb14 @jvbsl as you are existing authors of the project please respond with a comment whether you approve of these licensing changes or if you would like anything changed.

@jvbsl
Copy link
Contributor

jvbsl commented Jul 9, 2023

All good. Approved from me

@TheBlubb14
Copy link
Contributor

LGTM

AUTHORS.txt Outdated Show resolved Hide resolved
Co-authored-by: Daniel <[email protected]>
@mknejp mknejp merged commit ea89af8 into stable Jul 10, 2023
23 checks passed
@mknejp mknejp deleted the work/reuse-compliance branch July 10, 2023 14:37
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.

3 participants