View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0009152 | mantisbt | integration | public | 2008-05-14 23:32 | 2010-09-19 03:11 |
Reporter | Netson | Assigned To | dhx | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Product Version | 1.1.1 | ||||
Summary | 0009152: Suggestion for different regular expression in checkin for SVN integration | ||||
Description | A minor thing, but after some testing and tweaking I came up with a slightly different regular expression that allows for a little more freedom when integrating Mantis with your favorite repository (SVN in my case). It also doesn't require to use two seperate expressions anymore to determine if an issue was fixed or not. "/^\s(?:(fix(?:ed|es)\s+){0,1})(?:issue|bug)\s+[#]{0,1}\s([0-9]{7}).*/"; | ||||
Steps To Reproduce | Quick and dirrty message that will get accepted: $log = " issue 0000007 log message goes here"; $expression = "/^\s(?:(fix(?:ed|es)\s+){0,1})(?:issue|bug)\s+[#]{0,1}\s([0-9]{7}).*/"; $log = trim($log); echo "\n\n"; | ||||
Additional Information | Quick explanation of what the regex does:
Of course the code in the checkin file will need to be changed, but as that isn't rocket science, I won't post any code for that. | ||||
Tags | No tags attached. | ||||
One more thing, just started using Mantis and I absolutely love it! :) fully integrated with SVN :) |
|
Won't fix as this old source code integration support is being dropped in favour of using a more modern plugin approach with the SourceIntegration plugin. Refer to 0011732 for more details and feedback. |
|