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

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

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

From: DCWoods <hidden>
Date: 2016-06-15 22:51:21

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.

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

From: Shawn Pearce <hidden>
Date: 2016-06-15 22:51:21

On Tue, May 31, 2011 at 02:14, DCWoods [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help