git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: I've added Dulwich to the Git Wiki

From
David Aguilar <davvid@gmail.com>
Date
Jan 17, 2009, 02:37 UTC
Message-ID
<402731c90901161837r1c7187dk590c1a46be49e1e9@mail.gmail.com>
In-Reply-To
<1232146991.24098.13.camel@ganieda.vernstok.nl>
On Fri, Jan 16, 2009 at 3:03 PM, Jelmer Vernooij <jelmer@samba.org> wrote:
Show 17 quoted lines
>>
>> BTW I find it a bit distressing that more and more projects crop up doing
>> substantial and valuable work around Git, but without even bothering to
>> mention it on this list.  There might have been a good chance, too, to
>> avoid having _three_ Python libraries for exactly the same task.
> I wasn't aware of PyGit (and its homepage doesn't seem to work), but
> Python-Git is just a wrapper around the git command line tools, it
> doesn't parse/write the file formats itself.
>
> Cheers,
>
> Jelmer
>
> --
> Jelmer Vernooij <jelmer@samba.org> - http://samba.org/~jelmer/
> Jabber: jelmer@jabber.fsfe.org
>
Hello
This sounds like a great project.

I've talked with the authors of GitPython in the past and I believe the reason it was never mentioned here was that they were probably too shy or intimidated (you guys are pretty hardcore ;-) ).

Anyways, as you said, GitPython is purely a wrapper around git commands. BTW, git is bloody fast so it's actually not that bad and works pretty well.

GitPython's license is the New BSD license and thus it can't use git code nor could it use libgit2. I think the best route for a useful Python module would be to wrap something like libgit2 which aims to be a true library for git. If that's the goals for Dulwich then all the better. If not (and it instead aims to be a pure-Python implementation) then that's cool too, but for performance reasons I think the community would best be served by pursuing a core git library with various language bindings built on top of it.

In any case, this sounds like a neat development and it does seem like the goals are slightly different then the existing GitPython module. GitPython was basically a port of the Ruby Grit library, which also just wraps git commands. I'll keep my eye on this and see if there's anywhere I can help.

-- 
    David
Previous: Johannes SchindelinNext: Adeodato Simó
Message 4 of 5 in “I've added Dulwich to the Git Wiki”
  1. Johannes SchindelinJan 16, 2009
  2. Jelmer VernooijJan 16, 2009
  3. Johannes SchindelinJan 16, 2009
  4. David AguilarJan 17, 2009
  5. Adeodato SimóJan 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.