← Back to team overview

duplicity-team team mailing list archive

Re: [Question #656947]: restoring metadata from amazon glacier

 

Question #656947 on Duplicity changed:
https://answers.launchpad.net/duplicity/+question/656947

    Status: Open => Answered

edso proposed the following answer:
Martin,

there are multiple calls to backend.pre_process_download() in
bin/duplicity. so it might make sense to rework BackendWrapper
accordingly.

BackendWrapper is a kind of generalizing class for backends providing eg. put(), which is implemented in the backends as private _put() method. so 
1. adding a pre_process_download() to the wrapper, 
2. making it work with single entries and lists and 
3. renaming / running the underlying _pre_process_download() 
should be sufficient here. boto seems to be the only instance using it currently.

renaming the method to pre_get() or pre_process_get() would probably
streamline the general naming.

can you do the changes and generate a diff patch? or even better setup a
bazaar branch, it's not that difficult.

..ede/duply.net

-- 
You received this question notification because your team duplicity-team
is an answer contact for Duplicity.