views:

134

answers:

2

I want to commit to a git repo from app-engine via webhooks. I cannot install git on appengine. Possible?

I think it should be on GitHub, because they have a browser based text editor which can commit via the browser. E.g. go here and click the edit button.

GitHub api docs imply read-only operations which doesn't seem to be true.

Also, is this a bad idea? I Know it'll be tough to scale.

+1  A: 

The tags say you're using python so this might not be particularly useful, but I do know there's a pure java implementation of git, JGit, which might work on the app engine. It doesn't look like you can really call java code from python, but you could use a separate instance that you create yourself and use some sort of secure communication channel between this and your app. Assuming there's no undocumented github API that does what you want, that is.

wds
A: 

I'm trying to do the same. I found http://samba.org/~jelmer/dulwich/ but this implementation uses the mmap module which is blocked in app engine.

@Dustin Have you figgured a way to push into git repos from app engine

msmart
i abandoned this idea. it would probably be more straightforward to host your own git web service (somewhere other than appengine) than to attempt to use an undocumented github api.
Dustin Getz