-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SPDX copyright and license headers
The modern way to specify copyright and license is using SPDX[1] headers. This is nicer for developers and more friendly for programs that want to extract this info. This change was created by the ruse tool[2], using this command: reuse init ... reuse addheader \ --copyright 'The RamenDR authors' \ --license Apache-2.0 \ --exclude-year \ --skip-unrecognised \ --template ramen \ `git ls-files` Few unrecognized files were modified manually. The copyright excludes the years since this info is not really needed, and this avoids the work of updating all copyrights every year. The `LICENSE` file was moved to `LICENSES/Apache-2.0.txt`, so we can check the project with the reuse tool. LICENSE is now a symbolic link to `LICENSES/Apache-2.0.txt` to make GitHub and Go tools happy. Checking the source with the ruse too show that we are not done yet: $ reuse lint # MISSING COPYRIGHT AND LICENSING INFORMATION The following files have no copyright and licensing information: * config/crd/bases/ramendr.openshift.io_drclusters.yaml * config/crd/bases/ramendr.openshift.io_drplacementcontrols.yaml * config/crd/bases/ramendr.openshift.io_drpolicies.yaml * config/crd/bases/ramendr.openshift.io_protectedvolumereplicationgrouplists.yaml * config/crd/bases/ramendr.openshift.io_volumereplicationgroups.yaml # SUMMARY * Bad licenses: * Deprecated licenses: * Licenses without file extension: * Missing licenses: * Unused licenses: * Used licenses: Apache-2.0 * Read errors: 0 * Files with copyright information: 233 / 238 * Files with license information: 233 / 238 Unfortunately, your project is not compliant with version 3.0 of the REUSE Specification :-( The files in `config/crd/bases` seems to be generated during the build without the SPDX headers, and the CI sanity check fail the build. This will be fixed in a later commit. [1] https://spdx.dev/ [2] https://reuse.software/ Signed-off-by: Nir Soffer <[email protected]>
- Loading branch information
Showing
237 changed files
with
840 additions
and
1,009 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
Upstream-Name: Ramen | ||
Upstream-Contact: The RamenDR authors | ||
Source: https://github.com/RamenDR/ramen | ||
|
||
# Sample paragraph, commented out: | ||
# | ||
# Files: src/* | ||
# Copyright: $YEAR $NAME <$CONTACT> | ||
# License: ... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{% for copyright_line in copyright_lines %} | ||
{{ copyright_line }} | ||
{% endfor %} | ||
{% for expression in spdx_expressions %} | ||
SPDX-License-Identifier: {{ expression }} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
LICENSES/Apache-2.0.txt |
Oops, something went wrong.