Merge lp:~kartoch/duplicity/hubic into lp:~duplicity-team/duplicity/0.7-series
Status: | Rejected |
---|---|
Rejected by: | Kenneth Loafman |
Proposed branch: | lp:~kartoch/duplicity/hubic |
Merge into: | lp:~duplicity-team/duplicity/0.7-series |
Diff against target: |
120 lines (+105/-0) 2 files modified
duplicity/backends/hubicbackend.py (+104/-0) duplicity/commandline.py (+1/-0) |
To merge this branch: | bzr merge lp:~kartoch/duplicity/hubic |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
duplicity-team | Pending | ||
Review via email: mp+231126@code.launchpad.net |
Description of the change
Hubic support
Add a new backend for the support of Hubic, a french cloud provider offering cheap space storage.
The code adds a pre-authentication step to the swift backend, requesting some web services to obtain pre-authentication URL and token.
Usage:
- url is "hubic://default"
- user / password is deliver to duplicity via export variables HUBIC_USERNAME and HUBIC_PASSWORD
At the present time there is few limitations:
- the URL MUST BE "hubic://default", thus there is no way to place backup in a sub-directory
- token are valid 8 hours. If the backup takes more time, the user needs to relaunch duplicity to continue it. This is a limitation of the swift code to relaunch an authentication step in case of "not authorized" error during transfer.
It seems Hubic will change auth service soon for OAuth and will drop web services soon, so my patches will be probably useless...