Clarify active satisfies and fulfils relations in metamodel comments

未关闭 适合新手
#1,019 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
88/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
yaml
领域
documentation

调研方向

根据当前的工具要求和允许的关系,审查 src/extensions/score_metamodel/metamodel.yaml 中 satisfies 和 fulfils 上方的注释。先检查 issue 中提到的 tool_req 和 gd_req 示例及架构元素,并查看 issue #972 以了解 gd_req.satisfies 的范围。更新注释以说明它们当前的用途,同时保留链接声明和验证行为。

由索引模型根据 Issue 内容生成。

描述

intentionally-limited

The comments above satisfies and fulfils in src/extensions/score_metamodel/metamodel.yaml describe these relations as retained for backward compatibility. That suggests they can be deleted during cleanup, although the current metamodel actively allows and validates them.

For example, tool_req and gd_req use satisfies, and architecture elements use fulfils. Issue #972 explicitly tracks stronger enforcement of gd_req.satisfies.

Acceptance criteria:

  • Review the compatibility comments against the current tool requirements and permitted relations.
  • Replace stale comments with an explanation of the relations' current purpose and scope.
  • Preserve the existing link declarations and validation behavior; do not globally remove or rename satisfies or fulfils based on these comments.

This is a focused comment/documentation cleanup, not a breaking behavior change. Related to the broader cleanup request #969. The mod type and its migration are outside this issue's scope.

主要语言
Python
星标
11
派生
39
平均合并
1 天 12 小时
30 天内合并 PR
47

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-score/docs-as-code 的其他 Issue

查看 eclipse-score/docs-as-code 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。