duplicity-talk
[Top][All Lists]
Advanced

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

[Duplicity-talk] Backend API support


From: Scott McKenzie
Subject: [Duplicity-talk] Backend API support
Date: Mon, 23 May 2016 06:38:10 +0000

Hi list

I'm looking for some advice on which versions or how many versions of an API a backend should reasonably support.  The Azure backend uses the Microsoft Azure Storage SDK for Python (https://github.com/Azure/azure-storage-python) which is under active development.  This means that API objects and methods are a moving target.  I'm currently updating it to support the latest version and it's looking a bit "messy".  There are a few hasattr() calls to determine which objects to instantiate and which methods to call on those objects.

Does the duplicity project have any guidelines for this?  If so, please point me towards them.

If not, how many versions do you think a backend should support?  Should the supported/required versions be documented in the duplicity man page?


Thanks
Scott


reply via email to

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