aboutcode-org / aboutcode-org/vulnerablecode

[Enhancement] Logging: Add logging to vulnerabilitites.import_runner and vulnerabilities.importers for better readability

Open
#1,376 1 comment 0 reactions 1 assignee Claimed by @harsh098 View on GitHub
Dominant language
Python
Stars
702
Forks
328
Avg merge
3d 8h
Merged PRs (30d)
3

Description

# Current Behaviour
On running `./manage.py import --all` for the database.
The function call to `importer_class().advisory_data()` defined in [vulnerablities/import_runner.py#L57](https://github.com/nexB/vulnerablecode/blob/d21d2c1de127118a7ff884c184eb6aefdadf157c/vulnerabilities/import_runner.py#L57C4-L57C4)
collects the `json` data from the `importers` defined in `vulnerabilites.importers` package
The current output looks like
![image](https://github.com/nexB/vulnerablecode/assets/23445112/9dab6a9d-9adf-4795-9c3f-b17ef97bfb4e)

# Expected Behaviour
Add a progress bar to show status of import

# Deliverables
- [x] Add Progress Bar for successful fetch

# Further Additions
- [ ] Add Progress Bar for successful write to database

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.