From: Don Allingham <donaldallingham@co...> - 2004-12-02 03:29:07
I was half-way through a long response, and then saw the nice response
that Alex provided, so I'll just try to answer a few of the other
> 3. Has anyone got any updates to the gramps wiki on writing reports?
> It needs to be expanded quite a bit, or maybe someone could just
> take one of the simpler plugins to generate a report and comment
> the heck out of it? Esp for us stupid folks who don't know python
> nor the internal gramps ABI well? I realize that since Don has
> written gramps, and written most of the plugins, he's got alot
> hidden knowledge. But it doesn't help me write (or modify) a
I plan to write a tutorial on how to write plugins. However, most of my
time has been consumed trying to get 1.1 to a stable point.
One of the things that I have been working on is to improve the API
documentation. Some of the basic classes are already documented, and can
be found at http://donaldallingham.home.comcast.net/doc
> 5. Would it make sense to define the _BORN and _DIED macros in a
> common file that could be included in all plugins? It would be
> nice to pull out some of the really common stuff I've been seeing
> in lots of plugins and put it into a library of common routines.
Yes it would. There are quite a few tasks that will probably be combined
into a ReportUtils module. Things like date calculations, privacy
checks, and other common functions would be grouped into this.