tcgoetz / GarminDB

Download and parse data from Garmin Connect or a Garmin watch, FitBit CSV, and MS Health CSV files into and analyze data in Sqlite serverless databases with Jupyter notebooks.
GNU General Public License v2.0
1.1k stars 138 forks source link

`make` redownloading activities #223

Closed j-paulus closed 6 months ago

j-paulus commented 7 months ago

Describe the bug

I am downloading the info from Garmin weekly using make command. After the update to 3.5.2, this seems to redownload the activities done after the update. For example the last three weeks:

2024-01-27: 98 activities
2024-02-04: 104 activities 
2024-02-11: 109 activities

The progress of downloading the activity zip-files takes longer each week and the number of files downloaded increases. Before the version 3.5.2, the update only downloaded the new activities.

To Reproduce

In the project folder, execute make. Perform some activities. Execute make again. Now also the activities downloaded by the first call are redownloaded.

Expected behavior

make should download only the new activities.

Logs Please include a copy of screen logging and garmin.log.

If necessary, I can share the logs via email.

Please run bugreport.sh and attach bugreport.zip.

Could not find bugreport.sh from my installation.

Additional context

My GarminDB setup is a bit older and updated every now and then. Honestly, it wouldn't be a surprise if this is some update glitch. Still, I'm not sure what is the best approach to debug the issue.

tcgoetz commented 6 months ago

https://github.com/tcgoetz/GarminDB/releases/tag/v3.5.3