aboutcode-org / aboutcode-org/purldb

Update checkpointing in alpine and maven pipelines

Abierto
#740 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
HTML
Estrellas
67
Forks
69
Merge medio
8 d 8 h
PR fusionados (30 d)
1

Descripción

When running the alpine and maven pipelines to collect package urls, both actions time out after 6 hours. We should have a way to keep track of where we are when we are processing an index file so when we are interrupted, we can start off where we were.

For maven, the order of packages in the index is deterministic for a given version of the index, when the index is updated, the order of packages is not always the same as the order it was in the previous index.

We would need to keep track of the index file checksum to see if we can resume from the index file or if we have to start over because the index is different. We would also need to track which package we last processed so we know where to pick up from.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start by locating the alpine and maven pipeline entry points and the code that processes each index file. Check how the current index checksum and last processed package could be stored and restored. Done means an interrupted run resumes when the checksum matches and starts over when the index changes, for both pipelines.

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

Evaluación

Área
data-engineering
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
42/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.