I've used the mapping by email (trac_user_rlookup = true) with "trac-admin session set" to add emails to my users and it works perfectly.
Thanks a lot! Le jeudi 30 janvier 2014 14:23:17 UTC+1, Ethan Jucovy a écrit : > > Hi Christophe, > > On Thu, Jan 30, 2014 at 4:43 AM, Christophe Domas > <[email protected]<javascript:> > > wrote: > >> I don't have user email in trac. I think I have to install the Account >> Manager Plugin, right? >> > > You can set an email address for your own Trac account without Account > Manager. Just look in /prefs. > > I think you can also set all users' email addresses from the command line > using `trac-admin` -- look for the `trac-admin session list` and > `trac-admin session set` commands. > > Account Manager is needed only if you want an admin panel for setting all > users' email addresses through the web. > > >> I was thinking to patch the _parse_user_time(s)in git_fs.py to return >> the git user.name without email. Is it a bad idea? >> > > If you're comfortable patching your Trac installation, and prefer to patch > your site instead of using trac_user_rlookup + Trac session emails, I would > recommend the patch I posted earlier: > > > http://trac.edgewall.org/attachment/ticket/10640/changeset_user_mapper_component.diff > > It's much more flexible, since it lets you maintain a list of git->trac > names in your trac.ini file. > > -Ethan > > -- 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/groups/opt_out.
