[darcs-users] darcs patch: Add GChart graphs to reports

Max Battcher me at worldmaker.net
Tue May 4 08:27:40 UTC 2010


Here's my first draft of integrating my graphs directly into
darcs-benchmark. It marks my first significant module in Haskell
(not counting the surprisingly large xmonad.hs config file I've
pieced together over the last couple of weeks).

Currently it doesn't do anything more than the python code I
wrote that populated the graphs on the wiki, other than the fact
that it appends the reST image directives directly into
darcs-benchmark reports.

There is more duped code between graphRepo and tabulateRepo
than I would like, but I didn't feel confident enough in my
Haskell-Fu to refactor it just yet. I wanted to try to keep my
changes as separate as I could. (Similarly I didn't bother
trying to better integrate the graphs into the tables -- one
future tweak might be to embed the graphs directly in the
rows they represent.)

Comments welcome, of course.

Tue May  4 04:13:04 EDT 2010  Max Battcher <me at worldmaker.net>
  * Add GChart graphs to reports

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 11762 bytes
Desc: A darcs patch for your repository!
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100504/3552f45a/attachment-0001.bin>


More information about the darcs-users mailing list