diff --git a/.devcontainer/devcontainer-lock.json.license b/.devcontainer/devcontainer-lock.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/.devcontainer/devcontainer-lock.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/.devcontainer/devcontainer.json.license b/.devcontainer/devcontainer.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/.devcontainer/devcontainer.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/.devcontainer/post_create_command.sh b/.devcontainer/post_create_command.sh index 8aff88e..493879d 100755 --- a/.devcontainer/post_create_command.sh +++ b/.devcontainer/post_create_command.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* @@ -19,5 +20,3 @@ pre-commit install scripts/create_builder.sh sudo apt-get update && sudo apt-get install -y shellcheck - -scripts/install_opengrep.sh diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index b8126a3..17b02b1 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1 +1,15 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + * @opajonk @lurtz diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 88d5861..0a17ef4 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,5 +1,4 @@ --- - # ******************************************************************************* # Copyright (c) 2026 Contributors to the Eclipse Foundation # @@ -10,6 +9,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6d99e7c..e088882 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,5 +1,4 @@ --- - # ******************************************************************************* # Copyright (c) 2026 Contributors to the Eclipse Foundation # @@ -10,6 +9,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/.gitignore b/.gitignore index fe3334a..0c08d08 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,17 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + # Exported image files shall never be committed. /export.img build/ diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3b03496..8481591 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,18 @@ --- +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: 3e8a8703264a2f4a69428a0aa4dcb512790b2c8c # v6.0.0 @@ -21,10 +35,8 @@ repos: hooks: - id: shellcheck - - repo: local + - repo: https://codeberg.org/fsfe/reuse-tool + rev: a1bb792acda6fd0724936b4ebbdbc8eceb9c0459 # v6.2.0 hooks: - - id: opengrep - name: Check Mandatory OpenGrep Rules - entry: ./opengrep/run_opengrep.sh - language: system - pass_filenames: false + - id: reuse-lint-file + name: reuse-lint-file (fix with `./scripts/run_reuse_annotate.sh`) diff --git a/.reuse/templates/apache-2.0.jinja2 b/.reuse/templates/apache-2.0.jinja2 new file mode 100644 index 0000000..e4de4d1 --- /dev/null +++ b/.reuse/templates/apache-2.0.jinja2 @@ -0,0 +1,17 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +{% for copyright_line in copyright_lines %} +{{ copyright_line }} +{% endfor %} +{% for expression in spdx_expressions %} +SPDX-License-Identifier: {{ expression }} +{% endfor %} +******************************************************************************* diff --git a/.shellcheckrc b/.shellcheckrc index a0212bf..2d48e04 100644 --- a/.shellcheckrc +++ b/.shellcheckrc @@ -1,3 +1,17 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + external-sources=true # Enable all checks as long as it works diff --git a/LICENSE b/LICENSES/Apache-2.0.txt similarity index 100% rename from LICENSE rename to LICENSES/Apache-2.0.txt diff --git a/NOTICE b/NOTICE index 5d111d4..f878f72 100644 --- a/NOTICE +++ b/NOTICE @@ -1,3 +1,19 @@ + + # Notices for Eclipse Safe Open Vehicle Core This content is produced and maintained by the Eclipse Safe Open Vehicle Core project. diff --git a/README.md b/README.md index ff9bf62..30c1538 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,19 @@ + + # Common DevContainer for Eclipse S-CORE This repository contains the common [development container](https://containers.dev) for [Eclipse S-CORE](https://github.com/eclipse-score). It contains all tools required to develop (modify, build, ...) Eclipse S-CORE. @@ -100,6 +116,14 @@ There should rarely be a need to modify this. * `.github/` contains the regular GitHub setup, with code owners and CI. * `resources/` contains a few screenshots. +### License and copyright checks + +This repo uses [`reuse`](https://codeberg.org/fsfe/reuse-tool) to check for and validate licenses and copyrights. +Checks are performend via pre-commit hooks. + +If you want to run it standalone run `pipx run reuse lint` in a terminal. +To fix found issues run `scripts/run_reuse_annotate.sh`. + ### Modify, Build, Test, Use It is very simple to develop the development container. diff --git a/docs/README.md b/docs/README.md index d1c3c33..20f8a09 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,3 +1,19 @@ + + # S-CORE DevContainer Architecture This document explains how the S-CORE DevContainer is designed, built and what its requirements are. diff --git a/opengrep/mandatory/copyright.yaml b/opengrep/mandatory/copyright.yaml deleted file mode 100644 index 9e984ce..0000000 --- a/opengrep/mandatory/copyright.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- - -# ******************************************************************************* -# Copyright (c) 2026 Contributors to the Eclipse Foundation -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This program and the accompanying materials are made available under the -# terms of the Apache License Version 2.0 which is available at -# https://www.apache.org/licenses/LICENSE-2.0 -# -# SPDX-License-Identifier: Apache-2.0 -# ******************************************************************************* - -rules: - - id: copyright_shell_yaml - patterns: - - pattern-regex: | - (?s)(.*) - - pattern-not-regex: (?m)^# \*{79}\n# Copyright \(c\) [0-9]{4} Contributors to the Eclipse Foundation\n#\n# See the NOTICE file\(s\) distributed with - this work for additional\n# information regarding copyright ownership.\n#\n# This program and the accompanying materials are made available under - the\n# terms of the Apache License Version 2.0 which is available at\n# https://www.apache.org/licenses/LICENSE-2.0\n#\n# SPDX-License-Identifier. - Apache-2.0\n# \*{79}$ - message: All files must contain the mandatory copyright header. - languages: - - generic - severity: ERROR - paths: - include: - - '*.sh' - - '*.yaml' - - '*.yml' diff --git a/opengrep/run_opengrep.sh b/opengrep/run_opengrep.sh deleted file mode 100755 index 1b3ede4..0000000 --- a/opengrep/run_opengrep.sh +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/env bash - -# ******************************************************************************* -# Copyright (c) 2026 Contributors to the Eclipse Foundation -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This program and the accompanying materials are made available under the -# terms of the Apache License Version 2.0 which is available at -# https://www.apache.org/licenses/LICENSE-2.0 -# -# SPDX-License-Identifier: Apache-2.0 -# ******************************************************************************* - -set -exuo pipefail - -# This script runs opengrep in such a way that it only works on the changeset that is to be checked -# when running opengrep in the scope of a precommit hook. -# The CI system runs the same script, but in that context no changeset exists, so all files are to -# be checked. This also solves the problem that it is technically possible to work around the -# precommit checks. - -changeset="$(git diff --staged --diff-filter=ACM --name-only)" -length="${#changeset}" -if [[ ${length} -gt 2048 ]]; then - # The changeset is too long, it would result in errors from opengrep/underlying OS about filenames - # being too long. Workaround: ignore the changeset and run opengrep on all files. - changeset="" -fi -if [[ -z "${changeset}" ]]; then - # Limit concurrency to 2 threads to reduce memory consumption - OPENGREP_MAX_CONCURRENCY="--jobs=1" - # No changeset, run opengrep on all files - changeset="." - opengrep scan "${OPENGREP_MAX_CONCURRENCY}" --error --disable-version-check --skip-unknown-extensions --emacs --sarif-output=build/opengrep.sarif -f ./opengrep/mandatory/ "${changeset}" -else - # When changing ${changeset} to "${changeset}" it will break the script, ${changeset} actually contains *multiple* filenames - # shellcheck disable=SC2086 - opengrep scan --error --disable-version-check --skip-unknown-extensions --emacs -f ./opengrep/mandatory/ ${changeset} -fi diff --git a/resources/devcontainer_success.png.license b/resources/devcontainer_success.png.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/resources/devcontainer_success.png.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/resources/reopen_in_container.png.license b/resources/reopen_in_container.png.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/resources/reopen_in_container.png.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/scripts/build.sh b/scripts/build.sh index ae6e6f3..d60bf62 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/scripts/create_builder.sh b/scripts/create_builder.sh index 12724b3..7be413f 100755 --- a/scripts/create_builder.sh +++ b/scripts/create_builder.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/scripts/install_opengrep.sh b/scripts/install_opengrep.sh deleted file mode 100755 index 706fce1..0000000 --- a/scripts/install_opengrep.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# ******************************************************************************* -# Copyright (c) 2026 Contributors to the Eclipse Foundation -# -# See the NOTICE file(s) distributed with this work for additional -# information regarding copyright ownership. -# -# This program and the accompanying materials are made available under the -# terms of the Apache License Version 2.0 which is available at -# https://www.apache.org/licenses/LICENSE-2.0 -# -# SPDX-License-Identifier: Apache-2.0 -# ******************************************************************************* - -echo "installing opengrep..." - -OPENGREP_NAME="/tmp/opengrep" - -VERSION="1.15.1" - -ARCHITECTURE="$(uname -m)" -if [ "${ARCHITECTURE}" = "x86_64" ]; then - ARCH="x86" - SHA256SUM="c4f6aab1edc8130c7a46e8f5e5215763420740fb94198fc9301215135a372900" -else - ARCH="aarch64" - SHA256SUM="08932db32f4cbfd6e3af6bda82adac41754275d18a91c0fe065181e6a5291be7" -fi - -curl -L "https://github.com/opengrep/opengrep/releases/download/v${VERSION}/opengrep_manylinux_${ARCH}" -o /tmp/opengrep -echo "${SHA256SUM} /tmp/opengrep" | sha256sum -c - || exit 1 -chmod +x "${OPENGREP_NAME}" -sudo mv /tmp/opengrep /usr/local/bin/opengrep - -# Verify installation -opengrep --version diff --git a/scripts/merge.sh b/scripts/merge.sh index 73a2ce5..6f0aff2 100755 --- a/scripts/merge.sh +++ b/scripts/merge.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/scripts/publish.sh b/scripts/publish.sh index 25c8886..210368a 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/scripts/run_reuse_annotate.sh b/scripts/run_reuse_annotate.sh new file mode 100755 index 0000000..c3f1463 --- /dev/null +++ b/scripts/run_reuse_annotate.sh @@ -0,0 +1,27 @@ +#!/usr/bin/env bash + +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + +set -euxo pipefail + +SCRIPT_PATH=$(readlink -f "$0") +SCRIPT_DIR=$(dirname -- "${SCRIPT_PATH}") + +pushd "${SCRIPT_DIR}/.." > /dev/null + +pipx run reuse annotate --template apache-2.0 --merge-copyrights --recursive --skip-unrecognised \ + --copyright="Contributors to the Eclipse Foundation" --license=Apache-2.0 ./* ./.* + +popd > /dev/null diff --git a/scripts/test.sh b/scripts/test.sh index c16563b..4ab7f21 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/Dockerfile b/src/s-core-devcontainer/.devcontainer/Dockerfile index 6589b2f..ea99df0 100644 --- a/src/s-core-devcontainer/.devcontainer/Dockerfile +++ b/src/s-core-devcontainer/.devcontainer/Dockerfile @@ -1,3 +1,17 @@ +# ******************************************************************************* +# Copyright (c) 2026 Contributors to the Eclipse Foundation +# +# See the NOTICE file(s) distributed with this work for additional +# information regarding copyright ownership. +# +# This program and the accompanying materials are made available under the +# terms of the Apache License Version 2.0 which is available at +# https://www.apache.org/licenses/LICENSE-2.0 +# +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +# SPDX-License-Identifier: Apache-2.0 +# ******************************************************************************* + FROM buildpack-deps:noble-curl # Proxy arguments for build-time network access diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/devcontainer-feature.json.license b/src/s-core-devcontainer/.devcontainer/bazel-feature/devcontainer-feature.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/devcontainer-feature.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/install.sh b/src/s-core-devcontainer/.devcontainer/bazel-feature/install.sh index 3bcdc72..eb6c0f0 100755 --- a/src/s-core-devcontainer/.devcontainer/bazel-feature/install.sh +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/install.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/install_matching_bazel_version.sh b/src/s-core-devcontainer/.devcontainer/bazel-feature/install_matching_bazel_version.sh index 49f5fb0..7896c6c 100755 --- a/src/s-core-devcontainer/.devcontainer/bazel-feature/install_matching_bazel_version.sh +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/install_matching_bazel_version.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/on_create_command.sh b/src/s-core-devcontainer/.devcontainer/bazel-feature/on_create_command.sh index bdea886..08c9844 100755 --- a/src/s-core-devcontainer/.devcontainer/bazel-feature/on_create_command.sh +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/on_create_command.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/tests/test_default.sh b/src/s-core-devcontainer/.devcontainer/bazel-feature/tests/test_default.sh index b47c48e..b1e1bc2 100755 --- a/src/s-core-devcontainer/.devcontainer/bazel-feature/tests/test_default.sh +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/tests/test_default.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/bazel-feature/versions.yaml b/src/s-core-devcontainer/.devcontainer/bazel-feature/versions.yaml index bd746ca..515f4a3 100644 --- a/src/s-core-devcontainer/.devcontainer/bazel-feature/versions.yaml +++ b/src/s-core-devcontainer/.devcontainer/bazel-feature/versions.yaml @@ -1,5 +1,4 @@ --- - # ******************************************************************************* # Copyright (c) 2026 Contributors to the Eclipse Foundation # @@ -10,6 +9,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/devcontainer-lock.json.license b/src/s-core-devcontainer/.devcontainer/devcontainer-lock.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/src/s-core-devcontainer/.devcontainer/devcontainer-lock.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/devcontainer.json.license b/src/s-core-devcontainer/.devcontainer/devcontainer.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/src/s-core-devcontainer/.devcontainer/devcontainer.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/devcontainer-feature.json.license b/src/s-core-devcontainer/.devcontainer/s-core-local/devcontainer-feature.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/devcontainer-feature.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/enable_pre_commit_hooks.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/enable_pre_commit_hooks.sh index bbb280e..33300c5 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/enable_pre_commit_hooks.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/enable_pre_commit_hooks.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/install.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/install.sh index 498d827..217bf09 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/install.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/install.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/on_create_command.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/on_create_command.sh index d8ba1b4..3e47b36 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/on_create_command.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/on_create_command.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/setup_command_history.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/setup_command_history.sh index b89d091..a201b48 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/setup_command_history.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/setup_command_history.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh index 6d714ae..cd6ca28 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/tests/test_default.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/versions.sh b/src/s-core-devcontainer/.devcontainer/s-core-local/versions.sh index f2a845c..44f74b5 100755 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/versions.sh +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/versions.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/s-core-local/versions.yaml b/src/s-core-devcontainer/.devcontainer/s-core-local/versions.yaml index c017278..474d1a1 100644 --- a/src/s-core-devcontainer/.devcontainer/s-core-local/versions.yaml +++ b/src/s-core-devcontainer/.devcontainer/s-core-local/versions.yaml @@ -1,5 +1,4 @@ --- - # ******************************************************************************* # Copyright (c) 2026 Contributors to the Eclipse Foundation # @@ -10,6 +9,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/.devcontainer/unset-proxy.sh b/src/s-core-devcontainer/.devcontainer/unset-proxy.sh index 2a9a0ea..3ce7d49 100755 --- a/src/s-core-devcontainer/.devcontainer/unset-proxy.sh +++ b/src/s-core-devcontainer/.devcontainer/unset-proxy.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/manifest.json.license b/src/s-core-devcontainer/manifest.json.license new file mode 100644 index 0000000..1db4fe4 --- /dev/null +++ b/src/s-core-devcontainer/manifest.json.license @@ -0,0 +1,13 @@ +******************************************************************************* +Copyright (c) 2026 Contributors to the Eclipse Foundation + +See the NOTICE file(s) distributed with this work for additional +information regarding copyright ownership. + +This program and the accompanying materials are made available under the +terms of the Apache License Version 2.0 which is available at +https://www.apache.org/licenses/LICENSE-2.0 + +SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation +SPDX-License-Identifier: Apache-2.0 +******************************************************************************* diff --git a/src/s-core-devcontainer/test-project/test-utils.sh b/src/s-core-devcontainer/test-project/test-utils.sh index 428cd82..8d312b3 100755 --- a/src/s-core-devcontainer/test-project/test-utils.sh +++ b/src/s-core-devcontainer/test-project/test-utils.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # ******************************************************************************* diff --git a/src/s-core-devcontainer/test-project/test.sh b/src/s-core-devcontainer/test-project/test.sh index dadb958..c590310 100755 --- a/src/s-core-devcontainer/test-project/test.sh +++ b/src/s-core-devcontainer/test-project/test.sh @@ -10,6 +10,7 @@ # terms of the Apache License Version 2.0 which is available at # https://www.apache.org/licenses/LICENSE-2.0 # +# SPDX-FileCopyrightText: 2026 Contributors to the Eclipse Foundation # SPDX-License-Identifier: Apache-2.0 # *******************************************************************************