Display basic disk space monitoring information in the admin UI

Aperta
#611 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python

Direzione di ricerca

Start by locating how CollectOSS configures its facade and log directories, then check how the admin UI presents instance information. Explore whether the operating system can report available space for each configured directory's filesystem. Done means admins can see space information for both directories, with values reflecting whether they share a filesystem.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

We don't want to assume CollectOSS admins want full monitoring as found in the collectoss-monitoring repo.

Especially if we plan to have #528 (repo collection request system), potentially with the system itself suggesting new repos to collect on (as discussed in #309), It would be nice to have the information about how much available space there is so instance admins clicking approve for repos can make informed choices based on not only the estimated size of the repo that they are approving, but also on how much space they have remaining on the system.

I think a basic, OS-provided mechanism for estimating disk space on a per-filesystem basis would work. We could then provide it with the inputs of several key directories in CollectOSS, such as:

  • configured facade directory
  • configured log directory

That way, if each of these filesystems is on a separate disk, then the user would see different total amounts of space, but if everything is on the same disk, then all the bars would move together.

Lingua principale
Python
Stelle
18
Fork
33
Merge medio
2g 16h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di chaoss/CollectOSS

Tutte le issue di chaoss/CollectOSS

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.