[MacPorts] #17344: port installed should list revisions in natural order

MacPorts noreply at macports.org
Thu Nov 20 16:51:03 PST 2008


#17344: port installed should list revisions in natural order
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  defect                   |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts base bugs                   
Component:  base                     |     Version:  1.7.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 I realize it's not often we have a port whose revision reaches double
 digits, but sometimes we do, and it should be sorted in natural
 (numerical) order:

 {{{
 $ port installed ffmpeg
 The following ports are currently installed:
   ffmpeg @0.4.9-pre1_12+a52+darwin_i386+gpl (active)
   ffmpeg @0.4.9-pre1_9+a52+darwin_i386+gpl
 }}}

 Revision "9" should be listed before revision "12", not after.

 Anders already implemented natural order sorting for port versions in
 #13031; now we should fix it for port revisions as well.

-- 
Ticket URL: <http://trac.macports.org/ticket/17344>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list