Hi, all,

i just threw together a small C app which can run SELECT queries against
sqlite3/mysql dbs and i thought this might be useful to those of you who
like to push your fossil to the limits, e.g. by using scripts to extract
various info from the repo db for presentation on a non-fossil web page.

http://fossil.wanderinghorse.net/repos/cson/index.cgi/wiki?name=select-to-json

After writing it i thought "hey, we could write a CGI app which publishes
various fossil data this way," but the data i would want to fetch that way
(e.g. whole, unparsed wiki pages) would require access to the "artifact
resolution" functions from the fossil core (those which create a whole file
based on the diff artifacts). Some fossil data (e.g. the timeline) would be
simple enough to replicate without requiring deep fossil logic (just copying
the queries).

Happy Scripting!

PS: like all of my code, it's untested on Windows and Mac.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
_______________________________________________
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