On Sat, Aug 3, 2013 at 6:44 PM, Andy Bradford < amb-sendok-1378140242.poacifknllljkhgok...@bradfords.org> wrote:
> Thus said Stephan Beal on Sat, 03 Aug 2013 18:23:46 +0200: > > > http://fossil-scm.org/index.html/info/73135ec22a > > Wow that was quick! > Only because it was easy to do and i'm belly-deep in the fossil sources working on the library API ;). I suppose an alternate approach could have been to modify ``fossil > timeline'' to accept a TAG to restrict its search to just those > artifacts with the TAG, since it already had the ability to restrict it > to a limit. It also has the ability to restrict the search to particular > timeframe. > It can already search by tags: http://fossil-scm.org/index.html/help?cmd=/timeline Ah, right, that's the www interface and you want the CLI... that one's a bit more difficult, so i won't be patching that tonight. The timeline is probably the most complicated single piece of functionality in the app, and touching it requires more nerves than i have left in me for today ;). But... using the new library API it took me about 3 minutes to tweak the timeline test script to do that: [stephan@host:~/cvs/fossil/f2/th1ish]$ ./th1ish t2.th1ish -- -R=../../fossil.fsl -t=experimental -n=3 The 3 most recent timeline event(s) for ../../fossil.fsl: ci @ 2013-01-23 13:31:09 [970cc4f16f34] by [joerg] in branch [experimental] Only check time, if it is set. ci @ 2013-01-18 23:05:39 [ee6ae580eee0] by [joerg] in branch [experimental] Add new option max-download-time to limit the processing time of pull/sync /clone requests. This helps to significantly cut down the number of time outs clients receive on busy server with reverse proxy configuration. It generally provides better response times. ci @ 2012-10-09 16:32:44 [b21df7ecafa5] by [drh] in branch [experimental] An alternative way to get mime-types from attachments for the "raw" page. So... just an idea of how users will be able to write ad-hoc solutions for their Fossil repos once this code is up and running. :) -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users