aboutcode-org / aboutcode-org/vulnerablecode

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

Abierto
#1,376 1 comentario 0 reacciones 1 asignado Reclamado por @harsh098 Ver en GitHub
Lenguaje dominante
Python
Estrellas
702
Forks
328
Merge medio
3 d 8 h
PR fusionados (30 d)
3

Descripción

# 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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.