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 摘要。