Re: Dumb idea on git library for script languages
- From
- Govind Salinas <govind@sophiasuchtig.com>
- Date
- Apr 29, 2008, 04:25 UTC
- Message-ID
- <5d46db230804282125g41be08a1v1d41155fe2305dac@mail.gmail.com>
- In-Reply-To
- <1209366216.17090.4.camel@prosumer>
On Mon, Apr 28, 2008 at 2:03 AM, tsgates <tsgatesv@gmail.com> wrote:
Show 8 quoted lines
> 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