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

Re: [JGIT] Problem using API to create a repository in Amazon S3

From
Shawn Pearce <spearce@spearce.org>
Date
May 31, 2011, 13:56 UTC
Message-ID
<BANLkTinh7RFW8aSVndrKZp4nmPw+fPBzUw@mail.gmail.com>
In-Reply-To
<1306833290555-6421952.post@n2.nabble.com>
On Tue, May 31, 2011 at 02:14, DCWoods <dwoodsnz@gmail.com> wrote:
> I am writing an application that I want to be able to control git using
> Amazon S3 for the storage.  I want the application to be able to create a
> new git repository in S3, commit files that are created dynamically by the
> application, and then later update and retrieve them.

You can't really use a repository on S3, you can only fetch from it or push to it. So you would need to have a local repository that has a copy of everything, work on the local repository, and at specific "checkpoints" push the local repository to S3 for backups.

-- 
Shawn.
Previous: DCWoods
Message 2 of 2 in “[JGIT] Problem using API to create a repository in Amazon S3”
  1. DCWoodsMay 31, 2011
  2. Shawn PearceMay 31, 2011

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.