Hello,

I know that libfossil is in progress, but has anybody been doing work that
involves doing Python or PHP bindings to Fossil (whether or not they are
utilizing libfossil or not)?

I'm asking since I have been starting to utilize Salt <
http://www.saltstack.com/> lately for work, and well, there's currently VCS
integration for Git, Hg, and SVN, but there's nothing there for Fossil.  I
think I could get a lot of the functionality working by calling the Fossil
binary directly from Python, but some things would be better suited by
interfacing with an existing library (like libfossil), or well, maybe even
a full reimplementation of Fossil in pure Python.

Has anybody done any work on interfaces between Fossil and other
programming languages, or is that something that still requires a lot of
work to be done?  I have looked at the supported libraries used in Salt for
Git integration, and each one has a different approach.  The one,
GitPython, indeed just interfaces with Git directly, another one, pygit2
(the preferred option), interfaces with the C library libgit2, and Dulwich
implements Git itself in pure Python.

In any case, any insights about what approach you would take would be
appreciated.  I think I'll probably just have to start implementing things
to see where I get tripped up without using anything resembling a dedicated
library, but I suspect that the fileserver backend capability is where I'll
start running into issues if I try calling the Fossil binary directly.

If anybody is curious, here is some information on gitfs as implemented on
Salt:

http://docs.saltstack.com/en/latest/topics/tutorials/gitfs.html


Thanks for any insights about existing or work-in-progress language
interfaces to Fossil, as well as any other advice.

If somebody else has started work on integrating Fossil into Salt, that
would be good to know as well.  :)

- joe
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to