aboutcode-org / aboutcode-org/purldb

Avoid making purl2vcs calls in the index_packages view function

Aperta
#481 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
HTML
Stelle
67
Fork
69
Merge medio
8g 8h
PR unite (30g)
1

Descrizione

- [ ] `index_packages` is meant for bulk indexing of packages asynchronously. Since purl2vcs involves network call, it should not be called in the view function. Instead, purl2vcs should be called while processing the PriorityResourceURI.
- [ ] Also, currently purl2vcs is only called when reindexing is requested. It should also be called when indexing new packages.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.