Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 321672 - [web connector][sandbox] query template for Sourceforge not uptodate
Summary: [web connector][sandbox] query template for Sourceforge not uptodate
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P4 enhancement (vote)
Target Milestone: 3.7   Edit
Assignee: Abner Ballardo CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed, helpwanted
Depends on:
Blocks:
 
Reported: 2010-08-04 03:12 EDT by Sebastian Bauer CLA
Modified: 2011-08-24 19:11 EDT (History)
1 user (show)

See Also:


Attachments
Patch fixing this bug (1.89 KB, patch)
2011-06-11 19:07 EDT, Abner Ballardo CLA
steffen.pingel: iplog+
Details | Diff
mylyn/context/zip (1003 bytes, application/octet-stream)
2011-06-11 19:07 EDT, Abner Ballardo CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.