Ticket #10008 (new enhancement)

Opened 1 year ago

Eclipse MyLyn default Trac commit message format issue

Reported by: anonymous Assigned to: mrelbe
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


Add/Change #10008 (Eclipse MyLyn default Trac commit message format issue)




Change Properties
Action