aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2024-05-27 10:08:53 +0200
committerAndy Scherzinger <info@andy-scherzinger.de>2024-05-27 14:53:40 +0200
commite07a1906418585ca60b7084e2f476e3dbc2a5fef (patch)
treea7e77db7edc87611baa9572008979689d4bd8361 /build
parentd87c23242b96903d59b978a936179f5441c26773 (diff)
downloadnextcloud-server-e07a1906418585ca60b7084e2f476e3dbc2a5fef.tar.gz
nextcloud-server-e07a1906418585ca60b7084e2f476e3dbc2a5fef.zip
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'build')
-rwxr-xr-xbuild/autoloaderchecker.sh3
-rwxr-xr-xbuild/buildjsdocs.sh7
-rwxr-xr-xbuild/compile-handlebars-templates.sh5
-rwxr-xr-xbuild/image-optimization.sh5
-rw-r--r--build/integration/.gitignore2
-rwxr-xr-xbuild/integration/run-docker.sh19
-rwxr-xr-xbuild/integration/run.sh6
-rw-r--r--build/integration/videoverification_features/sharing-v1-video-verification.feature2
-rwxr-xr-xbuild/merge-font-noto.sh18
-rwxr-xr-xbuild/openapi-checker.sh3
-rwxr-xr-xbuild/phpDocumentor.sh3
-rwxr-xr-xbuild/update-apps.sh4
-rwxr-xr-xbuild/update.sh4
13 files changed, 41 insertions, 40 deletions
diff --git a/build/autoloaderchecker.sh b/build/autoloaderchecker.sh
index 09bcff0b853..2df4b003f12 100755
--- a/build/autoloaderchecker.sh
+++ b/build/autoloaderchecker.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
COMPOSER_COMMAND="php composer.phar"
if [ -e "composer.phar" ]
diff --git a/build/buildjsdocs.sh b/build/buildjsdocs.sh
index dd2af210277..e40ecd7242b 100755
--- a/build/buildjsdocs.sh
+++ b/build/buildjsdocs.sh
@@ -1,12 +1,11 @@
#!/usr/bin/env bash
#
-# ownCloud
+# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+# SPDX-FileCopyrightText: 2014-2015 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
#
# Run JS tests
#
-# @author Vincent Petry
-# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
-#
NPM="$(which npm 2>/dev/null)"
OUTPUT_DIR="jsdocs"
diff --git a/build/compile-handlebars-templates.sh b/build/compile-handlebars-templates.sh
index 6a9397de3fa..0e990f5ede3 100755
--- a/build/compile-handlebars-templates.sh
+++ b/build/compile-handlebars-templates.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
-
+#
+# SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
REPODIR=`git rev-parse --show-toplevel`
cd $REPODIR
diff --git a/build/image-optimization.sh b/build/image-optimization.sh
index 5556dbdf31c..ddb213ea5bb 100755
--- a/build/image-optimization.sh
+++ b/build/image-optimization.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
-
+#
+# SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
set -e
OPTIPNG=$(which optipng)
diff --git a/build/integration/.gitignore b/build/integration/.gitignore
index 18b981bf7ed..c8af938d6ab 100644
--- a/build/integration/.gitignore
+++ b/build/integration/.gitignore
@@ -1,3 +1,5 @@
+# SPDX-FileCopyrightText: 2015 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
vendor
output
composer.lock
diff --git a/build/integration/run-docker.sh b/build/integration/run-docker.sh
index 080a992eefd..f49fd3ea650 100755
--- a/build/integration/run-docker.sh
+++ b/build/integration/run-docker.sh
@@ -1,22 +1,7 @@
#!/usr/bin/env bash
-# @copyright Copyright (c) 2017, Daniel Calviño Sánchez (danxuliu@gmail.com)
-# @copyright Copyright (c) 2018, Daniel Calviño Sánchez (danxuliu@gmail.com)
-#
-# @license GNU AGPL version 3 or any later version
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
# Helper script to run the integration tests on a fresh Nextcloud server through
# Docker.
diff --git a/build/integration/run.sh b/build/integration/run.sh
index 09c1d544c6d..cef59c976af 100755
--- a/build/integration/run.sh
+++ b/build/integration/run.sh
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
-
+#
+# SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
+# SPDX-FileCopyrightText: 2015-2016 ownCloud, Inc.
+# SPDX-License-Identifier: AGPL-3.0-only
+#
OC_PATH=../../
OCC=${OC_PATH}occ
TAGS=""
diff --git a/build/integration/videoverification_features/sharing-v1-video-verification.feature b/build/integration/videoverification_features/sharing-v1-video-verification.feature
index cc4be425aab..0bd4ed4b0f2 100644
--- a/build/integration/videoverification_features/sharing-v1-video-verification.feature
+++ b/build/integration/videoverification_features/sharing-v1-video-verification.feature
@@ -1,4 +1,6 @@
@Talk
+# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
Feature: sharing
Background:
Given using api version "1"
diff --git a/build/merge-font-noto.sh b/build/merge-font-noto.sh
index ee4831dac74..603f6dba9d3 100755
--- a/build/merge-font-noto.sh
+++ b/build/merge-font-noto.sh
@@ -1,21 +1,7 @@
#!/usr/bin/env bash
-# @copyright Copyright (c) 2021, Daniel Calviño Sánchez (danxuliu@gmail.com)
-#
-# @license GNU AGPL version 3 or any later version
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU Affero General Public License as
-# published by the Free Software Foundation, either version 3 of the
-# License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU Affero General Public License for more details.
-#
-# You should have received a copy of the GNU Affero General Public License
-# along with this program. If not, see <http://www.gnu.org/licenses/>.
+# SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
# Helper script to merge several Noto fonts in a single TTF file.
#
diff --git a/build/openapi-checker.sh b/build/openapi-checker.sh
index 00b2b7d7baa..5ad6e619ec3 100755
--- a/build/openapi-checker.sh
+++ b/build/openapi-checker.sh
@@ -1,5 +1,8 @@
#!/usr/bin/env bash
+# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
for path in core apps/*; do
if [ ! -f "$path/.noopenapi" ] && [[ "$(git check-ignore "$path")" != "$path" ]]; then
composer exec generate-spec "$path" "$path/openapi.json" || exit 1
diff --git a/build/phpDocumentor.sh b/build/phpDocumentor.sh
index fd8afba4641..452f756aecc 100755
--- a/build/phpDocumentor.sh
+++ b/build/phpDocumentor.sh
@@ -1,5 +1,8 @@
#!/bin/bash
+# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+
wget https://phpdoc.org/phpDocumentor.phar
mkdir -p api/
diff --git a/build/update-apps.sh b/build/update-apps.sh
index e4611a79aff..444fd84c73e 100755
--- a/build/update-apps.sh
+++ b/build/update-apps.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+#
+# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
# Update Nextcloud apps from latest git master
# For local development environment
# Use from Nextcloud server folder with `./build/update-apps.sh`
diff --git a/build/update.sh b/build/update.sh
index 3a3d2eac5dc..4f20535d917 100755
--- a/build/update.sh
+++ b/build/update.sh
@@ -1,4 +1,8 @@
#!/bin/bash
+#
+# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
+# SPDX-License-Identifier: AGPL-3.0-or-later
+#
# Update Nextcloud server and apps from latest git master
# For local development environment
# Use from Nextcloud server folder with `./build/update.sh`