libvcs icon indicating copy to clipboard operation
libvcs copied to clipboard

Open question: Should libvcs depends on package like svn, GitPython or python-hglib

Open jcfr opened this issue 9 years ago • 2 comments

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 ?

jcfr avatar Jun 25 '16 18:06 jcfr

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

tony avatar Jun 25 '16 19:06 tony

Let me know if there's any I can do to help. As mentioned here, I don't think the license should be a concern since you (nor anyone else) would [usually] be copackaging svn.

dsoprea avatar Jun 25 '16 23:06 dsoprea