Modify

Opened 6 years ago

Last modified 5 years ago

#9265 assigned enhancement

Use repository user names when updating tickets

Reported by: Ben Allen Owned by: Mikael Relbe
Priority: normal Component: TracTicketChangesetsPlugin
Severity: minor Keywords:
Cc: Trac Release: 0.12

Description

When this plugin adds a commit message to a ticket as a comment, the comment is listed as "Changed XX days ago by trac". It would be nice to have an option to use the name listed on the commit instead of 'trac' as the origin of the comment. In our particular setup, our Subversion repository uses the same set of user names as Trac. It would be much easier to follow a ticket's history if incoming commit messages were labeled with the user name of the person who made the commit.

Another option (which is probably easier to code) is to add the username into the body of the comment instead. The first line of the comment/macro could be changed from:

[2059]:

Fix grammar problems in error messages

to something like:

[2059] (by AllenB):

Fix grammar problems in error messages

or:

In r2059, AllenB committed:

Fix grammar problems in error messages

Attachments (0)

Change History (1)

comment:1 Changed 6 years ago by Mikael Relbe

Status: newassigned

Good suggestion.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as assigned The owner will remain Mikael Relbe.

Add Comment


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

 
Note: See TracTickets for help on using tickets.