Rethink architecture
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
调研方向
从 utils/hotfix_utils/InstrumentChecker.py 和 FastAPI 文档开始,然后检查 Jenkins job 当前如何通过 SSH 检查 instrument 的 git status。在实现之前明确服务边界和 procserv 部署;完成的标准是 Jenkins 能够通过提议的 REST endpoint 获取等同于 git status --porcelain 的输出。
由索引模型根据 Issue 内容生成。
描述
I think that rather than ssh'ing into an instrument to check its git status, we should host a REST API which presents it without auth.
This would make the jenkins job a bit more secure and simpler.
Consider using something like https://fastapi.tiangolo.com/ which runs the commands in https://github.com/ISISComputingGroup/HotfixStatusChecker/blob/master/utils/hotfix_utils/InstrumentChecker.py on the server-side, which runs a service (under procserv?) and responds to a call like
GET GITSTATUS - > output of git status --porcelain
- 主要语言
- Python
- 星标
- 0
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
area: harness bug status: needs-triage
难度 2/5 1-3 小时 新手友好度 75/100
Human-Agent-Society/reef#625 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 1/5 1 小时以内 新手友好度 80/100
learningequality/kolibri#15351 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
Name consistency 未关闭
难度 2/5 1-3 小时 新手友好度 75/100
eellak/triplestore#65 · 1 条评论 ·