AppThreat / vulnerability-db

Vulnerability database and package search for sources such as Linux, OSV, NVD, GitHub and npm. Powered by sqlite, CVE 5.0, purl, and vers.
MIT License
96 stars 22 forks source link

Switched to pyproject.toml #51

Closed cerrussell closed 1 year ago

cerrussell commented 1 year ago

Issue #50 Project metadata is now stored in pyproject.toml and workflows have been updated to use this file as the basis for builds. Setup.py has been removed. Requirements files have not been touched but are not utilized in the build pipelines.

prabhu commented 1 year ago

@cerrussell That was so fast!!!

Could I tempt you for another PR? I hardcoded the batch size at 20 here and never felt happy. Plus, there is this nested for loop. Could you experiment and help improve the read performance? Even if we trim 5 seconds per universal scan (run dep-scan with a large --bom argument generated using -t universal), we would collectively save many hours for a lot of people and enhance developer productivity since we have a lot of CI/CD users.

https://github.com/AppThreat/vulnerability-db/issues/44

cerrussell commented 1 year ago

@prabhu Sure!