neuropoly / bibeasy

Set of tools to manage academic bibliography
Apache License 2.0
0 stars 0 forks source link

Caching is confusing #4

Open jcohenadad opened 2 years ago

jcohenadad commented 2 years ago

I was confused as to why bibeasy would give me results that are not up-to-date with the google sheet, and had to go into debug mode to find out that there is a caching feature:

https://github.com/jcohenadad/bibeasy/blob/9965e3dd026795a811464b6b2f80a7b87dff58cd/bibeasy/gsheet.py#L55

I would suggest to remove this caching feature (or make it non-default), because most of the time I would like to get updated results and not reuse the one in the cache.

EDIT: I just realized that there is a new flag '-c' that can be specified to not use the cache, although as said above, I know myself, and I will forget about this each time I'd like to use this function and will spend 30min figuring out why bibeasy results are not updating.