Display basic disk space monitoring information in the admin UI

Abierto
#611 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
18
Forks
33
Merge medio
2 d 16 h
PR fusionados (30 d)
12

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de chaoss/CollectOSS

Todos los issues de chaoss/CollectOSS

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.