From: Govind Salinas Date: Tue, 29 Apr 2008 04:25:51 GMT Subject: Re: Dumb idea on git library for script languages Message-ID: <5d46db230804282125g41be08a1v1d41155fe2305dac@mail.gmail.com> In-Reply-To: <1209366216.17090.4.camel@prosumer> On Mon, Apr 28, 2008 at 2:03 AM, tsgates wrote: > Please comment on my naive idea. > > When I try to use git in python, there are no fancy ways not to fork any > processes. (except not active git library) I know it is design policy > of git, one job for one process. > > Anyhow, I need to call git in python and perl, so I try to think. > You may be interested in Pyrite, which has a Repo class that you may find helpful. It is a work in progress, so there are probably bugs, but I would be interested in fixing them. You can find it here http://gitorious.org/projects/pyrite Eventually, I plan to use libgit (or libgit-thin depending on what is appropriate) instead of subprocesses, but that is in the future. -Govind