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

Fix license and copyright headers #1027

Merged
merged 8 commits into from Mar 1, 2023
Merged

Fix license and copyright headers #1027

merged 8 commits into from Mar 1, 2023

Conversation

Xaymar
Copy link
Owner

@Xaymar Xaymar commented Feb 28, 2023

Explain the Pull Request

Fixes the copyright and license headers, while also cleaning up a bit. With the newly introduced tool it should be significantly easier to verify and update the copyright information for individual files.

Completion Checklist

  • This has been tested on the following platforms:
    • MacOS 10.15
    • MacOS 11
    • MacOS 12
    • Ubuntu 20.04
    • Ubuntu 22.04
    • Windows 10
    • Windows 11
  • The copyright headers and license files have been updated.
  • I will maintain this for the forseeable future, and have added myself to CODEOWNERS.

@Xaymar Xaymar force-pushed the patch/cleanup-and-copyright branch 6 times, most recently from 0651268 to 975432d Compare March 1, 2023 07:43
@Xaymar Xaymar changed the title Clean up files, fix license headers, and fix copyright headers Fix license and copyright headers Mar 1, 2023
@Xaymar Xaymar force-pushed the patch/cleanup-and-copyright branch 2 times, most recently from cfe58c7 to b71a9e1 Compare March 1, 2023 11:30
This tool aids in the proper upkeep of copyright headers for changes contained within this repository. It will generate a new header, or replace the original one if one exists. As this task has often been forgotten by both developers and contributors, having a tool manage this will hopefully improve the situation.

The choice of Node.JS for this tool was deliberate, as many developers and CI solutions already have Node.JS in a reasonably up to date version installed. Additionally the versatility of Node.JS eliminates the need to create custom or platform specific solutions for tasks that are relatively simple. While the performance is not ideal, it still completes its task relatively quickly.
Don't want to scan files we don't own. Not the greatest solution, but it does work.
Slightly relaxes the necessary amount of memory, as we are no longer loading everything all at once. Also for unknown reasons git interferes with other git processes running in the same repository only on Linux. This causes Linux runs of this tool to have strange issues detecting the authors, as git just quits with a success error code. Fun.
Fixes several files incorrectly stated a different license from the actual project, as well as the copyright headers included in all files. This change has no effect on the licensing terms, it should clear up a bit of confusion by contributors. Plus the files get a bit smaller, and we have less duplicated information across the entire project.

Overall the project is GPLv2 if not built with Qt, and GPLv3 if it is built with Qt. There are no parts licensed under a different license, all have been adapted from other compatible licenses into GPLv2 or GPLv3.
Strictly enforce up-to-date copyright headers using CI/CD.
@Xaymar Xaymar force-pushed the patch/cleanup-and-copyright branch from b71a9e1 to 76acc7c Compare March 1, 2023 11:50
@Xaymar Xaymar marked this pull request as ready for review March 1, 2023 12:11
@Xaymar Xaymar merged commit d5e6399 into root Mar 1, 2023
7 checks passed
@Xaymar Xaymar deleted the patch/cleanup-and-copyright branch March 1, 2023 12:11
@Xaymar Xaymar added this to the 0.12 milestone Mar 18, 2023
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.

None yet

1 participant