Hi all, This is to keep track of the improvements to be done in Git repo management functionality in Stratos 2.0, since we faced some issues when creating Git repositories concurrently, in our current implementation which uses set of shell scripts to do that.
So we are looking for a way to replace those shell scripts with a Java Client, found [1] provides a nice way to manage git repositories, and is equipped with a Java API [2] as well, so that in Stratos 2 code, I think we can use this API instead of our bash scripts.. I did some basic tests and were able to create users and git repositories using a Java program.. So I think we can use Gitblit WAR [3] as the repository server, and use [2] to create / manage repos and, use Jgit [4] to do Git pull/push Will update the thread as work progresses. Appreciate feedback on this [1] http://gitblit.com/ [2] http://code.google.com/p/gitblit/downloads/detail?name=gbapi-1.2.1.zip [3] http://code.google.com/p/gitblit/downloads/detail?name=gitblit-1.2.1.war [4] http://www.eclipse.org/jgit/ -- Regards, * * *Sajith Kariyawasam* *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
