AlmaLinux / AlmaLinux/build-system

Add support for maintenance mode

Đang mở
#202 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
32
Fork
11
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.