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

Commits on Mar 1, 2023

  1. tools: Add tool to generate and update copyright headers

    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.
    Xaymar committed Mar 1, 2023
    Copy the full SHA
    cf6738c View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    92fced7 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    9a89739 View commit details
    Browse the repository at this point in the history
  4. tools: Safely handle Ctrl-C and ignore some additional files

    Don't want to scan files we don't own. Not the greatest solution, but it does work.
    Xaymar committed Mar 1, 2023
    Copy the full SHA
    6f24f86 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    7ab9236 View commit details
    Browse the repository at this point in the history
  6. tools: Rate limit operation and fix strange buffer issues

    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.
    Xaymar committed Mar 1, 2023
    Copy the full SHA
    c28ff68 View commit details
    Browse the repository at this point in the history
  7. project: Fix License, License headers and Copyright information

    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.
    Xaymar committed Mar 1, 2023
    Copy the full SHA
    79ea65e View commit details
    Browse the repository at this point in the history
  8. ci: Add validation for Copyright headers

    Strictly enforce up-to-date copyright headers using CI/CD.
    Xaymar committed Mar 1, 2023
    Copy the full SHA
    76acc7c View commit details
    Browse the repository at this point in the history