aboutcode-org / aboutcode-org/vulnerablecode

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

オープン
#1,376 コメント 1 件 リアクション 0 件 担当者 1 名 @harsh098 が担当を希望しています GitHub で見る
主要言語
Python
スター
702
フォーク
328
平均マージ
3日 8時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。