Add CI jobs to act as a sanity check for PRs containing database migrations
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
- 51/100
Línea de trabajo
Start by reading the repository’s CI configuration and database migration files to see how migrations are named and run. Add checks for duplicate migration numbers and imports from database models in new migrations. Done means pull requests containing migrations receive both checks, with clear failures when either rule is violated.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Database migrations are one of the parts of the codebase that recieves the most review scrutiny, most of it very rules-based and mechanical.
We can convert these into CI checks to focus reviews on the less mechanical parts (i.e. "how will this affect existing instances")
Some criteria to check new PRs for (if they contain a new database migration):
- That the migration number is not duplicated with an existing migration (i.e. two PRs create migrations with the same next number) - although this may not be fully reliable, if one PR merges and the other doesnt get rebased, the check may not rerun.
- Ensuring that there are no import statements that import anything from the database models (use of DB models should be minimal or nonexistent, and if there is a reason for it, the models should be copy pasted into the migration)
- Lenguaje dominante
- Python
- Estrellas
- 17
- Forks
- 30
- Merge medio
- 6 h 16 min
- PR fusionados (30 d)
- 9
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de chaoss/CollectOSS
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
chaoss/CollectOSS#548 ·
Los mantenedores suelen responder en 1 día
-
Ensure privacy policy fields are filled out by CollectOSS maintainers for the default forgesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#521 ·
Los mantenedores suelen responder en 1 día
-
mask keys by default when checking API key expiryPosiblemente ocupada @iGufrankhan la tomó hace 139 días. Abiertochallenging first issue CLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#414 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
challenging first issue CLI
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#413 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Output current time alongside API key reset timePosiblemente ocupada @Dipro-cyber la tomó hace 145 días. AbiertoCLI good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#412 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de chaoss/CollectOSS
Issues similares
-
HassSetVolumeRelative reports no targets (empty success list) although the volume was changedAbiertointegration: media_player
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
home-assistant/core#193344 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
daniel-ospina/tortoise#13607 ·
Los mantenedores suelen responder en 1 día
-
documentation priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día