Custom fields
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 35/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
调研方向
检查教程结构以及现有的 project.json 和 projects.json 引用。决定这部分关于 raw、enriched 和 configuration-injected 字段的说明最适合放在哪里,然后将其整合到教程的相关内容中。完成的标准是:说明已放置在相关章节中,并且其术语和文件引用保持一致。
由索引模型根据 Issue 内容生成。
描述
Just wanted to save this explanation. Not sure of where in the tutorial to insert it:
The fields in GrimoireLab come to be through different paths:
- Most are just retrieved from the data sources. We call this data raw data.
- The enrichment process that runs after the data load (usually called by Morderd for similar) adds more standard-calculated fields. We call this data enriched data.
- Then, the user can inject fields via configuration (instead of retrieving them directly or indirectly from the sources). We can call these configuration-injected fields "tags".
Currently, all tags are defined via the
project.jsonfile).Some tags have standard field names. The user only injects their arbitrary values.
Some other tags are user-defined fields. The user injects both their values and the name of these fields.Grimoirelab can inject user-defined data through at least 3 paths:
- The
projectfield. It holds the name of the projects. Their values (project names) and their applicabilities (which data source belongs to each project) are defined in theprojects.jsonfile.- The
metamember of each project (set in theprojects.json file).
- It generates the
cm_*fields we find in every item retrieved from sources (commits, issues, PRs, repos, areas_of_code, ...) attributed to that project.- All these project-level custom fields are marked with a
cm_appendix. So, if you ask for amy_tagfield in themetamember of a project you get acm_my_tagfield.- A standard field called
labels.
- It is a list of values.
- We can inject a user-defined list of values per repository.
- This, again, propagates to many items retrieved from sources (commits, issues, PRs, repos, areas_of_code, ...) attributed to that repository.
- 主要语言
- Ruby
- 星标
- 30
- 派生
- 67
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
chaoss/grimoirelab-tutorial 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 55/100
chaoss/grimoirelab-tutorial#246 ·
-
难度 3/5 1-2 天 新手友好度 43/100
chaoss/grimoirelab-tutorial#230 ·
-
难度 4/5 3-5 天 新手友好度 35/100
chaoss/grimoirelab-tutorial#224 ·
-
难度 3/5 1-2 天 新手友好度 25/100
chaoss/grimoirelab-tutorial#221 ·
-
难度 5/5 一周以上 新手友好度 25/100
chaoss/grimoirelab-tutorial#201 · 1 条评论 ·
查看 chaoss/grimoirelab-tutorial 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 1/5 1 小时以内 新手友好度 75/100
TheOdinProject/curriculum#31467 · 2 条评论 ·
维护者通常 1 天内回复
-
message-patterns
难度 2/5 1-3 小时 新手友好度 65/100
sisimai/rb-sisimai#468 ·
-
202610-volunteers my-first-pr PROJECT: website-redesign
难度 2/5 1-3 小时 新手友好度 65/100
thewca/worldcubeassociation.org#16072 ·
维护者通常 1 天内回复