Modify

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7844 closed enhancement (worksforme)

Link Git committer/author to Trac users

Reported by: Sigurd Hogsbro Owned by: Herbert Valerio Riedel
Priority: normal Component: GitPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

GitPlugin currently returns the full name and email from the author/committer field, which is often much longer than the username setup within Trac.

Suggest making a lookup of author/committer email address against the Trac user database, and using the Trac username instead if found. If not there, show the current style author/committer.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by Herbert Valerio Riedel

Resolution: worksforme
Status: newclosed

comment:2 Changed 7 years ago by Sigurd Hogsbro

Thank you very much, but the get_known_users() call doesn't seem to work in our install (using AccountManager plugin) - I just see the part of the email before '@'. Any ideas?

comment:3 in reply to:  2 Changed 7 years ago by Sigurd Hogsbro

Replying to shogsbro:

Thank you very much, but the get_known_users() call doesn't seem to work in our install (using AccountManager plugin) - I just see the part of the email before '@'. Any ideas?

Oops, ignore that - I just needed to resync Trac against the Git repo and it all looks perfect!

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Herbert Valerio Riedel.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.