* [JGIT] Problem using API to create a repository in Amazon S3
@ 2011-05-31 9:14 DCWoods
2011-05-31 13:56 ` Shawn Pearce
0 siblings, 1 reply; 2+ messages in thread
From: DCWoods @ 2011-05-31 9:14 UTC (permalink / raw)
To: git
I'm not sure that what I'm trying to do is possible using JGit - I've spent
days trying to figure this out!
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.
At the moment I'm stuck trying to create the repository using the JGit API.
All the examples I've found show pushing from a local repository to an S3
remote repository using a command line client.
1. Is this even possible using the JGit API?
2. Are there any examples showing how to do this?
3. Can anyone give me any tips on the method or how to achieve this?
Thanks for your time.
David
--
View this message in context: http://git.661346.n2.nabble.com/JGIT-Problem-using-API-to-create-a-repository-in-Amazon-S3-tp6421952p6421952.html
Sent from the git mailing list archive at Nabble.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [JGIT] Problem using API to create a repository in Amazon S3
2011-05-31 9:14 [JGIT] Problem using API to create a repository in Amazon S3 DCWoods
@ 2011-05-31 13:56 ` Shawn Pearce
0 siblings, 0 replies; 2+ messages in thread
From: Shawn Pearce @ 2011-05-31 13:56 UTC (permalink / raw)
To: DCWoods; +Cc: git
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-31 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-31 9:14 [JGIT] Problem using API to create a repository in Amazon S3 DCWoods
2011-05-31 13:56 ` Shawn Pearce
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).