ubuntu one backend does not work without gnome/dbus/x11 session
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
Fix Released
|
Medium
|
Unassigned |
Bug Description
the current ubuntu one backend is unsuitable for unattended use, or without
gnome (it insists on gvfs and dbus) or on systems like debian where there's no ubuntuone python module.
this is unfortunate, and totally unnecessary as ubuntu one has a very clean and straightforward
restful web api, and the required oauth token can also be gotten easily from the ubuntu sso web service.
so, in order to improve the ubuntu one backend i've reworked it to get rid of
all the external dependencies and gnome/x11 assumptions.
the reworked u1backend uses no nonstandard extras beyond the httplib2 and oauth modules,
and doesn't require gnome, dbus, x-sessions or anything the like.
the oauth token is expected to be given in FTP_PASSWORD; if not the backend
prompts for ubuntu one id and password and requests a new token (and displays it for future use).
the attached patch makes the necessary changes to u1backend.py and the duplicity manpage.
regards,
az
Related branches
Changed in duplicity: | |
milestone: | none → 0.6.20 |
Changed in duplicity: | |
status: | Fix Committed → Fix Released |
Thanks for the patch, however, I cannot apply it to the current source.
Would you mind generating the patch against the current source in the
trunk. A bit has changed since then.
...Thanks,
...Ken
On Sun, Oct 14, 2012 at 7:18 PM, az <email address hidden> wrote:
> Public bug reported: /bugs.launchpad .net/bugs/ 1066625/ +attachment/ 3398541/ +files/ ubuntuone. patch /bugs.launchpad .net/bugs/ 1066625 /bugs.launchpad .net/duplicity/ +bug/1066625/ +subscriptions
>
> the current ubuntu one backend is unsuitable for unattended use, or without
> gnome (it insists on gvfs and dbus) or on systems like debian where
> there's no ubuntuone python module.
>
> this is unfortunate, and totally unnecessary as ubuntu one has a very
> clean and straightforward
> restful web api, and the required oauth token can also be gotten easily
> from the ubuntu sso web service.
>
> so, in order to improve the ubuntu one backend i've reworked it to get rid
> of
> all the external dependencies and gnome/x11 assumptions.
> the reworked u1backend uses no nonstandard extras beyond the httplib2 and
> oauth modules,
> and doesn't require gnome, dbus, x-sessions or anything the like.
>
> the oauth token is expected to be given in FTP_PASSWORD; if not the backend
> prompts for ubuntu one id and password and requests a new token (and
> displays it for future use).
>
> the attached patch makes the necessary changes to u1backend.py and the
> duplicity manpage.
>
> regards,
> az
>
> ** Affects: duplicity
> Importance: Undecided
> Status: New
>
> ** Patch added: "slimmed down standalone ubuntu one backend"
>
> https:/
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https:/
>
> Title:
> ubuntu one backend does not work without gnome/dbus/x11 session
>
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> New
>
> Bug description:
> the current ubuntu one backend is unsuitable for unattended use, or
> without
> gnome (it insists on gvfs and dbus) or on systems like debian where
> there's no ubuntuone python module.
>
> this is unfortunate, and totally unnecessary as ubuntu one has a very
> clean and straightforward
> restful web api, and the required oauth token can also be gotten easily
> from the ubuntu sso web service.
>
> so, in order to improve the ubuntu one backend i've reworked it to get
> rid of
> all the external dependencies and gnome/x11 assumptions.
> the reworked u1backend uses no nonstandard extras beyond the httplib2
> and oauth modules,
> and doesn't require gnome, dbus, x-sessions or anything the like.
>
> the oauth token is expected to be given in FTP_PASSWORD; if not the
> backend
> prompts for ubuntu one id and password and requests a new token (and
> displays it for future use).
>
> the attached patch makes the necessary changes to u1backend.py and the
> duplicity manpage.
>
> regards,
> az
>
> To manage notifications about this bug go to:
> https:/
>