Opened 2 years ago
Eclipse MyLyn default Trac commit message format issue
|Reported by:||anonymous||Owned by:||mrelbe|
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
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.