Hi,
I'm trying to set up the TracMetrixPlugin and the commits per day plot is
empty. Digging through the code, there is the following SQL statements:
cursor.execute("SELECT rev, time, author FROM revision "
"WHERE time >= %s AND time < %s ORDER BY time",
(to_timestamp(start_date), to_timestamp(stop_date)))
which is not returning any commits. I changed it to get rid of the time
restrictions (so it's just SELECT rev, time, author FROM revision) and there's
only a handful of commits from 3 years ago and nothing else. The number of rows
in the table is only 161 but we've had thousands of commits.
Is the revision table actually updated when changesets are added? We have the
git post-receive hook enabled, but it's an older one, trac-post-commit-hook.
We're using Trac 0.12. Something seems to be missing here; the repository
browser shows everything correctly and we get our tickets updated upon commits.
Thanks for any help you can offer,
Tim
--
You received this message because you are subscribed to the Google Groups "Trac
Users" 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-users?hl=en.