On 3 October 2014 12:25, Andy Bradford <amb-sendok-1414945537.ohnacbkbmfbammcpp...@bradfords.org> wrote: > Thus said David Mason on Thu, 02 Oct 2014 09:35:50 -0400: > >> I want a script to run every 5 minutes and if there is any update, >> email me the update log. But I don't want email every 5 minutes that >> just says everything is up to date. I can figure out using file >> timestamps etc. if an update is necessary, but that's pretty ugly. > > Why not use Fossil's RSS feed feature to detect changes?
I looked at it. 3 reasons present themselves to me: 1) I may not be running a server (I'm not right now... this may change). 2) I'd have to parse the XML, at least minimally. It looks like I can parse the "fossil stat" to find the current checkout and then look for that in the output of: http://localhost:8080/XXX/timeline.rss?y=ci&n=1&tag=trunk but that seems kind of kludgey 3) It seems like a lot more overhead, compared to a local run of fossil That said, if the powers that be (PTB) don't like the idea, rss does provide a fallback, thanks. ../Dave _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users