-
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. Since we don't have any boilerplate now, we don't need now the `hack/boilareplate.go.txt`. The `LICENSE` file was moved to `LICENSES/Apache-2.0.txt`, so we can check the project with the reuse tool: $ reuse lint # 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: 237 / 237 * Files with license information: 237 / 237 Congratulations! Your project is compliant with version 3.0 of the REUSE Specification :-) LICENSE is now a symbolic link to `LICENSES/Apache-2.0.txt` to make GitHub and Go tools happy. [1] https://spdx.dev/ [2] https://reuse.software/ Signed-off-by: Nir Soffer <[email protected]>
- Loading branch information
Showing
242 changed files
with
848 additions
and
992 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.