Audit cascade rules between tables to simplify repo deletion
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
- 38/100
Línea de trabajo
Start by reading the table definitions and migrations to list every foreign key that points at the repo table, then compare that list against the deletion order in collectoss_utilities/deletes.py, which encodes what must go first. Decide per relation whether cascade or nullify is right and where the rule belongs (migration vs. model). Done when deleting a single repo row removes or clears everything that depends on it without running the external script.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
currently the best way to handle "i want to remove this repo from the database" is a script/command in collectoss-utilities.
When we have the schema a little more cleaned up, I think its not unreasonable to expect CollectOSS to be responsible for its own schema.
IMO CollectOSS should properly set on-delete rules for things joined to the repo table to ensure that, if someone deletes a repo from the repo table, everything that depends on it is also deleted.
the ordering of the existing script should give lots of clues as to what should be deleted.
- Lenguaje dominante
- Python
- Estrellas
- 18
- Forks
- 33
- Merge medio
- 2 d 16 h
- PR fusionados (30 d)
- 12
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
-
CLI: connectivity check prints diagnostics to stdout, breaking piped outputQuizá libre de nuevo @Nimisha987 la tomó hace 10 días y no hay ningún pull request abierto. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
chaoss/CollectOSS#548 · 1 comentario ·
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
-
devops
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#406 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Bump codeql SARIF upload Ci dependency to v4Posiblemente ocupada @Dipro-cyber la tomó hace 181 días. Abiertodependencies devops good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#349 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaoss/CollectOSS#307 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de chaoss/CollectOSS
Issues similares
-
[Resource]: SpaicelyAbiertoresource-submission validation-passed
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
hesreallyhim/awesome-claude-code#3875 · 1 comentario ·
-
[Bug]: Ajax Pro login issueAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
bvis/aegis-hass#725 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
datasektionen/cashflow#468 ·
-
dont call alembic upgrade until we check whether or not the cache DB has an alembic version stampAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Bug: AttributeError: 'GptOssConfig' object has no attribute 'rope_scaling_factor' with transformers >= 5.xPosiblemente ocupada @NimaVaziri la tomó hoy. AbiertoPytorch
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NVIDIA/TensorRT-LLM#23406 ·
Los mantenedores suelen responder en 1 día