On Mon, Feb 11, 2013 at 11:13 PM, Ramith Jayasinghe <[email protected]> wrote:

> Appfactory already integrates with GIT.
> It might be useful to check code there.
>
>
Great.! Will have a look into it,

Appfactory team, are you guys having a Git repository management component
that can be reused in S2 ?

What is the library being used?


>
> On Mon, Feb 11, 2013 at 9:31 AM, Sajith Kariyawasam <[email protected]>wrote:
>
>>
>> On Mon, Feb 11, 2013 at 5:57 PM, Lahiru Sandaruwan <[email protected]>wrote:
>>
>>> +1 for this improvement as it is critical to handle the concurrency in
>>> subscriptions.
>>> Sajith please create an improvement Jira to track this.
>>>
>>>
>> Its already in JIRA https://wso2.org/jira/browse/SPI-101
>>
>>
>>> Thanks.
>>>
>>>
>>> On Mon, Feb 11, 2013 at 5:43 PM, Isuru Haththotuwa <[email protected]>wrote:
>>>
>>>>
>>>>
>>>> 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
>>>>
>>>>
>>>
>>>
>>> --
>>> --
>>> Lahiru Sandaruwan
>>> Software Engineer,
>>> Cloud Team,
>>> WSO2 Inc., http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> email: [email protected] cell: (+94) 773 325 954
>>> blog: http://lahiruwrites.blogspot.com/
>>> twitter: http://twitter.com/lahirus
>>> linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146
>>> <http://wso2con.com/>
>>>
>>
>>
>>
>> --
>> Regards,
>> *
>> *
>> *Sajith Kariyawasam*
>> *Senior Software Engineer; WSO2, Inc.; http://wso2.com*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Ramith Jayasinghe
> Technical Lead
>
> WSO2 Inc., http://wso2.com
> lean.enterprise.middleware
>
> E: [email protected]
> P: +1 (469) 583-2035
>
>


-- 
Regards,
*
*
*Sajith Kariyawasam*
*Senior Software Engineer; WSO2, Inc.; http://wso2.com*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to