Could bzr push to Amazon's S3?

Aaron Bentley aaron at aaronbentley.com
Fri Dec 28 06:13:24 GMT 2007


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

casret wrote:
>
>
> On Dec 20, 2007 8:59 PM, Aaron Bentley <aaron.bentley at utoronto.ca
> <mailto:aaron.bentley at utoronto.ca>> wrote:
>
>     -----BEGIN PGP SIGNED MESSAGE-----
>     Hash: SHA1
>
>     Mark A. Hershberger wrote:
>     > Since bzr can use flat files, is there any reason S3 couldn't be
>     used as
>     > repository?
>
>     Apparently, S3 doesn't have atomic rename
>
>     See this:
>     http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/18912
>     <http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/18912>
>
>     But I don't think we actually need atomic rename.  We do need a
>     guarantee that renaming a directory over top of an existing directory
>     with contents will fail.
>
>
> There is no renaming operation, nor are there directories in S3.  There
> are just keys and data.

Bazaar's current formats are designed for filesystems.  So they use
renaming of directories for locking.  If there's no analogue in S3, you
may want to review the discussion I posted.

Also, you might be interested in my post on "Bazaar, OLPC, and the
"no-packs" repository format", since it discusses a database-oriented
repository format.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHdJQD0F+nu1YWqI0RAnIMAJ0XWUYaD4zIqySJS7yajxg6w8cn1gCgicm7
Af4DwzRBXBvWy23aKR0ccmQ=
=zJ3/
-----END PGP SIGNATURE-----



More information about the bazaar mailing list