Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#7844 closed enhancement (worksforme)

Link Git committer/author to Trac users

Reported by: shogsbro Owned by: hvr
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 4 years ago by hvr

  • Resolution set to worksforme
  • Status changed from new to closed

comment:2 follow-up: Changed 4 years ago by 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?

comment:3 in reply to: ↑ 2 Changed 4 years ago by shogsbro

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!

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.