From eee4c40189904bfc2b9e42ee14d5672021a9bbbd Mon Sep 17 00:00:00 2001 From: "rahul.singh" Date: Wed, 11 Feb 2026 10:19:05 +0100 Subject: [PATCH 1/4] Fix copyright header issue --- score/mw/log/rust/score_log_bridge/examples/main.rs | 2 +- score/mw/log/rust/score_log_bridge/src/ffi.rs | 2 +- score/mw/log/rust/score_log_bridge/src/lib.rs | 2 +- score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs | 2 +- .../log/rust/score_log_bridge_cpp_init/examples/example_lib.rs | 2 +- score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs | 2 +- tests/rust/test_main.rs | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/score/mw/log/rust/score_log_bridge/examples/main.rs b/score/mw/log/rust/score_log_bridge/examples/main.rs index 765dc18..5eb3bfe 100644 --- a/score/mw/log/rust/score_log_bridge/examples/main.rs +++ b/score/mw/log/rust/score_log_bridge/examples/main.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/ffi.rs b/score/mw/log/rust/score_log_bridge/src/ffi.rs index 3d712ec..afbfc2f 100644 --- a/score/mw/log/rust/score_log_bridge/src/ffi.rs +++ b/score/mw/log/rust/score_log_bridge/src/ffi.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/lib.rs b/score/mw/log/rust/score_log_bridge/src/lib.rs index 4f818d2..391029b 100644 --- a/score/mw/log/rust/score_log_bridge/src/lib.rs +++ b/score/mw/log/rust/score_log_bridge/src/lib.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs b/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs index ab62c99..00df642 100644 --- a/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs +++ b/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs b/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs index afa9682..ed9d224 100644 --- a/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs +++ b/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs b/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs index 822698a..96bb4b0 100644 --- a/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs +++ b/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/tests/rust/test_main.rs b/tests/rust/test_main.rs index 7194058..e5d70fa 100644 --- a/tests/rust/test_main.rs +++ b/tests/rust/test_main.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2026 Contributors to the Eclipse Foundation +// Copyright (c) 2025 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. From d811367dfb09e352db40f646da23d01f92b43556 Mon Sep 17 00:00:00 2001 From: "rahul.singh" Date: Wed, 11 Feb 2026 11:00:30 +0100 Subject: [PATCH 2/4] Add Eclipse copyright headers to BMW-licensed DLT files - Add Eclipse Foundation headers to dlt_protocol.h, dlt_types.h, dlt_common.h - Fix duplicate header in i_diagnostic_job_parser.h - Re-enable copyright check for score --- BUILD | 2 +- .../include/daemon/i_diagnostic_job_parser.h | 1 - score/datarouter/include/dlt/dlt_common.h | 13 +++++++++++++ score/datarouter/include/dlt/dlt_protocol.h | 13 +++++++++++++ score/datarouter/include/dlt/dlt_types.h | 13 +++++++++++++ 5 files changed, 40 insertions(+), 2 deletions(-) diff --git a/BUILD b/BUILD index b0b68a6..c214ee9 100644 --- a/BUILD +++ b/BUILD @@ -24,7 +24,7 @@ copyright_checker( ".github", "docs", "examples", - # "score", # Disabled until antonkri is back from vacations as we cannot get approval on some repo parts + "score", "tests", "//:.bazelrc", "//:BUILD", diff --git a/score/datarouter/include/daemon/i_diagnostic_job_parser.h b/score/datarouter/include/daemon/i_diagnostic_job_parser.h index 58f5c81..29ee5c2 100644 --- a/score/datarouter/include/daemon/i_diagnostic_job_parser.h +++ b/score/datarouter/include/daemon/i_diagnostic_job_parser.h @@ -1,4 +1,3 @@ - /******************************************************************************** * Copyright (c) 2025 Contributors to the Eclipse Foundation * diff --git a/score/datarouter/include/dlt/dlt_common.h b/score/datarouter/include/dlt/dlt_common.h index 93a67ee..daeceb5 100644 --- a/score/datarouter/include/dlt/dlt_common.h +++ b/score/datarouter/include/dlt/dlt_common.h @@ -1,3 +1,16 @@ +/******************************************************************************** + * Copyright (c) 2025 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 + ********************************************************************************/ + /* * @licence app begin@ * SPDX license identifier: MPL-2.0 diff --git a/score/datarouter/include/dlt/dlt_protocol.h b/score/datarouter/include/dlt/dlt_protocol.h index 0d2409b..ccc9328 100644 --- a/score/datarouter/include/dlt/dlt_protocol.h +++ b/score/datarouter/include/dlt/dlt_protocol.h @@ -1,3 +1,16 @@ +/******************************************************************************** + * Copyright (c) 2025 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 + ********************************************************************************/ + /* * @licence app begin@ * SPDX license identifier: MPL-2.0 diff --git a/score/datarouter/include/dlt/dlt_types.h b/score/datarouter/include/dlt/dlt_types.h index 7902579..70b37d2 100644 --- a/score/datarouter/include/dlt/dlt_types.h +++ b/score/datarouter/include/dlt/dlt_types.h @@ -1,3 +1,16 @@ +/******************************************************************************** + * Copyright (c) 2025 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 + ********************************************************************************/ + /* * @licence app begin@ * SPDX license identifier: MPL-2.0 From 4bc97eafda63d351b544719e8a49a86a538d0e38 Mon Sep 17 00:00:00 2001 From: "rahul.singh" Date: Thu, 12 Feb 2026 05:29:59 +0100 Subject: [PATCH 3/4] Revert copyright year to 2026 for files created in 2026 --- score/mw/log/rust/score_log_bridge/examples/main.rs | 2 +- score/mw/log/rust/score_log_bridge/src/ffi.rs | 2 +- score/mw/log/rust/score_log_bridge/src/lib.rs | 2 +- score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs | 2 +- .../log/rust/score_log_bridge_cpp_init/examples/example_lib.rs | 2 +- score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/score/mw/log/rust/score_log_bridge/examples/main.rs b/score/mw/log/rust/score_log_bridge/examples/main.rs index 5eb3bfe..765dc18 100644 --- a/score/mw/log/rust/score_log_bridge/examples/main.rs +++ b/score/mw/log/rust/score_log_bridge/examples/main.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/ffi.rs b/score/mw/log/rust/score_log_bridge/src/ffi.rs index afbfc2f..3d712ec 100644 --- a/score/mw/log/rust/score_log_bridge/src/ffi.rs +++ b/score/mw/log/rust/score_log_bridge/src/ffi.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/lib.rs b/score/mw/log/rust/score_log_bridge/src/lib.rs index 391029b..4f818d2 100644 --- a/score/mw/log/rust/score_log_bridge/src/lib.rs +++ b/score/mw/log/rust/score_log_bridge/src/lib.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs b/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs index 00df642..ab62c99 100644 --- a/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs +++ b/score/mw/log/rust/score_log_bridge/src/score_log_bridge.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs b/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs index ed9d224..afa9682 100644 --- a/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs +++ b/score/mw/log/rust/score_log_bridge_cpp_init/examples/example_lib.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. diff --git a/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs b/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs index 96bb4b0..822698a 100644 --- a/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs +++ b/score/mw/log/rust/score_log_bridge_cpp_init/ffi.rs @@ -1,5 +1,5 @@ // ******************************************************************************* -// Copyright (c) 2025 Contributors to the Eclipse Foundation +// Copyright (c) 2026 Contributors to the Eclipse Foundation // // See the NOTICE file(s) distributed with this work for additional // information regarding copyright ownership. From 72dd96d5ced01c7f2b340752d3ef6b61984e7f2a Mon Sep 17 00:00:00 2001 From: "rahul.singh" Date: Thu, 12 Feb 2026 13:37:55 +0100 Subject: [PATCH 4/4] Enable copyright check with MPL-2.0 file exclusions --- .copyright_exclusions | 3 +++ BUILD | 1 + MODULE.bazel | 2 +- score/datarouter/include/dlt/dlt_common.h | 13 ------------- score/datarouter/include/dlt/dlt_protocol.h | 13 ------------- score/datarouter/include/dlt/dlt_types.h | 13 ------------- 6 files changed, 5 insertions(+), 40 deletions(-) create mode 100644 .copyright_exclusions diff --git a/.copyright_exclusions b/.copyright_exclusions new file mode 100644 index 0000000..10f4db7 --- /dev/null +++ b/.copyright_exclusions @@ -0,0 +1,3 @@ +score/datarouter/include/dlt/dlt_protocol.h +score/datarouter/include/dlt/dlt_types.h +score/datarouter/include/dlt/dlt_common.h diff --git a/BUILD b/BUILD index c214ee9..23959b1 100644 --- a/BUILD +++ b/BUILD @@ -32,6 +32,7 @@ copyright_checker( "//:project_config.bzl", ], config = "@score_tooling//cr_checker/resources:config", + exclusion = "//:.copyright_exclusions", template = "@score_tooling//cr_checker/resources:templates", visibility = ["//visibility:public"], ) diff --git a/MODULE.bazel b/MODULE.bazel index eb6e7a4..390cd54 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -28,7 +28,7 @@ bazel_dep(name = "platforms", version = "1.0.0") # S-CORE process rules bazel_dep(name = "score_bazel_platforms", version = "0.0.4") bazel_dep(name = "score_docs_as_code", version = "2.2.0") -bazel_dep(name = "score_tooling", version = "1.1.0") +bazel_dep(name = "score_tooling", version = "1.1.1") bazel_dep(name = "score_rust_policies", version = "0.0.3") bazel_dep(name = "score_process", version = "1.4.0", dev_dependency = True) diff --git a/score/datarouter/include/dlt/dlt_common.h b/score/datarouter/include/dlt/dlt_common.h index daeceb5..93a67ee 100644 --- a/score/datarouter/include/dlt/dlt_common.h +++ b/score/datarouter/include/dlt/dlt_common.h @@ -1,16 +1,3 @@ -/******************************************************************************** - * Copyright (c) 2025 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 - ********************************************************************************/ - /* * @licence app begin@ * SPDX license identifier: MPL-2.0 diff --git a/score/datarouter/include/dlt/dlt_protocol.h b/score/datarouter/include/dlt/dlt_protocol.h index ccc9328..0d2409b 100644 --- a/score/datarouter/include/dlt/dlt_protocol.h +++ b/score/datarouter/include/dlt/dlt_protocol.h @@ -1,16 +1,3 @@ -/******************************************************************************** - * Copyright (c) 2025 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 - ********************************************************************************/ - /* * @licence app begin@ * SPDX license identifier: MPL-2.0 diff --git a/score/datarouter/include/dlt/dlt_types.h b/score/datarouter/include/dlt/dlt_types.h index 70b37d2..7902579 100644 --- a/score/datarouter/include/dlt/dlt_types.h +++ b/score/datarouter/include/dlt/dlt_types.h @@ -1,16 +1,3 @@ -/******************************************************************************** - * Copyright (c) 2025 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 - ********************************************************************************/ - /* * @licence app begin@ * SPDX license identifier: MPL-2.0