On Wed, Aug 13, 2014 at 10:51 AM, Peter Suter <[email protected]> wrote:
> On 13.08.2014 19:38, Peter Suter wrote: > >> Hi, >> >> On 13.08.2014 17:29, W. Martin Borgert wrote: >> >>> Hi, >>> >>> I have a number of users in my Trac, e.g. "ab" with name "Abe Blue" and >>> email >>> address "[email protected]". The Git commits are done be "Abe Blue < >>> [email protected]>" >>> which is, of course, the same person. >>> >>> When I filter for "done by: ab", I do get all actions by that user in >>> Trac, but >>> not the Git commits, nor ticket updates initiated by Git commit messages. >>> >>> Neither "done by: Abe Blue <[email protected]>" nor "done by: Abe Blue" >>> filter the >>> Git commits, however - I don't get any results at all. >>> >>> Do I have to configure something in either Git or Trac, to make the >>> timeline >>> filter work as expected? >>> >>> TIA and Cheers >>> >>> >> Unfortunately Trac has no such mapping feature I think. >> There is a ticket about this: >> http://trac.edgewall.org/ticket/10640 >> >> It even has a patch attached that you could test. >> >> Cheers >> >> Actually there is one feature already in TracGit (also mentioned in that > ticket): > [git] > trac_user_rlookup = true > > This maps "Abe Blue <[email protected]>" to "ab" if the "ab" Trac user has > set his Trac email address to "[email protected]". > > (Apparently this is slow if you have many users) > > http://trac.edgewall.org/wiki/TracIni#git-section > I had been wondering why we have [git] trac_user_rlookup = false on t.e.o, but I guess we might assume that is due to the performance issue that you mention. I would imagine there many anonymous sessions in the t.e.o database. -- 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 http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
