You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 4, 2025. It is now read-only.
I have a script that gets data, saves to a csv file, and then attemps to import into the first database, then will copy the database to a different location, with a different name.
The problem is, dio, thinks there's been changes to the latter database, when there are actually no changes at all to the first or second database. This means there were no records added, records deleted, or any modifications at all.
For instance, dio status reported a status change for copying iso8601traffic.db to LasVegasMetroTraffic.db, even though the sha hash didn't change before or after the copy.
Sorry, that may not be the most straight forward example or question.
Just do this. Make a copy of your database outside its current directory, then copy that same file back into the original location, keeping the same file name.
Now run dio status. Did it report any changes? In my case dio thought there were changes.
I'm working around this problem by periodically and randomly uploading the database. There's a chance there could be a blank database upload, but it's better than nearly every commit having no changes.
Ahhh. We'll probably need to call @MKleusberg's "Diff()" functionality, so it runs that to determine if there have been changes. That should return a "no changes" result when there haven't been any, and return the list of what has, when there have been.
Activity
jungle-boogie commentedon May 10, 2021
Sorry, that may not be the most straight forward example or question.
Just do this. Make a copy of your database outside its current directory, then copy that same file back into the original location, keeping the same file name.
Now run
dio status. Did it report any changes? In my case dio thought there were changes.jungle-boogie commentedon Jun 18, 2021
I'm working around this problem by periodically and randomly uploading the database. There's a chance there could be a blank database upload, but it's better than nearly every commit having no changes.
justinclift commentedon Jun 19, 2021
Ahhh. We'll probably need to call @MKleusberg's "Diff()" functionality, so it runs that to determine if there have been changes. That should return a "no changes" result when there haven't been any, and return the list of what has, when there have been.