-
-
Notifications
You must be signed in to change notification settings - Fork 872
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update handling of 'remote' folder designation as 'root' items (Issue #323, #324, #331) #328
Conversation
* Add --force-http-1.1 flag to downgrade any HTTP/2 curl operations to HTTP 1.1 protocol * Explicitly set all bool items to false at initialisation * Update --display-config to display sync_list if configured * Add debug handling to display when sync_list is loaded * Add debug handling to output the handling of OneDrive changes
* update extra debugging
* Fix introduced core.exception.AssertError@src/itemdb.d(341): Assertion failure
* Add further debugging to print out changes reported by OneDrive
* add debugging as to how and where 'unwanted' is being set
…mote' shared items * Add more debugging output * Update to handle where OneDrive does not provide correct change objects for 'remote' shared items
* Fix missing declaration
* Update error messaging
* Update debug messaging
* Update debugging output
* Update debugging
* Update handling of the 'remote' but 'local' database entry as prior logic appears to have been changed by OneDrive
Prior to (potentially this is a OneDrive API change being rolled out), a 'change' record for the 'remote' folder consisted only of the following:
Note: Only 'driveId' & 'driveType' present. In issues #323 & #324 however, all of these same reference items contained an 'id':
As such, because of the presence of 'id', the 'change' was being flagged as an actual item to sync. rather than being the database 'glue' to tie the local OneDrive entry to the remotely shared item. The real fix for this is 37b3c76 however this PR incoporates all of the work in #327 as well, plus adding in a whole lot of extra debugging that helped get to the bottom of this |
This reverts commit 388cc1d
Hi @abraunegg |
@norbusan |
* Update from master
* Remove added db search for remote id as this is no longer required & effectivly would never get used / reached if remote 'item' is handled correctly & inserted properly
* remove printing of sql query & response as no longer required
* add what the item id is to verbose debug output
Hi @abraunegg |
@norbusan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Build and run tested, the changes look reasonable, as well as the debug output when files are added/removed.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Issue #323 extreme debugging