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

Bug 379846

Summary: [pmi] Provide a means of reviewing groups of committers for a project
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: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
mylyn/context/zip none

Description Wayne Beaton CLA 2012-05-17 15:49:47 EDT
We display a list of committer names on the right side of project pages. When a committer name is selected, the projectrole node is displayed with detailed information about commits, activity, etc. It will be handy to be able to display the detailed information together a group (i.e. a view).
Comment 1 Wayne Beaton CLA 2012-05-17 16:16:11 EDT
I've created (and committed) a new project_views module that contains a single "Project Commiters" view. The view is accessed adding "/committers" after a project node.

e.g. http://projects.eclipse.org/node/859/committers

The view displays a "full" mode so that all committer information (including things like charts, and controls) is displayed.

I still need to hook this into the project node view. I'm thinking of something like a "details..." link under the committers list.
Comment 2 Wayne Beaton CLA 2012-05-17 22:16:49 EDT
I've decided to start with a a "Committers" link in the "Project Links". 

In order to continue to display the corresponding project information in the left and right areas, I had to change the way that projects__get_related_project works. When displaying a view, there is no single "node". In this case, the projects__get_related_project just bails out. I've changed it to instead invoke the hook with a null value in this case to give the hooks a chance to sort out a means of figuring it out.

The project_views module checks to see if we're trying to display the project committers view, and--if so--sorts out the appropriate project using the view arguments. See project_views_projects_related.
Comment 3 Wayne Beaton CLA 2012-05-17 23:53:15 EDT
I noticed that only the first chart was displaying for lists of projectroles. It turns out that all the charts being generated had the same id. Each chart now has a unique id based on the project and committer ids.
Comment 4 Wayne Beaton CLA 2012-05-18 09:36:15 EDT
Declaring victory.
Comment 5 Wayne Beaton CLA 2012-05-18 09:36:16 EDT
Created attachment 215841 [details]
mylyn/context/zip