A few days ago I found this project, pyvcs, which aims to create a simple API for accessing useful data from many different VCS (such as git, hg, subversion, etc), just enough to create a repository browser.
Just exactly what I was looking for!, it supported Git and Mercurial, browsing the source it seemed simple and elegant, and thus I began coding a subversion backend, I already coded a browser for subversion repositories using python (for the now defunct tecforge) and zope, but that was with the low level svn python binding, this time I used pysvn (which seems to be the official binding now), it was a bit of guesswork, the documentation laked in details but was workable, in the end my work got merged with mainline.
I have been migrating my project from custom code to pyvcs and things are a lot easier now, also pyvcs is moving fast, it now supports git, hg, bzr and svn (all major open source vcs).
PyVCS Home:
http://github.com/alex/pyvcs
Suscribirse a:
Enviar comentarios (Atom)
No hay comentarios:
Publicar un comentario