Modify

Opened 13 years ago

Closed 4 years ago

#10008 closed enhancement (wontfix)

Eclipse MyLyn default Trac commit message format issue

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

Description

The Mylyn plugin to Eclipse (and derivatives like Zend Studio) formats the SVN commit messages as such by default:

ACCEPTED - # 41: Ticket title,
URL to ticket in Trac
commit message

In commit_updater.py, on line: 157, your regex doesn't catch the space between # and the ticket number
This causes the commits not getting associated with the Trac ticket.

Alter it as such to match either case: # number or #number

ticket_prefix = '(?:#\s?|(?:ticket|issue|bug)[: ]?)'


This might help people using Eclipse with Mylin in getting their past tickets recognized by your Trac plugin, even if they've changed their settings to match the expected #number format going forward.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by Ryan J Ollos

Resolution: wontfix
Status: newclosed

This plugin is deprecated in Trac 1.2 and later.

Please use TracTicketChangelogPlugin and request any missing features as enhancements for that plugin.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Mikael Relbe.
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.