duplicity-talk
[Top][All Lists]
Advanced

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

Re: [Duplicity-talk] Scp calls


From: Gabriel Ambuehl
Subject: Re: [Duplicity-talk] Scp calls
Date: Mon, 04 Jan 2010 18:58:40 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0

On 04.01.2010 18:53, AJ Weber wrote:
That would be exactly what I would have to do, which means editing the source code -- and I'm not "against" that, nor "afraid" of it, but it breaks compatibility with future duplicity upgrades, etc.

I assume I'd have to edit the sshBackend... code, but maybe it would be better to do it in the main code so the backend becomes irrelevant. I could maybe implement a "Pre-Connect" and "Post-Connect" hook of sorts that gets called before/after the actual backend connection operation.

Does anyone think that's worthwhile to develop and add to the project, and Ken, would you want to add that back into the codeline as a new feature should I develop it? I might actually do that work if it was to be included back into future versions; less enthusiastic if I was doing it just for me as a once-off.


Can't you simply tell duplicity to use the scp wrapper script instead of pure scp and pass all options to scp inside the script? Worse case renaming scp and using the script in its location should work for sure...





reply via email to

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