The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Sun, 13 Jun 2004 11:38 AM
       Body:
Hi,

I'd prefer to have something more generic that would work for any issue tracker. 
Instead I'm proposing the following:

1/ We only have a single attribute: "issue"
2/ Each issue tracker has its own logic to transform the issue into a URL. This is 
done by having several jsl scripts in plugin-resources/trackers. For example:

resources/trackers/jira.jsl
resources/trackers/bugzilla.jsl
resources/trackers/sourceforge.jsl

3/ We remove the maven.changes.issue.template property and instead replace it with:

maven.changes.issue.tracker = jira | bugzilla | sourceforge

Internally the plugin uses the corresponding jsl file to compute the URL.

4/ For example, for sourceforge the issue would be of the form:

issue="12345:23456"

What do you think? Would you have time to submit a patch for this?

Thanks
-Vincent
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPCHANGES-9?page=comments#action_20597

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPCHANGES-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPCHANGES-9
    Summary: Sourceforge tracker support
       Type: Improvement

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-changes-plugin

   Assignee: 
   Reporter: Martijn Dashorst

    Created: Sun, 13 Jun 2004 11:25 AM
    Updated: Sun, 13 Jun 2004 11:38 AM

Description:
The URL as it is generated now doesn't support the sourceforge (SF) tracker format. 
The SF format consists of three pieces of information:
 - the project id (group_id)
 - the artifact id (aid)
 - the artifact type id (atid)

Especially the atrifact type id is worisome, since it is needed to discriminate the 
different trackers. It is not possible to retrieve an artifact by group_id and aid 
alone.

In order to facilitate this, some additional information is required, namely the 
tracker id.

I am creating a patch for the changes plugin which integrates the support for 
sourceforge.




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to