AlmaLinux / AlmaLinux/build-system

Add support for maintenance mode

Offen
#202 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Keine Sprachdaten
Sterne
32
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.