threads / discuss / 17215

I've added Dulwich to the Git Wiki

Subject: I've added Dulwich to the Git Wiki

## tl;dr

5 messages between Jan 16, 2009 and Jan 17, 2009.

replies: 4people: 4as markdown or json

Johannes Schindelin· Jan 16, 2009, 22:42 UTC · lore
Hi people,

just got aware of the Dulwich project, which purports to be a pure Python Git engine. I added it here:

http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#head-762f9c85c62c555dbb88129a127431ddeeb56191

Jelmer, is there a chance you can export the Bazaar repository into a public Git repository? The Bazaar web-frontend does not even allow me to download a snapshot.

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.

Ciao, Dscho

P.S.: In related news, it seems that dotGit -- which _is_ linked on the Git Wiki, at least -- progresses rather nicely, which is pretty awesome, given that we have _two_ failed GSoC projects under our belt which wanted to do the same. However, dotGit could do with some more visibility on this list, too, methinks.

Jelmer Vernooij· Jan 16, 2009, 23:03 UTC · re: Johannes Schindelin · lore

Re: I've added Dulwich to the Git Wiki

Hi Johannes,
On Fri, 2009-01-16 at 23:42 +0100, Johannes Schindelin wrote:
> just got aware of the Dulwich project, which purports to be a pure Python 
> Git engine.  I added it here:
> 
> http://git.or.cz/gitwiki/InterfacesFrontendsAndTools#head-762f9c85c62c555dbb88129a127431ddeeb56191
Thanks! I wasn't actually aware of that wiki page.
> Jelmer, is there a chance you can export the Bazaar repository into a 
> public Git repository?  The Bazaar web-frontend does not even allow me to 
> download a snapshot.
See:
git://git.samba.org/jelmer/dulwich.git
And gitweb: http://git.samba.org/?p=jelmer/dulwich.git;a=summary
> 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
Johannes Schindelin· Jan 16, 2009, 23:30 UTC · re: Jelmer Vernooij · lore

Re: I've added Dulwich to the Git Wiki

Hi,
On Sat, 17 Jan 2009, Jelmer Vernooij wrote:
Show 5 quoted lines
> See:
> 
> git://git.samba.org/jelmer/dulwich.git
> 
> And gitweb: http://git.samba.org/?p=jelmer/dulwich.git;a=summary
For higher visibility, I also added these to the Wiki.

Ciao, Dscho

David Aguilar· Jan 17, 2009, 02:37 UTC · re: Jelmer Vernooij · lore

Re: I've added Dulwich to the Git Wiki

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
Adeodato Simó· Jan 16, 2009, 23:04 UTC · re: Johannes Schindelin · lore

Re: I've added Dulwich to the Git Wiki

* Johannes Schindelin [Fri, 16 Jan 2009 23:42:38 +0100]:
> Hi people,
> just got aware of the Dulwich project, which purports to be a pure Python 
> Git engine.
Interesting.
> Jelmer, is there a chance you can export the Bazaar repository into a 
> public Git repository?  The Bazaar web-frontend does not even allow me to 
> download a snapshot.

Unfortunately, the Dulwich repository contains Git repositories within, so the resulting repository is not valid. I guess one could drop those when converting.

-- 
Adeodato Simó                                     dato at net.com.org.es
Debian Developer                                  adeodato at debian.org
 
                                Listening to: Radiohead - House Of Cards

← back to recent threads