Automation of stub generation in sample_measurement example
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- github-actions, python
- 领域
- build-system, ci-cd
调研方向
从 packages/service/scripts/generate_grpc_stubs.py 和 sample_measurement 文件开始,然后将 .github/workflows/check_examples.yml 与所引用的 check_nims.yml 部分进行比较。确认当前如何执行 stub 生成,并让示例检查检测出过时的生成 protobuf 代码;当 workflow 能够可靠地报告过时的 stub 时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Tech Debt
- Automate the stubs in sample_measurement in the example directory to prevent them from becoming outdated.
- update the build to check whether the protobuf codegen is out of date.
Refer,
- https://github.com/ni/measurement-plugin-python/blob/main/packages/service/scripts/generate_grpc_stubs.py
- https://github.com/ni/measurement-plugin-python/blob/main/.github/workflows/check_nims.yml#L82
Context
- 主要语言
- Python
- 星标
- 21
- 派生
- 20
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ni/measurement-plugin-python 的其他 Issue
-
Clean up the unused `build_in_import_modules` dictionary in ni-measurement-plugin-client-generator未关闭tech debt
难度 1/5 1 小时以内 新手友好度 68/100
ni/measurement-plugin-python#979 ·
-
tech debt
难度 2/5 1-3 小时 新手友好度 65/100
ni/measurement-plugin-python#926 ·
-
AUTO Session Initialization Fails in Python Measurement Plugin with VISA Devices可能重新可做 @bkeryan 于 334 天前认领,目前没有进行中的 PR。 未关闭bug
ni/measurement-plugin-python#1263 · 1 条评论 · 已指派 1 人 ·
-
enhancement
难度 4/5 3-5 天 新手友好度 45/100
ni/measurement-plugin-python#1227 ·
-
tech debt
难度 3/5 1-2 天 新手友好度 45/100
ni/measurement-plugin-python#978 ·
查看 ni/measurement-plugin-python 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
Deltares/imod-python#1940 ·
维护者通常 1 天内回复
-
effort: low prio: low ready
难度 1/5 1 小时以内 新手友好度 82/100
digitalfabrik/integreat-cms#4621 ·
维护者通常 5 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
ioos/compliance-checker#1375 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
netbox status: backlog topic: testing type: housekeeping
难度 2/5 1-3 小时 新手友好度 70/100
netbox-community/netbox#23395 ·
维护者通常 1 天内回复