On Fri, May 5, 2017 at 6:55 PM, Peter Suter <[email protected]> wrote:
> On 05.05.2017 09:10, Roger Oberholtzer wrote:
>
> I am trying to get the TracStatsPlugin to work in Trac 1.2.1. I get
> the expected information about the Trac itself. But I do not get
> anything about the code activity. I have a number of Subversion
> repositories. Activity in these repos is shown in the Timeline. So I
> know Trac has access to this information.
>
> There is a setting for the plugin:
>
>      [stats]
>      root = path/to/projects
>
> I have tried setting this to the Trac directory (as used with
> trac-admin), as well as to one of the repos. I have STATS_VIEW
> permission. But I still get nothing for Code.
>
> There is nothing listed in the Trac log.
>
> I am guessing this plugin works with only one repository?
>
> The plugin seems to only look at the repository cache in the DB, not
> directly at the repository.
> It does seem to support multiple repositories.
> The "root" setting is used to filter out entries in the "node_change.path"
> DB table.column.
> I guess it's a relative sub-path and you should set it to "/" to see
> everything in the repository.
> If your repository is in
> /path/to/repository/
> but  only
> /path/to/repository/relevant/subpath/to/project/
> is contains anything relevant to your Trac project, then you would set root
> to
> /relevant/subpath/to/project/
>
> If you use an uncached repository the plugin won't see anything.

I would imagine that activity that shows up in the timeline is in the
db? I set root to / and I still see nothing.

I-m still confused.

-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to