News for hackers. Stuff that matters.
Re:Dulwich, pure Python Git implementation by albertzeyer on Wednesday August 07, 2013 @06:10AM (#6171806)
Along the lines: https://github.com/FriendCode/gittle high-level pure-Python Git library based on Dulwich.

Note that Dulwich is old. Some old discussion: https://news.ycombinator.com/item?id=2834183

Re:Dulwich, pure Python Git implementation by ryanackley on Wednesday August 07, 2013 @08:24AM (#6172280)
Slightly unrelated, I wrote a pure javascript git implementation here https://github.com/ryanackley/git-html5.js
Re:Dulwich, pure Python Git implementation by anton_gogolev on Wednesday August 07, 2013 @06:45AM (#6171908)
On an almost completely unrelated note, there's also Mercurial Core reimplementation in C#:

https://bitbucket.org/hglab/hgsharp

Re:Dulwich, pure Python Git implementation by diminish on Wednesday August 07, 2013 @06:14AM (#6171816)
What is the benefit for maintaining a git repo interface in pure python, portability?
Re:Dulwich, pure Python Git implementation by masklinn on Wednesday August 07, 2013 @06:40AM (#6171887)
1. hg-git, both libraries were started by githubbers to get the market of people-who-want-to-use-hg on github

2. interfacing with git repos from python, doing so through subprocess is less than enjoyable (and libgit2 basically didn't exist at the time) (and requires C code, which may be a chore e.g. on windows)

Re:Dulwich, pure Python Git implementation by jordigh on Wednesday August 07, 2013 @09:09AM (#6172527)
I wanted to speed up hg-git, since it's really slow for moderately-sized git repos. The slowness seems to be all in Dulwich. Isn't it more desirable then to have Python bindings to libgit?
Re:Dulwich, pure Python Git implementation by dochtman on Wednesday August 07, 2013 @09:14AM (#6172557)
http://www.pygit2.org/

I think there's a bunch of speeding-up hg-git work floating around, notably around Mozilla work. Some of that has been mentioned in the hg-git mailing list.

Re:Dulwich, pure Python Git implementation by lucian1900 on Wednesday August 07, 2013 @06:23AM (#6171834)
Its main usage is hg-git, which is a hg plugin that lets you use hg to interact with git repos. It would be very inconvenient to do the same thing by starting a git subprocess all the time.
Re:Dulwich, pure Python Git implementation by stephen_mcd on Wednesday August 07, 2013 @07:16AM (#6172004)
And hg-github, a wrapper on top of hg-git I wrote: https://github.com/stephenmcd/hg-github
Re:Dulwich, pure Python Git implementation by ergo14 on Wednesday August 07, 2013 @06:22AM (#6171832)
Re:Dulwich, pure Python Git implementation by drrotmos on Wednesday August 07, 2013 @08:09AM (#6172215)
There's also https://github.com/e-butik/Gittern (made by your's truly) which is a pure-PHP Git implementation (though not as complete as Dulwich).
Re:Dulwich, pure Python Git implementation by rsgalloway on Wednesday August 07, 2013 @08:04PM (#6176511)
Shameless plug for my dulwich-backed project, grit:

https://github.com/rsgalloway/grit

- Python WSGI "Smart HTTP" server - Limited remote object proxying - Stream blob data from remote repositories - Hierarchical repos with top-down inheritance - Check out individual blobs - Python and HTTP+JSON read/write API - Supports a centralized workflow - Command line, Python and web UIs - Git not required

Re:Dulwich, pure Python Git implementation by AaronO on Wednesday August 07, 2013 @02:05PM (#6174461)
I'm one of dulwich's contributors and Jelmer has done some great work on Dulwich.

You might want to check out Gittle (https://github.com/FriendCode/gittle), a high level library for managing git repos, I wrote using dulwich.

Re:Dulwich, pure Python Git implementation by JoshTriplett on Wednesday August 07, 2013 @01:57PM (#6174416)
Nice, but I still prefer libgit2, which has bindings for numerous languages including Python.
Re:Dulwich, pure Python Git implementation by topbanana on Wednesday August 07, 2013 @07:59AM (#6172171)
Weird, I was just browsing for property around there
Re:Dulwich, pure Python Git implementation by loxs on Wednesday August 07, 2013 @07:31AM (#6172061)
Everything that can be implemented in JavaScript, eventually will be implemented in JavaScript
Re:Dulwich, pure Python Git implementation by shocks on Wednesday August 07, 2013 @07:48AM (#6172134)
Huh? Except this is Python...
Re:Dulwich, pure Python Git implementation by dbaupp on Wednesday August 07, 2013 @10:48AM (#6173191)
Despite being unrelated, the GP is still correct: https://github.com/creationix/js-git