{"thread":{"id":"27506","subject":"[JGIT] Problem using API to create a repository in Amazon S3","startedAt":"2011-05-31T09:14:50Z","lastAt":"2011-05-31T13:56:10Z","messageCount":2,"participants":["DCWoods","Shawn Pearce"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"169046","messageId":"1306833290555-6421952.post@n2.nabble.com","threadId":"27506","inReplyTo":null,"subject":"[JGIT] Problem using API to create a repository in Amazon S3","fromName":"DCWoods","fromEmail":"dwoodsnz@gmail.com","sentAt":"2011-05-31T09:14:50Z","receivedAt":"2011-05-31T09:14:50Z","isPatch":false,"sender":{"key":"dwoodsnz@gmail.com","avatar":null},"body":"I'm not sure that what I'm trying to do is possible using JGit - I've spent\ndays trying to figure this out!\n\nI am writing an application that I want to be able to control git using\nAmazon S3 for the storage.  I want the application to be able to create a\nnew git repository in S3, commit files that are created dynamically by the\napplication, and then later update and retrieve them.  \n\nAt the moment I'm stuck trying to create the repository using the JGit API. \nAll the examples I've found show pushing from a local repository to an S3\nremote repository using a command line client.\n\n1. Is this even possible using the JGit API?\n2. Are there any examples showing how to do this?\n3. Can anyone give me any tips on the method or how to achieve this?\n\nThanks for your time.\n\nDavid\n\n--\nView this message in context: http://git.661346.n2.nabble.com/JGIT-Problem-using-API-to-create-a-repository-in-Amazon-S3-tp6421952p6421952.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"169049","messageId":"BANLkTinh7RFW8aSVndrKZp4nmPw+fPBzUw@mail.gmail.com","threadId":"27506","inReplyTo":"1306833290555-6421952.post@n2.nabble.com","subject":"Re: [JGIT] Problem using API to create a repository in Amazon S3","fromName":"Shawn Pearce","fromEmail":"spearce@spearce.org","sentAt":"2011-05-31T13:56:10Z","receivedAt":"2011-05-31T13:56:10Z","isPatch":false,"sender":{"key":"spearce@spearce.org","avatar":"https://avatars.githubusercontent.com/u/34844?v=4"},"body":"On Tue, May 31, 2011 at 02:14, DCWoods <dwoodsnz@gmail.com> wrote:\n> I am writing an application that I want to be able to control git using\n> Amazon S3 for the storage.  I want the application to be able to create a\n> new git repository in S3, commit files that are created dynamically by the\n> application, and then later update and retrieve them.\n\nYou can't really use a repository on S3, you can only fetch from it or\npush to it. So you would need to have a local repository that has a\ncopy of everything, work on the local repository, and at specific\n\"checkpoints\" push the local repository to S3 for backups.\n\n-- \nShawn.\n"}]}