On Aug 11, 2017, at 7:03 AM, Damien Sykes-Lindley <dam...@dcpendleton.plus.com> wrote: > > Is it possible for Fossil to run scripts when performing operations like > creating new repositories, importing, exporting, committing etc?
There are several ways: 1. Tcl/TH1 script feature: https://www.fossil-scm.org/index.html/doc/trunk/www/th1.md You probably want to be looking at th1Hooks. 2. React after the fact by monitoring /timeline.rss. This is sufficient for CI/CD integration, for example. https://www.fossil-scm.org/index.html/help?cmd=/timeline.rss 3. libfossil: http://fossil.wanderinghorse.net/repos/libfossil/index.cgi/wiki/home Beware that it no longer works with Fossil 2.x repositories that use non-SHA-1 hashes. That’d the the first thing someone would need to fix, if they wanted to adopt the project. 4. Fossil’s JSON API: https://goo.gl/GSBUa2 _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users