← Back to team overview

duplicity-team team mailing list archive

Ubuntu One Support

 

Hello!  I filed a couple branch merge requests last week, but realized
I never actually sent an email discussing them!  Here we go.

So remember last November, when I said, "I'm working on U1 support,
when is the next release so I can squeeze it in?"  Well...  The U1
server just recently finally enabled support for the API necessary to
add support, so here is -- finally -- the code.

Unfortunately, since the API support is so new, a trunk version of the
ubuntuone-couch Python module is required.  But besides that, it works
as expected, except that to log into U1 the first time, you need an X
session.  So you can't stick it in cron and forget it.  After the
first time, you should be able to retrieve your credentials without X,
just using the dbus session that the backend spawns for you.

The URL paths are predictable (though note that support for
non-one.ubuntu.com hosts is theoretical now, since no one else that I
know of is implementing the same API):

u1+http://my/folder/path
u1://host.com/my/folder/path

The relevant branches are:

https://code.launchpad.net/~mterry/duplicity/u1/+merge/62128
https://code.launchpad.net/~mterry/duplicity/levelName/+merge/62226
(which fixes a bug in the logger that surfaced after adding the above
branch)

Thanks,
-mt


Follow ups