Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 321672

Summary: [web connector][sandbox] query template for Sourceforge not uptodate
Product: z_Archived Reporter: Sebastian Bauer <mail>
Component: MylynAssignee: Abner Ballardo <modlost>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P4 CC: modlost
Version: 3.4Keywords: contributed, helpwanted
Target Milestone: 3.7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch fixing this bug
steffen.pingel: iplog+
mylyn/context/zip none

Description Sebastian Bauer CLA 2010-08-04 03:12:34 EDT
The built-in query pattern  of the WebConnector plugin no longer works with the current SourceForge tracker. The following one does work:

<a href="/tracker/\?func=detail&aid=({Id}.+?)&group_id=${group_id}&atid=${atid}">({Description}.+?)</a>

Also, the default project (Azureus) for which the project id is provided no longer has such a tracker. It would be nice if a wizard could guide through the creation of sourceforge connecter. That way there wouldn't be any need for a default project.

-- Configuration Details --
Product: Eclipse SDK 3.6.0.v201006080911 (org.eclipse.sdk.ide)
Installed Features:
 org.eclipse.mylyn_feature 3.4.0.v20100608-0100-e3x
Comment 1 Steffen Pingel CLA 2010-08-18 02:56:18 EDT
Thanks for letting us know. Are you able to provide an updated template?
Comment 2 Sebastian Bauer CLA 2010-08-18 09:23:10 EDT
I provided an updated query pattern in my original mail.

If you need another default project I can provide new settings of course. What details do you need know for this?

As said, ideally, there would be a kind of a wizard that guides through the setup that is based on the selected connector.
Comment 3 Abner Ballardo CLA 2011-06-11 19:07:25 EDT
Created attachment 197850 [details]
Patch fixing this bug

Hi everybody

In this patch, I updated the query pattern, new task url and the default project.

I chose jCommander as default project because it has tasks managed by SourceForge tracker and also it uses Eclipse RCP, if someone consider to use another application I can create another patch.
Comment 4 Abner Ballardo CLA 2011-06-11 19:07:28 EDT
Created attachment 197851 [details]
mylyn/context/zip
Comment 5 Steffen Pingel CLA 2011-07-21 17:45:36 EDT
Thanks! I have applied the patch. Only minor nit that I noticed was that the status (open/closed) is not recognized. Abner, do you think the template could be enhanced to include that?
Comment 6 Steffen Pingel CLA 2011-08-24 19:11:46 EDT
I'll mark this as resolved. Feel free to reopen and attach another patch if you want to improve the template further.