Re: OneDrive backend
- From: Vilém Hořínek <vilem horinek hotmail com>
- To: Spork Schivago <sporkschivago gmail com>, Debarshi Ray <rishi is lostca se>
- Cc: "gvfs-list gnome org" <gvfs-list gnome org>
- Subject: Re: OneDrive backend
- Date: Thu, 31 May 2018 18:03:01 +0000
Hey,
Yes, using libzapojit [1] for the over-the-wire communication is a
good idea. The OneDrive integration in GNOME Documents uses it; it's
quite similar to the libgdata [2] API and is easy to integrate with
GNOME Online Accounts.
That said, I wrote libzapojit six years ago in just about a week and
haven't touched it since (no idea if that's a good or bad thing :/),
and it has managed to keep working as far as GNOME Documents is
concerned. Since then Microsoft seems to have rolled out a newer
version of the API. So you might want to check up on that. I'd
suggest migrating libzapojit to the newer API version before working
on the GVfs backend. Otherwise you might be surprised by Microsoft
killing off the old API - this actually happened while we were working
on the Google Drive backend! Oh, and we really need to add a test
suite!
Other than that, as Ondrej mentioned, the Google Drive backend exposes
some limitations of the GIO abstraction; and we need to rethink the
caching to improve performance but that's a bit tied to the way we
handle multiple files with the same title in the same location. If
OneDrive doesn't allow duplicate titles, then it might have a
significant positive effect on your life. :)
Feel free to ask if you need any help. Good luck!
Happy hacking,
Rishi
[1]
https://developer.gnome.org/libzapojit/0.0/
[2]
https://developer.gnome.org/gdata/0.17/
[3]
https://github.com/pwithnall/uhttpmock
_______________________________________________
gvfs-list mailing list
gvfs-list gnome org
https://mail.gnome.org/mailman/listinfo/gvfs-list
Hello,
I was looking at the source code of libzapojit and I will slowly start migrating it to the new API in the next couple of days.
Vilém
[Date Prev][Date Next] [Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]