aboutcode-org / aboutcode-org/purldb

Avoid making purl2vcs calls in the index_packages view function

Open
#481 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
67
Forks
69
Avg merge
8d 8h
Merged PRs (30d)
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.