From f19b14bd88a1f9555b85bfa1b5e53a12783b02a7 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Sun, 18 Aug 2024 08:13:26 +0200 Subject: [PATCH] added SPDX header information to some files In the end of this progress Friendica will hopefully be [REUSE](https://reuse.software) complient but this is a longterm goal. --- .codecov.yml | 4 ++++ .ddev/config.yaml | 4 ++++ .editorconfig | 4 ++++ .gitattributes | 4 ++++ .github/ISSUE_TEMPLATE/bug_report.md | 6 ++++++ .github/ISSUE_TEMPLATE/config.yml | 4 ++++ .github/ISSUE_TEMPLATE/feature_request.md | 6 ++++++ .github/ISSUE_TEMPLATE/question.md | 6 ++++++ .github/dependabot.yml | 4 ++++ .gitignore | 4 ++++ .htaccess-dist | 4 ++++ .php-cs-fixer.dist.php | 6 ++++++ .php_cs.dist | 6 ++++++ .tx/config | 4 ++++ .woodpecker/.code_standards_check.yml | 4 ++++ .woodpecker/.continuous-deployment.yml | 4 ++++ .woodpecker/.database_checks.yml | 4 ++++ .woodpecker/.license_check.yml | 4 ++++ .woodpecker/.messages.po_check.yml | 4 ++++ .woodpecker/.phpunit.yml | 4 ++++ .woodpecker/.releaser.yml | 4 ++++ CHANGELOG.license | 3 +++ CONTRIBUTING.md.license | 3 +++ CREDITS.txt.license | 3 +++ Doxyfile.license | 3 +++ README.md.license | 3 +++ REUSE.toml.license | 3 +++ VERSION.license | 3 +++ Vagrantfile.license | 3 +++ bin/.htaccess.license | 3 +++ bin/composer.phar.license | 3 +++ bin/console | 4 ++++ bin/console.bat | 4 ++++ bin/run_xgettext.sh | 5 +++++ security.txt.license | 3 +++ translations.txt.license | 3 +++ 36 files changed, 143 insertions(+) create mode 100644 CHANGELOG.license create mode 100644 CONTRIBUTING.md.license create mode 100644 CREDITS.txt.license create mode 100644 Doxyfile.license create mode 100644 README.md.license create mode 100644 REUSE.toml.license create mode 100644 VERSION.license create mode 100644 Vagrantfile.license create mode 100644 bin/.htaccess.license create mode 100644 bin/composer.phar.license create mode 100644 security.txt.license create mode 100644 translations.txt.license diff --git a/.codecov.yml b/.codecov.yml index 7b6eecb66e..be8ab11829 100644 --- a/.codecov.yml +++ b/.codecov.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + codecov: branch: develop ci: diff --git a/.ddev/config.yaml b/.ddev/config.yaml index 26cba10525..28dd56a88b 100644 --- a/.ddev/config.yaml +++ b/.ddev/config.yaml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + name: my-friendica type: php docroot: "" diff --git a/.editorconfig b/.editorconfig index 610409143b..57445d869c 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + # editorconfig tool configuration # see http://editorconfig.org for docs diff --git a/.gitattributes b/.gitattributes index 18ba9e0758..915c608e7a 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,6 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + # Disable LF normalization for all files * -text diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 8e3ff067f6..605e11e136 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -1,3 +1,9 @@ + + --- name: Bug report about: Create a report to help us improve diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 7bdd4f066c..70ae203464 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + blank_issues_enabled: true contact_links: - name: Friendica Community Support diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index e65d397099..ed0a7f0c4e 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -1,3 +1,9 @@ + + --- name: Feature request about: Suggest an idea for this project diff --git a/.github/ISSUE_TEMPLATE/question.md b/.github/ISSUE_TEMPLATE/question.md index 86df437339..8eca53f4c7 100644 --- a/.github/ISSUE_TEMPLATE/question.md +++ b/.github/ISSUE_TEMPLATE/question.md @@ -1,3 +1,9 @@ + + --- name: Question / Support about: Select this if you have a question diff --git a/.github/dependabot.yml b/.github/dependabot.yml index f33a02cd16..9719a47b02 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + # To get started with Dependabot version updates, you'll need to specify which # package ecosystems to update and where the package manifests are located. # Please see the documentation for more information: diff --git a/.gitignore b/.gitignore index bbc83a55df..ce397308bf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + favicon.* /.htconfig.php /.htpreconfig.php diff --git a/.htaccess-dist b/.htaccess-dist index c5c1b5b716..bb53517fc3 100644 --- a/.htaccess-dist +++ b/.htaccess-dist @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + # This file is meant to be copied to ".htaccess" on Apache-powered web servers. # The created .htaccess file can be edited manually and will not be overwritten by Friendica updates. diff --git a/.php-cs-fixer.dist.php b/.php-cs-fixer.dist.php index 9345ee617e..64aeb6cf6c 100644 --- a/.php-cs-fixer.dist.php +++ b/.php-cs-fixer.dist.php @@ -1,3 +1,9 @@ + + + /dev/null; pwd) if [[ -d /proc/cygdrive && $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then diff --git a/bin/console.bat b/bin/console.bat index 06c41a03e6..438c4da0b2 100755 --- a/bin/console.bat +++ b/bin/console.bat @@ -1,3 +1,7 @@ +REM SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +REM +REM SPDX-License-Identifier: CC0-1.0 + @echo OFF :: in case DelayedExpansion is on and a path contains ! setlocal DISABLEDELAYEDEXPANSION diff --git a/bin/run_xgettext.sh b/bin/run_xgettext.sh index 254fc50699..1375f2b276 100755 --- a/bin/run_xgettext.sh +++ b/bin/run_xgettext.sh @@ -1,4 +1,9 @@ #!/bin/bash + +# SPDX-FileCopyrightText: 2010 - 2024 the Friendica project +# +# SPDX-License-Identifier: CC0-1.0 + set -eo pipefail function resolve { diff --git a/security.txt.license b/security.txt.license new file mode 100644 index 0000000000..8a315c7ab7 --- /dev/null +++ b/security.txt.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2010 - 2024 the Friendica project + +SPDX-License-Identifier: CC0-1.0 diff --git a/translations.txt.license b/translations.txt.license new file mode 100644 index 0000000000..8a315c7ab7 --- /dev/null +++ b/translations.txt.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2010 - 2024 the Friendica project + +SPDX-License-Identifier: CC0-1.0