On Thu, Dec 4, 2008 at 4:01 AM, Semka Novikov <bugs@darcs.net> wrote:
>
> New submission from Semka Novikov <semka@lisp.ru>:
>
> Building (realtime, hehe) rss feed which contains all recent commits to
> darcs.net
> repo would be nice.
>
Eric could set this up easily by adding an apply post-hook which runs a
command similar to this:
darcs changes --xml --last 10 | xsltproc rss.xslt -
where rss.xslt is found here:
http://darcs.net/tools/cgi/xslt/rss.xslt
The part I'm not sure about, because I don't use rss, is whether he wants to
use --last or not, and what number to pass to last if it's used. I can't
remember if we pass the number of patches applied in an environment variable
or not. Also, if you use last, then the rss feed will appear to reset, I
suspect. Probably best to not to use last. Again, I'm not an rss user so I
don't know how it should be configured, but all the machinery is available I
think. Modulo fine tuning, this feature should be really easy to add.
Jason
Attachments
|