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

Bug 376010

Summary: [pmi] Represent links as actual links
Product: Community Reporter: Wayne Beaton <wayne.beaton>
Component: Project Management & PortalAssignee: Portal Bugzilla Dummy Inbox <portal-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Wayne Beaton CLA 2012-04-03 16:23:11 EDT
We are currently using text fields to represent links. We can do better than this.

Investigate using the Drupal "Link" module [1]

[1] http://drupal.org/project/link
Comment 1 Wayne Beaton CLA 2012-04-03 17:03:28 EDT
The Link module doesn't provide any built-in means to constrain the URL. It is inappropriate for projects to specify non-eclipse.org sites for project URLs, downloads, or other eclipse-specific links.

We can customize the behaviour of the module to provide additional validation checks. However, I am inclined to let committers do what they think is the right thing and warn them via the dashboard if they're providing an inappropriate URL in a particular field. Naturally, we should provide lots of help to make sure they get this right.

Bug 376015 addresses the notification/dashboard aspect of this.
Comment 2 Wayne Beaton CLA 2012-04-03 23:46:16 EDT
I've updated all of the URL fields in the project content type to use the Link field type (I collected the links all into a "Links" group while I was at it). I also updated the import script and the "project_menu" view that's used to display links in the "Project Navigation" block.

The project import script needs to be rerun after these changes are applied.

Marking as FIXED.
Comment 3 Wayne Beaton CLA 2012-04-03 23:46:17 EDT
Created attachment 213541 [details]
mylyn/context/zip