libvcs
libvcs copied to clipboard
Open question: Should libvcs depends on package like svn, GitPython or python-hglib
There are already few packages specialized in handling interaction with these repository:
- https://pypi.python.org/pypi/svn
- https://pypi.python.org/pypi/GitPython/
- https://pypi.python.org/pypi/python-hglib
I wonder if libvcs should make use of them ?
It is also nice to keep libvcs as a light wrapper on top of the executable.
In the FAQ, user could be guided to use these more specialized package once the source are checked out by libvcs ?
That's the idea. I'd like this library to be able to do cooler tricks across vcs with the same API.
In the FAQ, user could be guided to use these more specialized package once the source are checked out by libvcs ?
yup that could be worked out. a lite mode and setuptools extras_require for more features. maybe something like pip install libvcs[gitpython,hglib] could be shown.
SVN one poses a problem due to GPL 2 being incompatible. It doesn't hurt to ask @dsoprea on https://github.com/dsoprea/PySvn.
GitPython is fantastic.
hglib looks ok https://www.mercurial-scm.org/wiki/PythonHglib