duplicity-tracker
[Top][All Lists]
Advanced

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

[Duplicity-tracker] [patch #6292] Amazon S3 bucket creation deferral for


From: Darik Horn
Subject: [Duplicity-tracker] [patch #6292] Amazon S3 bucket creation deferral for Duplicity 0.4.6
Date: Wed, 28 Nov 2007 20:41:46 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.10) Gecko/20071126 Ubuntu/7.10 (gutsy) Firefox/2.0.0.10

URL:
  <http://savannah.nongnu.org/patch/?6292>

                 Summary: Amazon S3 bucket creation deferral for Duplicity
0.4.6
                 Project: duplicity
            Submitted by: dajhorn
            Submitted on: Wednesday 11/28/2007 at 20:41
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This patch defers the creation of new Amazon S3 buckets until the
BotoBackend.put() method is called by an action that writes data.

The S3 backend currently creates buckets for actions like "collection-status"
and "verify" that should be read-only operations.  This behavior can have
unintended consequences if duplicity is scripted.  (eg: Most AWS accounts are
limited to 100 buckets.)

Ideally, this patch need only change BotoBackend __init__, but there does not
seem to be a way to test for the invoked action without changing non-backend
code. (ie: By making 'action' a global variable in the commandline.py file.)



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wednesday 11/28/2007 at 20:41  Name: duplicity-s3listbucket.patch 
Size: 1kB   By: dajhorn

<http://savannah.nongnu.org/patch/download.php?file_id=14503>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?6292>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

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