← Back to team overview

ubuntu-phone team mailing list archive

Re: owncloud sync on the phone.

 

On 15 April 2016 at 17:12, Bill Filler <bill.filler@xxxxxxxxxxxxx> wrote:

> Hey guys, this is great and thanks for the effort to get Owncloud sync
> working! We've been thinking about how to do proper integration into Ubuntu
> Touch to have it work out of the box using our current architecture and
> components in the system.
>
> Specifically for contact sync and calendar sync, here is how we envision
> the components fitting into our current architecture:
>
>
>    1. Owncloud online account - we'd need an online account plugin for
>    Owncloud for services to authenticate. This is a pre-requiste for both
>    calendar, contacts and any other service that eventually wanted to sync.
>    Sounds like mardy has an initial implementation here [1]
>    2. Contacts: contact syncing currently uses the buteo framework and
>    our only plugin used so far is the google contact plugin (via Google API).
>    A new buteo plugin that supports carddav would need to be written. One
>    exists, used by Jolla [2], could be used on Ubuntu with minimal changes
>    potentially.
>    3. Calendar: calendar syncing is currently done using sync-monitor and
>    syncevolution, with the plan to eventually replace with the buteo framework
>    (longer term, non-trivial project). Once this is in place, the buteo caldav
>    plugin [3] could be used. For the shorter term, work could be done on
>    sync-monitor to configure syncevolution wtih Owncloud caldav online account
>    inforrmation such that the existing support for caldav in syncevolution
>    could be used.
>
> Steps 1 and 2 are pretty self contained and would be great candidates for
> anyone in the community to hack on and that would help us get into the
> product quicker. We'd be happy to provide guidance and help here.
>
> Regarding generic Owncloud sync for other types of files (photos, music,
> etc), we are working on a storage framework that will provide a plugin
> mechanism to talk to cloud based services. In this framework, an Owncloud
> plugin will need to be written and there will be a QML api for apps to use
> to participate in the sync. This is some ways out, but is where we are
> heading in Ubuntu engineering. You'll be hearing more about it as work
> progresses in the next months.
>
> Bill
>
> [1] http://bazaar.launchpad.net/~danielholm/owncloud-app/trunk/files
> [2] https://git.merproject.org/mer-core/buteo-sync-plugin-carddav
> [3] https://git.merproject.org/mer-core/buteo-sync-plugin-caldav
>
>
>
Hi Bill,

I've have been working on an owncloud app [1] for a number of weeks now, I
have thoroughly enjoyed it and I hope to share some test builds on the
openstore [2] soon.

As I work though fixing bugs I intend to rewrite parts of the sync daemon
to be more flexible and expose more control to apps. Is it possible for me
to do this in a way that will benefit the project as a whole and
potentially form the foundation of an official framework?

Thanks,

Dan

[1] https://code.launchpad.net/~ocs-team/owncloud-sync/trunk
[2] https://open.uappexplorer.com/

Follow ups

References