aboutcode-org / aboutcode-org/purldb

Update checkpointing in alpine and maven pipelines

Ouverte
#740 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
HTML
Étoiles
67
Forks
69
Merge moyen
8 j 8 h
PR mergées (30 j)
1

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Domaine
data-engineering
Type d'issue
Fonctionnalité
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.