Align copyright headers with agreed OpenSOVD header#97
Draft
Copilot wants to merge 2 commits into
Draft
Conversation
Copilot
AI
changed the title
[WIP] Update copyright header to align with OpenSOVD standards
Align copyright headers with agreed OpenSOVD header
Jun 15, 2026
There was a problem hiding this comment.
Pull request overview
This PR standardizes SPDX copyright/license headers across the repository by replacing the prior short form with the agreed canonical multi-line OpenSOVD header, using the correct per-language comment markers and preserving required ordering (e.g., after shebangs, before Rust inner attributes).
Changes:
- Replaced existing SPDX headers with the canonical multi-line NOTICE/Apache-2.0 block across the touched files.
- Normalized comment markers per file type (
//,#,<!-- ... -->) while keeping special top-of-file requirements intact (shebang-first, Rust#![...]placement).
Reviewed changes
Copilot reviewed 145 out of 145 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/test_rust.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-mcp/conftest.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-mcp/cli/test_version.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/test_signals.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/test_gateway_version.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/test_api.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/mocks/test_data_filter.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/mocks/conftest.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/conftest.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_version.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_transport_unix_socket.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_transport_unix_abstract.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_transport_tcp.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_tls.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_mtls.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_mock.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_cors.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/test_auth.py | Canonical multi-line SPDX header (Python #). |
| tests/opensovd-gateway/cli/conftest.py | Canonical multi-line SPDX header (Python #). |
| tests/fixtures.py | Canonical multi-line SPDX header (Python #). |
| tests/conftest.py | Canonical multi-line SPDX header (Python #). |
| tests/bruno/conftest.py | Canonical multi-line SPDX header (Python #). |
| scripts/mkcerts.sh | Canonical multi-line SPDX header placed after shebang (shell #). |
| rustfmt.toml | Canonical multi-line SPDX header (TOML #). |
| README.md | Canonical multi-line SPDX header (HTML comment block). |
| pyproject.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-server/tests/routes.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/tests/data_filter.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/tests/common/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/tests/builder.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/tests/auth.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/tls.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/server.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/schema.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/version.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/error.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/entities/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/entities/component.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/entities/area.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/entities/app.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/routes/data.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/connect_info.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/body.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/src/auth.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-server/README.md | Canonical multi-line SPDX header (HTML comment block). |
| opensovd-server/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-providers/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-providers/src/data/resource.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-providers/src/data/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-providers/src/data/constant.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-providers/src/data/builder.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-providers/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-models/src/version.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/src/types.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/src/error.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/src/discovery.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/src/data.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-models/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-mocks/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-mocks/README.md | Canonical multi-line SPDX header (HTML comment block). |
| opensovd-mocks/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-extra/src/unit.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-extra/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-extra/src/auth/rego.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-extra/src/auth/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-extra/src/auth/jwt.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-extra/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-core/src/topology.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/entity/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/entity/component.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/entity/area.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/entity/app.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/discovery.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/src/data.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-core/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-client/tests/unix.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/discovery.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/data.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/components.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/common/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/client.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/areas.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/tests/apps.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/unix.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/list.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/error.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/entities/mod.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/entities/component.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/entities/area.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/entities/app.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/discovery.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/data.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/src/client.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-client/README.md | Canonical multi-line SPDX header (HTML comment block). |
| opensovd-client/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-cli/mcp/src/main.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/mcp/src/cli.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/mcp/README.md | Canonical multi-line SPDX header (HTML comment block). |
| opensovd-cli/mcp/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-cli/mcp/build.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/lib/src/trace.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/lib/src/lib.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/lib/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-cli/gateway/src/serve_dir.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/gateway/src/main.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/gateway/src/cors.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/gateway/src/cli.rs | Canonical multi-line SPDX header (Rust //). |
| opensovd-cli/gateway/README.md | Canonical multi-line SPDX header (HTML comment block). |
| opensovd-cli/gateway/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| opensovd-cli/gateway/build.rs | Canonical multi-line SPDX header (Rust //). |
| examples/server/systemd/systemd.rs | Canonical multi-line SPDX header (Rust //). |
| examples/server/simple/simple.rs | Canonical multi-line SPDX header (Rust //). |
| examples/server/mtls/mtls.rs | Canonical multi-line SPDX header (Rust //). |
| examples/server/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| examples/server/auth/sovd_authz.rego | Canonical multi-line SPDX header (Rego #). |
| examples/server/auth/auth.rs | Canonical multi-line SPDX header (Rust //). |
| examples/client/src/client.rs | Canonical multi-line SPDX header (Rust //). |
| examples/client/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| docs/development.md | Canonical multi-line SPDX header (HTML comment block). |
| docker/Dockerfile.mcp | Canonical multi-line SPDX header (Dockerfile #). |
| docker/Dockerfile.gateway | Canonical multi-line SPDX header (Dockerfile #). |
| devenv.nix | Canonical multi-line SPDX header (Nix #). |
| deny.toml | Canonical multi-line SPDX header (TOML #). |
| CONTRIBUTING.md | Canonical multi-line SPDX header (HTML comment block). |
| cliff.toml | Canonical multi-line SPDX header (TOML #). |
| Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| benches/src/topology.rs | Canonical multi-line SPDX header (Rust //). |
| benches/src/main.rs | Canonical multi-line SPDX header (Rust //). |
| benches/Cargo.toml | Canonical multi-line SPDX header (TOML #). |
| .pre-commit-config.yaml | Canonical multi-line SPDX header (YAML #). |
| .markdownlint.yaml | Canonical multi-line SPDX header (YAML #). |
| .github/workflows/labeler.yaml | Canonical multi-line SPDX header (YAML #). |
| .github/workflows/first-interaction.yaml | Canonical multi-line SPDX header (YAML #). |
| .github/workflows/ci.yaml | Canonical multi-line SPDX header (YAML #). |
| .github/labeler.yaml | Canonical multi-line SPDX header (YAML #). |
| .github/dependabot.yml | Canonical multi-line SPDX header (YAML #). |
| .github/CODEOWNERS | Canonical multi-line SPDX header (CODEOWNERS #). |
| .github/actions/docker-publish/action.yaml | Canonical multi-line SPDX header (YAML #). |
| .envrc | Canonical multi-line SPDX header (shell #). |
| .clippy.toml | Canonical multi-line SPDX header (TOML #). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
opensovd-core used a short two-line SPDX header. This migrates all files to the canonical multi-line OpenSOVD header agreed in
cicd-workflows#56, so the same header is used across all repositories.Changes
//for Rust;#for TOML/YAML/Python/shell/Dockerfile/rego/CODEOWNERS/etc.;<!-- … -->HTML block for Markdown (normalizing both prior inline and block Markdown variants).scripts/mkcerts.sh) and before Rust inner attributes (#![doc = …]).Rust example:
Note for reviewers
Header text follows the agreed wording from the linked issue (
Copyright (c) 2026 Contributors to the Eclipse Foundation, license identifier last). The siblingcicd-workflowsREUSE template currently still carries an older(see CONTRIBUTORS)variant and year-placement is under active discussion there; if that finalizes differently, the migration is mechanical and can be re-run.