You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "John Allen (JIRA)" <ji...@codehaus.org> on 2007/07/26 23:19:13 UTC
[jira] Created: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
------------------------------------------------------------------------------------------------------------
Key: MCHANGELOG-70
URL: http://jira.codehaus.org/browse/MCHANGELOG-70
Project: Maven 2.x Changelog Plugin
Issue Type: Improvement
Affects Versions: 2.1
Reporter: John Allen
Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Allen updated MCHANGELOG-70:
---------------------------------
Attachment: MCHANGELOG-70,71,72.patch
Combined patch for MCHANGELOG-70, MCHANGELOG-71 and MCHANGELOG-72 - much easier to apply once the individuals have been reviewed and accepted.
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Attachments: MCHANGELOG-70,71,72.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Allen updated MCHANGELOG-70:
---------------------------------
Attachment: MCHANGELOG-70,71,72.patch
fixes NPEs in unit tests due to a lack of injected parameters.
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Attachments: MCHANGELOG-70,71,72.patch, MCHANGELOG-70,71,72.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHANGELOG-70.
-------------------------------------
Resolution: Fixed
Fix Version/s: 2.2
Assignee: Dennis Lundberg
Fixed in [r939060|http://svn.apache.org/viewvc?view=revision&revision=939060].
Thanks!
I changed the names of the parameters to look similar to the ones used in Maven Changes Plugin.
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Assignee: Dennis Lundberg
> Fix For: 2.2
>
> Attachments: MCHANGELOG-70,71,72.patch, MCHANGELOG-70,71,72.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Allen updated MCHANGELOG-70:
---------------------------------
Attachment: MCHANGELOG-70.patch
fixes unit tests failures from NPEs due to a lack of parameter injected values.
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Attachments: MCHANGELOG-70,71,72.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch, MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Allen updated MCHANGELOG-70:
---------------------------------
Attachment: MCHANGELOG-70.patch
Mistake in the 'ticketLinkRegexPattern' default value - an extra escape character was required, i.e.
{code}
* @parameter expression="${ticketLinkRegexPattern}" default-value="[a-zA-Z]{2,}-\d+"
{code}
should have been:
{code}
* @parameter expression="${ticketLinkRegexPattern}" default-value="[a-zA-Z]{2,}-\\d+"
{code}
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Attachments: MCHANGELOG-70.patch, MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Updated: (MCHANGELOG-70) Support a URL filter that enables
JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
Posted by "John Allen (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGELOG-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Allen updated MCHANGELOG-70:
---------------------------------
Attachment: MCHANGELOG-70.patch
Patch provides two new options:
{code}
/**
* A pattern used to identify 'issue tracker' IDs such as those used by JIRA,
* Bugzilla and alike in the SCM commit messages. Any matched patterns
* are replaced with <code>ticketLinkUrl<code> URL. The default
* value is a JIRA-style ticket identification pattern.
*
* @parameter expression="${ticketLinkRegexPattern}" default-value="[a-zA-Z]{2,}-\d+"
* @required
*/
private String ticketLinkRegexPattern;
/**
* The issue tracker URL used in replacing any matched <code>ticketLinkRegexPattern</code>
* found in the SCM commit messages. The default is URL is the codehaus JIRA
* URL. If %TICKET% if found in the URL it is replaced with the matched ticket ID,
* otherwise the matched ticket ID is appended to the URL.
*
* @parameter expression="${ticketLinkUrl}" default-value="http://jira.codehaus.org/browse/%TICKET%"
* @required
*/
private String ticketLinkUrl;
{code}
Which, if defined, will replace any matching 'ticket identifiers' found in the commit messages with links to the ticket system based on the 'ticketLinkUrl' template string.
Patch generated against trunk, revision 560535.
Combined patch for MCHANGELOG-70, MCHANGELOG-71 and MCHANGELOG-72 to follow.
> Support a URL filter that enables JIRA/bugzilla/whatever IDs quoted in SCM message to be mapped to real URLs
> ------------------------------------------------------------------------------------------------------------
>
> Key: MCHANGELOG-70
> URL: http://jira.codehaus.org/browse/MCHANGELOG-70
> Project: Maven 2.x Changelog Plugin
> Issue Type: Improvement
> Affects Versions: 2.1
> Reporter: John Allen
> Attachments: MCHANGELOG-70.patch
>
>
> Eclipse Mylyn, plus other good behaviours (see [JIRA Commit Acceptance Plugin|http://confluence.atlassian.com/display/JIRAEXT/Commit+Acceptance+Plugin]) make it necessary to quote a task upon check-in. These task IDs can easily be mapped to URLs using simple regex pattern rules that can be defined in the plugin config.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira