Hi Sameera and Kasun,

On Sat, Jul 27, 2013 at 6:45 PM, Kasun Gajasinghe <kas...@wso2.com> wrote:

> Hi,
>
> On Sat, Jul 27, 2013 at 6:29 PM, Sameera Jayasoma <same...@wso2.com>wrote:
>
>> Hi Isuru,
>>
>> On Thursday, July 25, 2013, Isuru Haththotuwa wrote:
>>
>>>
>>> On Thu, Jul 25, 2013 at 10:20 AM, Isuru Perera <isu...@wso2.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> In order to use Git DepSync, do we need one of the mentioned Git
>>>> Servers?
>>>>
>>>> How is this done in SVN DepSync? For SVN, we just need to give the SVN
>>>> repository URL.
>>>>
>>>> With your implementation, can we just give a GitHub repository?
>>>>
>>>> I'm just trying to understand the context here.
>>>>
>>>
>>> In svn based deployment synchronizer, it is a single repository for all
>>> the tenants. But in the git based version, there will be repository per
>>> tenant. So you can't specify a single repository.
>>>
>>
>> How can we specify the repository URL for a tenant?
>>
>
In the current implementation the repository URL for a tenant will be
generated at the tenant loading time.

>
> Rather why do we need to set the repository url per tenant? :) Why can't
> we derive the repository URLs of tenants from the GIT repo URL we set in
> carbon.xml?
> I understand that the GIT based deployment synchronizer will be GIT
> implementation specific. So, for GIT, users have to set the GIT
> implementation type in addition to the RepositoryType (svn/registry/git) in
> the carbon.xml. IsuruH mentioned that the API for creating a GIT repository
> is implementation specific, and is not defined in the
>
GIT protocol.
>

Yes, this is exactly how it happens. The repository URL will be generated
dynamically based on the base URL of the repository that we specify in the
carbon.xml. Since the APIs are different, the user need to specify what GIT
server is used.

>
> Thanks,
> KasunG
>
>
>>  Thanks,
>> Sameera.
>>
>>>
>>>> Thanks!
>>>>
>>>>
>>>>  On Wed, Jul 24, 2013 at 7:46 PM, Isuru Haththotuwa <isu...@wso2.com>wrote:
>>>>
>>>>>  Hi,
>>>>>
>>>>> In the git based deployment synchronizer, we have a repository per
>>>>> tenant. Therefore we need to create git repositories dynamically for the
>>>>> tenants created. For this we need to communicate with the relevant git
>>>>> server at the runtime through a java api. Came across two commonly used 
>>>>> git
>>>>> servers, Gitblit [1] and SCM Manager [2]. I implemented support for 
>>>>> GitBlit
>>>>> to test the component and I'm in the process of implementing support for
>>>>> SCM Manager. WDYT of these options as Git servers for Git based deployment
>>>>> synchronizer?
>>>>>
>>>>> [1]. http://gitblit.com/
>>>>> [2]. http://www.scm-manager.org/
>>>>>
>>>>> --
>>>>> Thanks and Regards,
>>>>>
>>>>> Isuru H.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Architecture mailing list
>>>>> Architecture@wso2.org
>>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Isuru Perera
>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/
>>>> Lean . Enterprise . Middleware
>>>>
>>>> Twitter: http://twitter.com/chrishantha | LinkedIn:
>>>> http://lk.linkedin.com/in/chrishantha/
>>>>
>>>> _______________________________________________
>>>> Architecture mailing list
>>>> Architecture@wso2.org
>>>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>>>
>>>>
>>>
>>>
>>> --
>>> Thanks and Regards,
>>>
>>> Isuru H.
>>>
>>>
>>>
>>
>> --
>> Sameera Jayasoma,
>> Architect,
>>
>> WSO2, Inc. (http://wso2.com)
>> email: same...@wso2.com
>> blog: http://sameera.adahas.org
>> twitter: https://twitter.com/sameerajayasoma
>> flickr: http://www.flickr.com/photos/sameera-jayasoma/collections
>>
>>
>> Lean . Enterprise . Middleware
>>
>>
>> _______________________________________________
>> Architecture mailing list
>> Architecture@wso2.org
>> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>>
>>
>
>
> --
> *Kasun Gajasinghe*
> Software Engineer;
> Development Technologies Team, WSO2 Inc.; http://wso2.com
>
>
>  ,
> *email: **kasung AT spamfree wso2.com
>
>
> ** cell: **+94 (77) 678-0813*
> *linked-in: *http://lk.linkedin.com/in/gajasinghe
>
>
> *
> *
> *blog: **http://kasunbg.org* <http://kasunbg.org>
>
>
> *
> twitter: **http://twitter.com/kasunbg* <http://twitter.com/kasunbg>
>
>
> *
> *
>
> _______________________________________________
> Architecture mailing list
> Architecture@wso2.org
> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
>
>


-- 
Thanks and Regards,

Isuru H.
_______________________________________________
Architecture mailing list
Architecture@wso2.org
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to