aboutcode-org / aboutcode-org/purldb
Avoid making purl2vcs calls in the index_packages view function
Ouverte
- Langage dominant
- HTML
- Étoiles
- 67
- Forks
- 69
- Merge moyen
- 8 j 8 h
- PR mergées (30 j)
- 1
Description
- [ ] `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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.