diff --git a/tools/adb/deeplink.sh b/tools/adb/deeplink.sh index 5d50ec9409..05a244066e 100755 --- a/tools/adb/deeplink.sh +++ b/tools/adb/deeplink.sh @@ -1,19 +1,9 @@ #! /bin/bash + +# Copyright 2023-2024 New Vector Ltd. # -# Copyright (c) 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. # Format is: # elementx://open/{sessionId} to open a session diff --git a/tools/adb/deeplink_external.sh b/tools/adb/deeplink_external.sh index c5a03c5f40..4a86c35387 100755 --- a/tools/adb/deeplink_external.sh +++ b/tools/adb/deeplink_external.sh @@ -1,19 +1,9 @@ #! /bin/bash + +# Copyright 2024 New Vector Ltd. # -# Copyright (c) 2024 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE \ -d "https://app.element.io/#/room/!cuqHozLHNBgupgLMKN:matrix.org/%24LZDOueY3R8OD2ZYf8FLKtu95aF7imLBC3F5TIUj-4cc" diff --git a/tools/adb/deeplink_matrixto.sh b/tools/adb/deeplink_matrixto.sh index 2153937288..6adb182441 100755 --- a/tools/adb/deeplink_matrixto.sh +++ b/tools/adb/deeplink_matrixto.sh @@ -1,19 +1,9 @@ #! /bin/bash + +# Copyright 2024 New Vector Ltd. # -# Copyright (c) 2024 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. adb shell am start -a android.intent.action.VIEW \ -d "element://room/%23element-android%3Amatrix.org" diff --git a/tools/check/check_code_quality.sh b/tools/check/check_code_quality.sh index a72d2f4a40..f1a437cdbe 100755 --- a/tools/check/check_code_quality.sh +++ b/tools/check/check_code_quality.sh @@ -1,20 +1,9 @@ #!/usr/bin/env bash +# Copyright 2023-2024 New Vector Ltd. # -# Copyright 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. ####################################################################################################################### # Search forbidden pattern diff --git a/tools/check/forbidden_strings_in_code.txt b/tools/check/forbidden_strings_in_code.txt index 8eaa4eecd6..47e84601b8 100755 --- a/tools/check/forbidden_strings_in_code.txt +++ b/tools/check/forbidden_strings_in_code.txt @@ -1,18 +1,7 @@ +# Copyright 2023-2024 New Vector Ltd. # -# Copyright 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. # This file list String which are not allowed in source code. # Use Perl regex to write forbidden strings diff --git a/tools/docs/generateModuleGraph.sh b/tools/docs/generateModuleGraph.sh index 099ec4cddb..a8a4544af2 100755 --- a/tools/docs/generateModuleGraph.sh +++ b/tools/docs/generateModuleGraph.sh @@ -1,20 +1,9 @@ #!/usr/bin/env bash +# Copyright 2022-2024 New Vector Ltd. # -# Copyright (c) 2022 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. ## Dependency graph https://github.com/savvasdalkitsis/module-dependency-graph dotPath=$(pwd)/docs/images/module_graph.dot diff --git a/tools/localazy/downloadStrings.sh b/tools/localazy/downloadStrings.sh index a80b4228f2..4208f137fc 100755 --- a/tools/localazy/downloadStrings.sh +++ b/tools/localazy/downloadStrings.sh @@ -1,20 +1,9 @@ #! /bin/bash +# Copyright 2023-2024 New Vector Ltd. # -# Copyright (c) 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. set -e diff --git a/tools/quality/check.sh b/tools/quality/check.sh index 86eeb84b58..4d3e1c6856 100755 --- a/tools/quality/check.sh +++ b/tools/quality/check.sh @@ -1,20 +1,9 @@ #!/usr/bin/env bash +# Copyright 2023-2024 New Vector Ltd. # -# Copyright 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. # List of tasks to run before creating a PR, to limit the risk of getting rejected by the CI. # Can be used as a git hook if you want. diff --git a/tools/templates/generate_templates.sh b/tools/templates/generate_templates.sh index 1c9334446c..2e9427bf29 100755 --- a/tools/templates/generate_templates.sh +++ b/tools/templates/generate_templates.sh @@ -1,20 +1,9 @@ #!/usr/bin/env bash +# Copyright 2023-2024 New Vector Ltd. # -# Copyright 2023 New Vector Ltd -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# +# SPDX-License-Identifier: AGPL-3.0-only +# Please see LICENSE in the repository root for full details. echo "Zipping the contents of the 'files' directory..."