life00 / awecron.sh

small and simple cron that is the best option for desktop users
MIT License
3 stars 3 forks source link

Add SPDX License Identifier #9

Closed inferenceus closed 4 months ago

inferenceus commented 8 months ago

This pull request adds the project license header in the official SPDX License Identifier format, making it ISO 5962:2021-compilant. This should be applied to all text-based source files within the project if there are more than only this one.

A copyright string should also be added, but this is not a part of the standard.

life00 commented 8 months ago

Ok I might consider adding it when I'll have time to work on this project again. I'll keep this open as a reminder.

inferenceus commented 8 months ago

Ok I might consider adding it when I'll have time to work on this project again. I'll keep this open as a reminder.

SPDX is where the world is heading now that it's a standard (since 2021). It's an easy and standardised way to make it easy to know which file is licensed under which license. The older-style headers which are typically an excerpt of the license, or the entire license itself, have been obsoleted by this. It's also run by The Linux Foundation.

I strongly recommend applying the SPDX-License-Identifier: <license> line in every source file in every project you create from this point. Some projects even expect it to exist. See the SPDX License List for a complete list of all available licenses.

inferenceus commented 8 months ago

It seems that the other files in this repository are so small and contain only key-value pairs, they can't be copyrighted. Copyright applies only when a file is of a minimum amount of effort versus what anyone else could do, and I doubt it applies to key-value pairs which apply to everyone using the software (in this case, Bash). It should be fine to just merge this pull request since it's the only file which could be copyrighted, based on size and contents.