Skip to content

Commit 4a4c3d1

Browse files
committed
Require valid_from in validity consistency check
1 parent 70d5387 commit 4a4c3d1

6 files changed

Lines changed: 9 additions & 66 deletions

File tree

.github/workflows/renovate.yml

Lines changed: 0 additions & 36 deletions
This file was deleted.

MODULE.bazel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ http_file(
6969
urls = ["https://github.com/withered-magic/starpls/releases/download/v0.1.21/starpls-linux-amd64"],
7070
)
7171

72-
bazel_dep(name = "score_process", version = "1.6.0")
72+
bazel_dep(name = "score_process", version = "2.0.1")
7373

7474
# Provide the tools from the devcontainer to Bazel
75-
bazel_dep(name = "score_devcontainer", version = "1.7.0")
75+
bazel_dep(name = "score_devcontainer", version = "1.8.0")

MODULE.bazel.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/internals/requirements/requirements.rst

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ This section provides an overview of current process requirements and their clar
210210
:satisfies:
211211
gd_req__req_check_mandatory,
212212
gd_req__req_attr_safety,
213-
gd_req__impl_diagram_safety,
214213
gd_req__arch_attr_safety
215214

216215
Docs-as-Code shall enforce that the ``safety`` attribute has one of the following values:
@@ -240,7 +239,6 @@ This section provides an overview of current process requirements and their clar
240239
gd_req__req_attr_status,
241240
gd_req__arch_attr_status,
242241
gd_req__saf_attr_status,
243-
gd_req__impl_diagram_status,
244242
gd_req__req_check_mandatory,
245243

246244
Docs-as-Code shall enforce that the ``status`` attribute has one of the following values:
@@ -774,11 +772,7 @@ Architecture Attributes
774772
:id: tool_req__docs_arch_links
775773
:implemented: PARTIAL
776774
:version: 1
777-
:satisfies:
778-
gd_req__impl_diagram_check_id,
779-
gd_req__impl_diagram_linkage_id,
780-
gd_req__impl_diagram_check_includes,
781-
gd_req__impl_diagram_linkage_includes,
775+
:satisfies: gd_req__impl_diagram_check_id, gd_req__impl_diagram_linkage_id
782776
:parent_covered: YES
783777

784778
Architectural diagrams (``mod_view_sta``, ``feat_arc_sta``, ``comp_arc_sta``,

renovate.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/extensions/score_metamodel/metamodel.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -263,14 +263,13 @@ needs_types:
263263
rationale: ^.+$
264264
# req-Id: tool_req__docs_common_attr_security
265265
security: ^(YES|NO)$
266+
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
266267
optional_options:
267268
# req-Id: tool_req__docs_req_attr_reqcov
268269
reqcovered: ^(YES|NO)$
269270
# req-Id: tool_req__docs_req_attr_testcov
270271
testcovered: ^(YES|NO)$
271272
hash: ^.*$
272-
# req-Id: tool_req__docs_req_attr_validity_correctness
273-
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
274273
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
275274
tags:
276275
- requirement
@@ -292,6 +291,7 @@ needs_types:
292291
status: ^(valid|invalid)$
293292
# req-Id: tool_req__docs_common_attr_description
294293
content: ^[\s\S]+$
294+
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
295295
optional_links:
296296
# req-Id: tool_req__docs_req_link_satisfies_allowed
297297
derived_from: stkh_req
@@ -306,7 +306,6 @@ needs_types:
306306
testcovered: ^(YES|NO)$
307307
hash: ^.*$
308308
# req-Id: tool_req__docs_req_attr_validity_correctness
309-
valid_from: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
310309
valid_until: ^v(0|[1-9]\d*)\.(0|[1-9]\d*)(\.(0|[1-9]\d*))?$
311310
tags:
312311
- requirement

0 commit comments

Comments
 (0)