duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Feedback highly welcome: Rapidshare-backend for Dup


From: edgar . soldin
Subject: Re: [Duplicity-talk] Feedback highly welcome: Rapidshare-backend for Duplicity
Date: Wed, 02 Nov 2011 10:49:06 +0100
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1

On 01.11.2011 14:54, Willem Jansen wrote:
> Open questions & Issues:
> ========================
> -
> - Free vs. premium account: So far you have to switch the program to premium 
> by hand. Who knows how to implement a variable for that on the config file? 
> (in my case for duply)

see
http://bazaar.launchpad.net/~duplicity-team/duplicity/0.6-series/view/head:/duplicity/commandline.py#L478
for examples how ssh backend implements command line parameters (e.g. 
globals.ssh_askpass). You might want to do something similar for the rs backend.

the switch would then be added to the duplicity options further down in duply's 
conf.

> - As the free account is only making sense for development purposes, should 
> it be deactivated generally? Rapidshare will delete parts of your backup 
> almost for sure which could reflect badly on duplicity

if you have a switch in place i suggest so. Still, is delivering credentials 
not synonymous with premium? Why would i deliver credentials for a free account?

if the above is not true. What happens if you try to premium login with a free 
account? Is there an error to catch, so the backend could switch to free and 
issue a warning?
Wouldn't this make sense generally because even premium accounts might be 
bought for a limited time and the user has forgotten to extend or such?

> - In line 64 I used an "unsexy" workaround to obtain the username correcty. 
> It seems that the automatic setting did not work in my case. Any ideas why?

no but your url seems pretty simple to me.
the values are urlparsed here
http://bazaar.launchpad.net/~duplicity-team/duplicity/0.6-series/view/head:/duplicity/backend.py#L210

maybe a bug in your python version's urlparser?


thanks ede/duply.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]