git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Git and Amazon S3

From
APAneurin Price <aneurin.price@gmail.com>
Date
Feb 3, 2010, 12:05 UTC
Message-ID
<501db8661002030405h23e940e7r6e8fd0149818c80f@mail.gmail.com>
In-Reply-To
<20100202194455.GO9553@machine.or.cz>
Thanks for the replies everyone.
On Tue, Feb 2, 2010 at 19:44, Petr Baudis <pasky@suse.cz> wrote:
Show 18 quoted lines
> On Tue, Feb 02, 2010 at 01:56:41PM +0000, Aneurin Price wrote:
>> Does anyone have any remarks about these options? Is there a better option - how
>> difficult would it be to add native support to git?
>
>  I'm not really familiar with Amazon S3 _or_ the current transport
> code, but by cursory examination of both, it seems that it would be
> fairly easy to add support for another transfer. And it might be even
> better idea to actually just add generic support to invoke an external
> helper to perform all the heavy lifting.
>
>  Basically, all the abstraction is already pre-cooked in the form of
> rsync protocol support. I would just cut'n'paste that and replace rsync
> magic with simple calls to external helper along some sensible simple
> API, then code up an easy wrapper for S3 there. Or just add S3 API
> support directly to core Git - it doesn't seem to be licence-encumbered.
> Should take just a couple of hours including debugging, if you just
> copy the existing rsync support functions.
>

This sounds like the most interesting option, if not necessarily the most practical. I've also discovered s3cmd (http://s3tools.org/s3cmd) which seems to be widely packaged and could probably serve nicely as that wrapper.

If I can manage to get those couple of hours free at some point I'll give it a go. Is this something that might be a mergeable feature?

Thanks again, Aneurin Price

Previous: Petr Baudis
Message 6 of 6 in “Git and Amazon S3”
  1. Aneurin PriceFeb 2, 2010
  2. Marc WeberFeb 2, 2010
  3. Tay Ray ChuanFeb 2, 2010
  4. Jay SoffianFeb 2, 2010
  5. Petr BaudisFeb 2, 2010
  6. Aneurin PriceFeb 3, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.