From f7557f83745dee008e39c2f81aa1bdf4f99fa803 Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Thu, 23 Jul 2026 11:09:24 +0200 Subject: [PATCH 1/4] fix: Update tool requirements & update to process 2.0.2 --- MODULE.bazel | 7 +--- MODULE.bazel.lock | 2 ++ docs/internals/requirements/requirements.rst | 38 +++++++++++++++++--- 3 files changed, 36 insertions(+), 11 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 31dae15e7..95956be74 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -70,12 +70,7 @@ http_file( urls = ["https://github.com/withered-magic/starpls/releases/download/v0.1.21/starpls-linux-amd64"], ) -bazel_dep(name = "score_process", version = "2.0.1") -git_override( - module_name = "score_process", - commit = "292ec1c913a88ed1b724e33fdae658df6dc7b033", - remote = "https://github.com/eclipse-score/process_description", -) +bazel_dep(name = "score_process", version = "2.0.2") # Provide the tools from the devcontainer to Bazel bazel_dep(name = "score_devcontainer", version = "1.8.0") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1570a3bb6..d075f079d 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -299,6 +299,8 @@ "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_shell/0.4.1/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/MODULE.bazel": "89f855b94d041d2e61ff9667562fb4539c146249f6fb4c5dddf3d13bb9064aa7", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/source.json": "ef316fad71fdbd53daf43fc0a82fbc7c293908a2712214ff79134c177d028024", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/MODULE.bazel": "6d2b227bb6880e9f6871cc8cf94c83399e35c188424f7e9b826262de8149ed43", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/source.json": "5ae55f0dabcddeb5bfae16ce480e2c065f907d2b0ed6a8e4ed7409b259b004ee", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/sphinxdocs/2.2.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/stardoc/0.5.1/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/stardoc/0.5.3/MODULE.bazel": "not found", diff --git a/docs/internals/requirements/requirements.rst b/docs/internals/requirements/requirements.rst index a49df7bf4..1a7ade0f5 100644 --- a/docs/internals/requirements/requirements.rst +++ b/docs/internals/requirements/requirements.rst @@ -273,20 +273,48 @@ Versioning In our enviroment it supports whole numbers e.g. (1,2,10,34) - .. tool_req:: Suspicious: Enforce attribute :id: tool_req__docs_common_attr_suspicious :tags: Common Attributes :implemented: YES - :version: 1 - :parent_covered: NO: parent talks about setting covered to false, but we want to issue a build error. - :satisfies: gd_req__req_suspicious[version==2] + :version: 2 + :parent_covered: YES: Together with :need:`tool_req__docs_req_testlink_outdated_check` and :need:`tool_req__docs_req_attr_testcov_update` + :satisfies: gd_req__req_suspicious[version==3] :status: invalid - Docs-as-Code shall check if linked parent needs have different versions, compared to + Docs-as-Code shall check if linked needs have different versions, compared to the version the need was originally linked to. +.. tool_req:: Test coverage: Detect outdated test linkage + :id: tool_req__docs_req_testlink_outdated_check + :tags: Common Attributes, Testing + :implemented: NO + :version: 1 + :parent_covered: YES: Together with tool_req__docs_common_attr_suspicious and tool_req__docs_req_attr_testcov_update + :satisfies: gd_req__req_suspicious[version==3] + :status: invalid + + Docs-as-Code shall check, for each requirement of type :need:`tool_req__docs_req_types` + that has one or more linked test needs via the ``testlink`` attribute, whether the + requirement's version has changed since the version that was originally linked by + each test. + + +.. tool_req:: Test coverage: Set attribute on outdated test linkage + :id: tool_req__docs_req_attr_testcov_update + :tags: Common Attributes, Testing + :implemented: NO + :version: 1 + :parent_covered: YES: Together with tool_req__docs_req_testlink_outdated_check tool_req__docs_common_attr_suspicious + :satisfies: gd_req__req_suspicious[version==3] + :status: invalid + + Docs-as-Code shall set the ``testcovered`` attribute (see + :need:`tool_req__docs_req_attr_testcov`) of a requirement to ``No`` whenever + :need:`tool_req__docs_req_testlink_outdated_check` detects that a linked test is + outdated with respect to the requirement's version. + 📚 Documents From fdfd084490315da9a2b847c81bdadfebd75fe0ba Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Tue, 28 Jul 2026 16:03:08 +0200 Subject: [PATCH 2/4] fix: delete no longer needed tool req --- docs/internals/requirements/requirements.rst | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/docs/internals/requirements/requirements.rst b/docs/internals/requirements/requirements.rst index 1a7ade0f5..6b3d56029 100644 --- a/docs/internals/requirements/requirements.rst +++ b/docs/internals/requirements/requirements.rst @@ -273,25 +273,13 @@ Versioning In our enviroment it supports whole numbers e.g. (1,2,10,34) -.. tool_req:: Suspicious: Enforce attribute - :id: tool_req__docs_common_attr_suspicious - :tags: Common Attributes - :implemented: YES - :version: 2 - :parent_covered: YES: Together with :need:`tool_req__docs_req_testlink_outdated_check` and :need:`tool_req__docs_req_attr_testcov_update` - :satisfies: gd_req__req_suspicious[version==3] - :status: invalid - - Docs-as-Code shall check if linked needs have different versions, compared to - the version the need was originally linked to. - .. tool_req:: Test coverage: Detect outdated test linkage :id: tool_req__docs_req_testlink_outdated_check :tags: Common Attributes, Testing :implemented: NO :version: 1 - :parent_covered: YES: Together with tool_req__docs_common_attr_suspicious and tool_req__docs_req_attr_testcov_update + :parent_covered: YES: Together tool_req__docs_req_attr_testcov_update :satisfies: gd_req__req_suspicious[version==3] :status: invalid @@ -306,7 +294,7 @@ Versioning :tags: Common Attributes, Testing :implemented: NO :version: 1 - :parent_covered: YES: Together with tool_req__docs_req_testlink_outdated_check tool_req__docs_common_attr_suspicious + :parent_covered: YES: Together with tool_req__docs_req_testlink_outdated_check :satisfies: gd_req__req_suspicious[version==3] :status: invalid From 33d3777760534839d59d47cb8ad614ebc284920f Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Wed, 29 Jul 2026 12:05:35 +0200 Subject: [PATCH 3/4] chore: Update lockfile --- MODULE.bazel | 2 +- MODULE.bazel.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index 95956be74..9ae9c2fce 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -73,4 +73,4 @@ http_file( bazel_dep(name = "score_process", version = "2.0.2") # Provide the tools from the devcontainer to Bazel -bazel_dep(name = "score_devcontainer", version = "1.8.0") +bazel_dep(name = "score_devcontainer", version = "1.9.0") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index d075f079d..32e7d5ab8 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -297,8 +297,8 @@ "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_python/2.2.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_shell/0.2.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_shell/0.4.1/MODULE.bazel": "not found", - "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/MODULE.bazel": "89f855b94d041d2e61ff9667562fb4539c146249f6fb4c5dddf3d13bb9064aa7", - "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/source.json": "ef316fad71fdbd53daf43fc0a82fbc7c293908a2712214ff79134c177d028024", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.9.0/MODULE.bazel": "2a04a354eb7a77d478bb43ba20b1dac0758af858172a760e4290621bef1a2f28", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.9.0/source.json": "6f72c780f1fb167be7cbc01801b86534a9e7102003168dcdf2c8886cfb1bb209", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/MODULE.bazel": "6d2b227bb6880e9f6871cc8cf94c83399e35c188424f7e9b826262de8149ed43", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/source.json": "5ae55f0dabcddeb5bfae16ce480e2c065f907d2b0ed6a8e4ed7409b259b004ee", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/sphinxdocs/2.2.0/MODULE.bazel": "not found", From 0af5d6ac422b5f7cd6f7f2adcead737e497d71f2 Mon Sep 17 00:00:00 2001 From: MaximilianSoerenPollak Date: Wed, 29 Jul 2026 14:51:48 +0200 Subject: [PATCH 4/4] fix: remove non excisting issue --- src/extensions/score_source_code_linker/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/extensions/score_source_code_linker/__init__.py b/src/extensions/score_source_code_linker/__init__.py index ef1acfd90..1de0088a9 100644 --- a/src/extensions/score_source_code_linker/__init__.py +++ b/src/extensions/score_source_code_linker/__init__.py @@ -394,7 +394,6 @@ def find_need(all_needs: NeedsMutable, id: str) -> NeedItem | None: need = all_needs.get(base_id) # Check version compatibility if version was specified - # req-Id: tool_req__docs_common_attr_suspicious if need is not None and test_version is not None: need_version = need.get("version") if need_version is not None and int(need_version) > test_version: