+1 Imesh. Agent's git related code already contains git binary dependent
code. So this would be the quicker path to take.


Regards,
Chamila de Alwis
Software Engineer | WSO2 | +94772207163
Blog: code.chamiladealwis.com



On Tue, Jan 27, 2015 at 12:51 PM, Lakmal Warusawithana <[email protected]>
wrote:

>
>
> On Tue, Jan 27, 2015 at 12:34 PM, Imesh Gunaratne <[email protected]>
> wrote:
>
>> Hi Devs,
>>
>> May be we can switch to OS based binary Git client if we cannot find a
>> proper native Python Git library for this as this is a blocker. In a later
>> release we can switch it back once we get a proper fix. WDYT?
>>
>>
> +1, will move forward
>
>
>> Thanks
>>
>> On Mon, Jan 26, 2015 at 6:52 PM, Chamila De Alwis <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I'm in the process of adapting Dulwich Python library to replace the
>>> current libraries that are used in the Python cartridge agent, as discussed
>>> in the mail thread titled "Pure Python library for Git".
>>>
>>> However, the authenticated git repository cloning, which has been one of
>>> the major issues since the beginning of the Python implementation, doesn't
>>> seem to be working properly with Dulwich. I've opened an issue in the
>>> Dulwich GitHub repository, but so far I didn't get a successful response.
>>>
>>> Another approach to tackle this is to use platform dependent scripts
>>> along with the Git binary to manage the repository related operations. For
>>> example, in Linux, a Bash script can use the Git binary to execute the git
>>> operations. The cartridge agent would only invoke the script based on the
>>> OS type.
>>>
>>> Of course, this is an initial thought and needs to be further
>>> investigated. Please feel free to add your thoughts.
>>>
>>> Regards,
>>> Chamila de Alwis
>>> Software Engineer | WSO2 | +94772207163
>>> Blog: code.chamiladealwis.com
>>>
>>>
>>>
>>
>>
>> --
>> Imesh Gunaratne
>>
>> Technical Lead, WSO2
>> Committer & PMC Member, Apache Stratos
>>
>
>
>
> --
> Lakmal Warusawithana
> Vice President, Apache Stratos
> Director - Cloud Architecture; WSO2 Inc.
> Mobile : +94714289692
> Blog : http://lakmalsview.blogspot.com/
>
>

Reply via email to