[darcs-users] darcsweb 1.1

Alberto Bertogli albertito at blitiri.com.ar
Wed Oct 29 03:51:12 UTC 2008


On Tue, Oct 28, 2008 at 07:05:02PM -0700, Simon Michael wrote:
> > http://joyful.com/darcsweb/darcsweb.cgi?r=darcs-stable;a=headblob;f=/src/OldFastPackedString.hs
> 
> PS interesting to compare the darcsweb+pygments source view with that of 
> HsColour:
> 
> http://joyful.com/repos/darcs-stable/api-doc/src-OldFastPackedString.html
> 
> I like how hscolour defines linkable anchors for each line. I like how 
> pygment displays the line numbers. I don't think I like it's purple 
> colouring of both types and keywords, but maybe it will grow on me.

I think those colours are awful. That's pygment's fault, AFAIK.


> I like that hscolour generates static html, which is more easily served, 
>   but I'm sure darcsweb/pygments could be made to do that too.

The cache works by saving the generated html page, and serving that
unless the repository has changed. And pygments is not really aware that
it's running inside a cgi, it's a very generic module.

Thanks,
		Alberto



More information about the darcs-users mailing list