diff --git a/bazel_common/score_modules_tooling.MODULE.bazel b/bazel_common/score_modules_tooling.MODULE.bazel index 5851bc25b1..78da008bc5 100644 --- a/bazel_common/score_modules_tooling.MODULE.bazel +++ b/bazel_common/score_modules_tooling.MODULE.bazel @@ -59,11 +59,7 @@ git_override( bazel_dep(name = "score_docs_as_code") git_override( module_name = "score_docs_as_code", - commit = "7349eb22430febb367765ced3fbabfc0ef2988d0", - patch_strip = 1, - patches = [ - "//patches/docs-as-code:fix-extra-properties.patch", - ], + commit = "c1207676afe6cafd25c35d420e73279a799515d8", remote = "https://github.com/eclipse-score/docs-as-code.git", ) diff --git a/known_good.json b/known_good.json index 4e64982df6..f7299714b2 100644 --- a/known_good.json +++ b/known_good.json @@ -138,10 +138,7 @@ }, "score_docs_as_code": { "repo": "https://github.com/eclipse-score/docs-as-code.git", - "hash": "7349eb22430febb367765ced3fbabfc0ef2988d0", - "bazel_patches": [ - "//patches/docs-as-code:fix-extra-properties.patch" - ] + "hash": "c1207676afe6cafd25c35d420e73279a799515d8" }, "score_process": { "repo": "https://github.com/eclipse-score/process_description.git", diff --git a/patches/docs-as-code/BUILD b/patches/docs-as-code/BUILD deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/patches/docs-as-code/fix-extra-properties.patch b/patches/docs-as-code/fix-extra-properties.patch deleted file mode 100644 index 4b9a303932..0000000000 --- a/patches/docs-as-code/fix-extra-properties.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/extensions/score_source_code_linker/testlink.py b/src/extensions/score_source_code_linker/testlink.py -index 50066fe3..51311f3e 100644 ---- a/src/extensions/score_source_code_linker/testlink.py -+++ b/src/extensions/score_source_code_linker/testlink.py -@@ -93,7 +93,17 @@ class DataOfTestCase: - - @classmethod - def from_dict(cls, data: dict[str, Any]): # type-ignore -- return cls(**data) # type-ignore -+ return cls( -+ name=data.get("name", ""), -+ file=data.get("file", ""), -+ line=data.get("line", ""), -+ result=data.get("result", ""), -+ TestType=data.get("TestType", ""), -+ DerivationTechnique=data.get("DerivationTechnique", ""), -+ result_text=data.get("result_text", ""), -+ PartiallyVerifies=data.get("PartiallyVerifies", ""), -+ FullyVerifies=data.get("FullyVerifies", ""), -+ ) - - @classmethod - def clean_text(cls, text: str):