git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "Govind Salinas" <govind@sophiasuchtig.com>
To: tsgates <tsgatesv@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Dumb idea on git library for script languages
Date: Mon, 28 Apr 2008 23:25:51 -0500	[thread overview]
Message-ID: <5d46db230804282125g41be08a1v1d41155fe2305dac@mail.gmail.com> (raw)
In-Reply-To: <1209366216.17090.4.camel@prosumer>

On Mon, Apr 28, 2008 at 2:03 AM, tsgates <tsgatesv@gmail.com> 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

      parent reply	other threads:[~2008-04-29  4:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-28  7:03 Dumb idea on git library for script languages tsgates
2008-04-28  7:31 ` Jakub Narebski
2008-04-28 10:28 ` Johannes Schindelin
2008-04-29  4:06 ` Eric Hanchrow
2008-04-29  4:25 ` Govind Salinas [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5d46db230804282125g41be08a1v1d41155fe2305dac@mail.gmail.com \
    --to=govind@sophiasuchtig.com \
    --cc=git@vger.kernel.org \
    --cc=tsgatesv@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).