Bug 210595 - [relengtool] Team>Release action should list map file entries in correct order
Summary: [relengtool] Team>Release action should list map file entries in correct order
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Releng (show other bugs)
Version: 3.4   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Releng-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-11-21 17:16 EST by Martin Oberhuber CLA
Modified: 2012-03-01 11:07 EST (History)
1 user (show)

See Also:


Attachments
Patch to fix sorting issue (812 bytes, patch)
2008-03-21 18:44 EDT, Jeff Hardy CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Oberhuber CLA 2007-11-21 17:16:09 EST
The dialog shown by the Team > Release action lists the map file entries in a tree with checkboxes to select what to release. But the tree items are totally unsorted. I regularly make my eyes twist when searching for the right feature projects to release -- though in my Mapfiles, they are nicely sorted (features first, plugins after).

I'd love to see the Releng Tool's tree sorted the same way as the mapfile.

Workaround: Create some working sets as needed, and with a multi-select in the Project Explorer choose the Team > Release action from there. Will preselect map file entries as needed.

Still, I sometimes would prefer the order of projects from the Mapfile just to verify... it's easier to have a good order there, than in the Project Explorer or via Working Set. Especially when I want to tell Features from Plugins (BTW, could features have a different icon?)
Comment 1 Jeff Hardy CLA 2008-03-21 18:44:50 EDT
Created attachment 93179 [details]
Patch to fix sorting issue

Attaching a patch that retains the sort order in the map file.
Comment 2 Martin Oberhuber CLA 2008-04-04 06:35:07 EDT
Can we get this patch released for 3.4M7?
Comment 3 DJ Houghton CLA 2008-04-04 07:45:15 EDT
Does it make more sense to use a TreeSet with a Comparator to sort the map entries?
Comment 4 Martin Oberhuber CLA 2008-04-04 07:48:08 EDT
Well what I want is the list of map entries in the same order that I had in the mapfile. That way I can manually specify an ordering scheme that makes sense to me (e.g. features first, plugins later).
Comment 5 DJ Houghton CLA 2008-04-04 08:50:11 EDT
Ah yes, that makes sense. In this case, the attached patch is good. Thanks!
Comment 6 Kim Moir CLA 2012-03-01 11:07:51 EST
With the move to Git, this tool isn't in active use anymore for anything other than copyright updates.  I'm going to close this bug as we have no plans to address it.