Community
Participate
Working Groups
The current sort, which appears to be grouped by connector type then alphabetically sometimes makes it difficult to find the repository you are looking for. It would be easier to find repositories if there were sorted alphanumerically and not grouped by type.
I would agree since the connector type is mostly a technical detail but not related to the user's view of configured repositories. As an example, if a project has a JIRA and Bugzilla tracker and they both have the same name prefix I would expect them to show up next to each other. Mik, do you have any thoughts on changing the default sorting? We might need to add a preference since the change would be significant enough to potentially confuse users who are used to the current sorting.
I have put this on next week's meeting agenda to gather more input.
Was anything decided about this? It might make sense to use the same order in other places that repositories are listed, e.g. the repositories dropdown in search currently sorts repositories alphabetically, but the sort is case sensitive, which is confusing.
I don't recall if this was discussed. I have added this to the agenda for this week. Please feel free to join the call.
We discussed this and while the current sorting strategy is reasonably obvious it seems more common in Eclipse to either provide categorized lists or sort items alphabetically. I have marked this bug as helpwanted to indicate that we'd be happy to resolve this request through a contribution.
Posted a review here: https://git.eclipse.org/r/8676 The proposed change is to make sorting simple with string compareTo
This was fixed as part of a hackathon event and may appear a bit rushed. The sorting of repository labels will be preformed by the the following method http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/String.html#compareTo(java.lang.String) compareToIgnoreCase is not used as this method does not appear to be used in other parts of the sorting. It may be best to further investigate the removal of the class: TaskRepositoriesViewSorter.
Thanks for the proposed change! I have commented on the review.
Godfrey, do you have time to take another pass through the change? Let me know if you have any questions about my comments on the review.
Removing the milestone since we are getting close to the IP cut off.
Since Godfrey doesn't seem to be interested in working on this, I gave it a try: https://git.eclipse.org/r/#/c/13858/
Created attachment 232472 [details] mylyn/context/zip
Thanks very much for the contribution!