On Nov 14, 9:50 pm, "Christopher Taylor" <[EMAIL PROTECTED]> wrote:
> I've added the timing and estimation plugin to my trac setup and I developed
> some additional default variables in reports ( $TODAY and $NOW)

I've done quite a bit of work on T&E plugin, working with the original
author Russ to make some improvements and write some related plugins
that work with it.

> unfortunately, I had to write this into report.py.  I don't suppose ya'll
> would like this patch?  I could aldd a few other things like $THISWEEK,
> $THISMONTH but we dont' really have a need for that.

I'm curious as to what you use these variables for in the reports
you've done? The TNE manager passes in dynamic variables into the
reports so it should be easy enough to modify it to pass in these
specific values if they are genuinely useful (e.g. calculate them in
real time when generating the report links - it should just be a small
change to linkify.js).

> Any suggestion on how to make this part of the plugin so I don't have to
> hack the core code? ... it doesn't look like there's an interface to add
> default report variables with a plugin, but I could be missing it.

I'm not convinced you need to add them. The whole point in upper case
$XXXX values is that they are provided by get arguments passed in, not
generated internally by trac. Perhaps post your patch and some
examples that make use of it will make things clearer.

Cheers

Col


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to