Modify

Opened 3 years ago

Last modified 2 years ago

#9265 assigned enhancement

Use repository user names when updating tickets

Reported by: AllenB Owned by: mrelbe
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 3 years ago by mrelbe

  • Status changed from new to assigned

Good suggestion.

Add Comment

Modify Ticket

Action
as assigned .
Author


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

 
Note: See TracTickets for help on using tickets.