+1 The first time GitPython was used it had some issues that were only fixed in a beta release. However it seems to be in a new version now since January 2015. I will do the necessary changes and open a PR.
Regards, Chamila de Alwis Software Engineer | WSO2 | +94772207163 Blog: code.chamiladealwis.com On Thu, Feb 12, 2015 at 8:47 PM, Imesh Gunaratne <[email protected]> wrote: > Hi Devs, > > Recently we switched PCA git module to git shell commands. Now we have > written logic to execute git commands on our own. Shall we use GitPython > library to do this. As I found GitPython supports Git authentication. > > I tried following code and it works perfectly: > > from git import Repo > Repo.clone_from("https://username:password@hostname > /repourl.git","checkout") > > Thanks > > > > -- > Imesh Gunaratne > > Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos >
