Open zz1874 opened 1 year ago
Fixes 122
This PR adds a progress bar for data ingestion. After executing poetry run python -m explorer.api.ingest [file], the output will be a progress bar
poetry run python -m explorer.api.ingest [file]
[####################################] [number of derivations ingested/number of derivations] percentage
instead of
INFO:__main__:/nix/store/.....
Both the logging (which I'll turn into structured logging at some point) and the progress bar have their own merits:
Please make it so we can do both using CLI option flags.
Fixes 122
This PR adds a progress bar for data ingestion. After executing
poetry run python -m explorer.api.ingest [file]
, the output will be a progress barinstead of