AlmaLinux / AlmaLinux/build-system

Add support for maintenance mode

未关闭
#202 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
没有语言数据
星标
32
派生
11
PR 合并指标
30 天内没有已合并 PR

描述

It would be great to add support for maintenance mode in ALBS:
* Based on a configuration flag, make all API calls to return a [503 - Service Unavailable](https://www.rfc-editor.org/rfc/rfc9110.html#name-503-service-unavailable), indicating the reason and a time before the next retry.
* Make ALBS frontend to show a generic "Maintenance Mode" page, indicating the information provided by the API (mostly, the reason why it's off).

We could make use of this [FastAPI Maintenance Mode Middleware](https://pypi.org/project/fastapi-maintenance-mode/) in backend. Not sure if there's anything for Vue.js though, needs some research.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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