ISISComputingGroup / ISISComputingGroup/HotfixStatusChecker

Rethink architecture

未关闭
#8 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
0
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

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`

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start with utils/hotfix_utils/InstrumentChecker.py and the FastAPI documentation, then review how the Jenkins job currently checks instrument git status over SSH. Clarify the service boundary and procserv deployment before implementation; done should mean Jenkins can obtain output equivalent to git status --porcelain through the proposed REST endpoint.

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

评估

技术栈
fastapi, python
领域
api, backend, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

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