windows-universal icon indicating copy to clipboard operation
windows-universal copied to clipboard

Background Sync Enhancements

Open TheScientist opened this issue 7 years ago • 4 comments

I have a partially working background task version of the file sync: https://github.com/TheScientist/windows-universal/tree/%2310_background I'll track the todos here.

Version 1.2.0:

  • [ ] SyncTask gets cancelled regularely with errorCode 0x80010008
  • [ ] Refactoring of duplicate ClientService
  • [ ] EventListener for better PushNotifications (notification per file)
  • [ ] KeepAsIs ConflictSolution
  • [ ] Handle Progress and Cancel in Background Task
  • [ ] Settings for timetrigger + notifications
  • [ ] Use built in sqlite (see #117)

Future versions

  • [ ] Better Sync Algorithm (per Sync framework)to be able to delta sync

TheScientist avatar Jun 11 '17 13:06 TheScientist

The background task will be outproc, right?

DecaTec avatar Jun 11 '17 13:06 DecaTec

Yes, we need to move some of the classes into a class library, to make them usable by the bg task. The branch has a partially working version. Sync starts but gets canceled sometimes.

TheScientist avatar Jun 11 '17 14:06 TheScientist

Looking at the code from the new owncloud client, I found 2 interesting things:

  • they query a windows search index to look for locally changed files
  • they compare local files by size to check for changes (we use modified time)

TheScientist avatar Jun 24 '17 13:06 TheScientist

Oh, nice, a universal owncloud client. Thats a great finding for reference! Let's see if can adapt some things!

SunboX avatar Jun 24 '17 19:06 SunboX