Create new operations database table for pending repo collection requests

Abierto
#529 3 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
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
42/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python
Área
databases

Línea de trabajo

The payload does not name the files, so start by finding where the existing database tables and their migrations are defined in this Python repository, and follow the pattern used for an existing table. Decide with maintainers how the requester reference and the "self"/"collection" value should work, since the issue leaves that open. Done means a new table exists with the listed columns (repo URL, requester, optional reason, timezone-aware timestamp, nullable denied flag) and a migration that creates it.

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

Descripción

challenging first issue database pending-maintainers

In order to support the larger task that this issue is part of, we likely want a new database table for collection requests (i.e. repos we may want to collect that are pending approval from an admin).

I think this table should include:

  • the repo url requested for collection
  • who requested it? (should be a reference to the users table for a known collectoss user, maybe also with a "self" or "collection" value to indicate when such requests were auto generated by the system)
  • why is it being requested? (free text optional string)
  • when was the request made (timestamp with timezone)
  • Whether the request has been denied (boolean or null)
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.