Your message dated Tue, 15 Apr 2008 03:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#475890: fixed in duplicity 0.4.10-2
has caused the Debian Bug report #475890,
regarding duplicity: S3 backups fail with python-boto 1.1c
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
475890: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=475890
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: duplicity
Version: 0.4.10-1
Severity: normal

Due to recent changes in the python-boto package, S3 backups using 
duplicity will fail on existing buckets that contain upper-case
characters in the name. The attached patch, (which has already been
merged upstream), resolves this issue while maintaining backward
compatibility with older boto releases.

I leave it to you to decide whether this warrants a new duplicity
upload before the release of 0.4.11, but thought it best to at least
document this in the BTS.

Thanks,


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (700, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages duplicity depends on:
ii  gnupg                         1.4.6-2.1  GNU privacy guard - a free PGP rep
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  librsync1                     0.9.7-1    Library which implements the rsync
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-central                0.6.1      register and build utility for Pyt
ii  python-gnupginterface         0.3.2-9    Python interface to GnuPG (GPG)
ii  python-pexpect                2.1-1      Python module for automating inter

duplicity recommends no packages.

-- no debconf information

-- 
Eric Evans
[EMAIL PROTECTED]
diff --git a/src/backends.py b/src/backends.py
index 69cf60f..cd290d2 100644
--- a/src/backends.py
+++ b/src/backends.py
@@ -700,6 +700,15 @@ class BotoBackend(Backend):
 			from boto.s3.connection import S3Connection
 			from boto.s3.key import Key
 			assert hasattr(S3Connection, 'lookup')
+
+			# Newer versions of boto default to using virtual hosting for
+			# buckets. This is bad because it will break backups stored in
+			# buckets that contain upper-case characters in the name.
+			try:
+				from boto.s3.connection import OrdinaryCallingFormat
+				calling_format = OrdinaryCallingFormat()
+			except ImportError:
+				calling_format = None
 		except ImportError:
 			log.FatalError("This backend requires boto library, version 0.9d or later, "
 						   "(http://code.google.com/p/boto/).")
@@ -717,6 +726,9 @@ class BotoBackend(Backend):
 			assert parsed_url.scheme == 's3'
 			self.conn = S3Connection(host=parsed_url.hostname)
 
+		if hasattr(self.conn, 'calling_format'):
+			self.conn.calling_format = calling_format
+
 		# This folds the null prefix and all null parts, which means that:
 		#  //MyBucket/ and //MyBucket are equivalent.
 		#  //MyBucket//My///My/Prefix/ and //MyBucket/My/Prefix are equivalent.

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: duplicity
Source-Version: 0.4.10-2

We believe that the bug you reported is fixed in the latest version of
duplicity, which is due to be installed in the Debian FTP archive:

duplicity_0.4.10-2.diff.gz
  to pool/main/d/duplicity/duplicity_0.4.10-2.diff.gz
duplicity_0.4.10-2.dsc
  to pool/main/d/duplicity/duplicity_0.4.10-2.dsc
duplicity_0.4.10-2_i386.deb
  to pool/main/d/duplicity/duplicity_0.4.10-2_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexander Zangerl <[EMAIL PROTECTED]> (supplier of updated duplicity package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 15 Apr 2008 12:46:32 +1000
Source: duplicity
Binary: duplicity
Architecture: source i386
Version: 0.4.10-2
Distribution: unstable
Urgency: low
Maintainer: Alexander Zangerl <[EMAIL PROTECTED]>
Changed-By: Alexander Zangerl <[EMAIL PROTECTED]>
Description: 
 duplicity  - encrypted bandwidth-efficient backup
Closes: 475890
Changes: 
 duplicity (0.4.10-2) unstable; urgency=low
 .
   * applied patch to work around newer python-boto behaviour
     which can make existing S3 backups inaccessible. (closes: #475890)
Files: 
 4f356319f870b0bf1cb96852a7e5edf3 665 utils optional duplicity_0.4.10-2.dsc
 b976c033000c1231e2995618882e211b 124839 utils optional 
duplicity_0.4.10.orig.tar.gz
 39ad374ef23d0c82750b37702dcf11dc 8689 utils optional duplicity_0.4.10-2.diff.gz
 59e7a3746e45875be9b7fd230bc274ab 126994 utils optional 
duplicity_0.4.10-2_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIBBd5py/2bEK9ZF0RAn04AKCOcZuWzyuh2atrkURvII5kiNfc8ACfTrW7
/ePNthjpcb4pPZy9g3rpAk0=
=me/0
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to