On Mon, Feb 11, 2013 at 3:57 PM, Isuru Haththotuwa <[email protected]> wrote:
> > On Mon, Feb 11, 2013 at 3:22 PM, Sajith Kariyawasam <[email protected]>wrote: > >> 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. I have used jgit [4], and it supports all git operations through java > code. Will look in to see if it supports the management aspect as well, if > so we can use a single library for this. > It seems that jgit only provides Git software capabilities, and does not support Git-hosting. Therefore we can't use it for the git server and repository management requirements. I had a look at gitlib as well, and it seems to fit in to the picture nicely. +1 for using it. > >> >> [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 >> >> > > > -- > Thanks and Regards, > > Isuru H. > > > -- Thanks and Regards, Isuru H.
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
