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

Bug 188060

Summary: [Wizards] Unsorted existing repository list
Product: [Eclipse Project] Platform Reporter: Tomasz Zarna <tomasz.zarna>
Component: CVSAssignee: Tomasz Zarna <tomasz.zarna>
Status: VERIFIED FIXED QA Contact:
Severity: trivial    
Priority: P5 CC: Szymon.Brandys
Version: 3.3Keywords: helpwanted
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Patch
none
mylyn/context/zip none

Description Tomasz Zarna CLA 2007-05-21 06:17:50 EDT
Build ID: I20070517-1700

Steps To Reproduce:
When there is an existing repositories list displayed (eg. when sharing a project or changing sharing of a project) repositories are listed without any reasonable order. If you have many repositories on that list it will be easier to find the one you're looking for on a sorted list.
Comment 1 Michael Valenta CLA 2007-05-22 13:58:46 EDT
I thought we had a bug for this but I couldn't find it.
Comment 2 Szymon Brandys CLA 2008-04-16 03:37:50 EDT
I believe they are sorted now. It looks like they are sorted using the following criteria (in the given order):
1) protocol
2) server name
3) root folder
Tomasz, please verify.
Comment 3 Tomasz Zarna CLA 2008-04-16 04:29:01 EDT
Created attachment 96211 [details]
Patch

The list with repos that shows up when sharing a project looks fine indeed. But the one displayed when chaning a project sharing info is still unsorted. Here is a patch that fixes it.
Comment 4 Tomasz Zarna CLA 2008-04-16 04:29:04 EDT
Created attachment 96212 [details]
mylyn/context/zip
Comment 5 Tomasz Zarna CLA 2008-04-16 05:16:20 EDT
Released to HEAD.
Comment 6 Tomasz Zarna CLA 2008-04-30 05:22:47 EDT
Verified in I20080429-0100.