aboutcode-org / aboutcode-org/vulnerablecode

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

未关闭
#1,376 1 条评论 0 个 reaction 已指派 1 人 已被 @harsh098 认领 在 GitHub 查看
主要语言
Python
星标
702
派生
328
平均合并
3 天 8 小时
30 天内合并 PR
3

描述

# 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

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。