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.
This plugin is deprecated in Trac 1.2 and later.
Please use TracTicketChangelogPlugin and request any missing features as enhancements for that plugin.