[MacPorts] #21634: port uninstall should show versions and revisions in natural order

MacPorts noreply at macports.org
Sat Sep 26 12:00:42 PDT 2009


#21634: port uninstall should show versions and revisions in natural order
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  macports-tickets@…                   
     Type:  enhancement              |      Status:  new                                  
 Priority:  Normal                   |   Milestone:  MacPorts Future                      
Component:  base                     |     Version:  1.8.0                                
 Keywords:                           |        Port:                                       
-------------------------------------+--------------------------------------
 Versions (#13031) and revisions (#17344) are shown in natural order in the
 output of `port installed`:

 {{{
 $ port installed foo
 The following ports are currently installed:
   foo @1.9_2
   foo @1.10_2
   foo @1.10_10 (active)
 }}}

 but not in the output of `port uninstall`:

 {{{
 $ port uninstall foo
 --->  The following versions of foo are currently installed:
 --->    foo @1.10_10 (active)
 --->    foo @1.10_2
 --->    foo @1.9_2
 Error: port uninstall failed: Registry error: Please specify the full
 version as recorded in the port registry.
 }}}

 The desired output from `port uninstall foo` is:

 {{{
 $ port uninstall foo
 --->  The following versions of foo are currently installed:
 --->    foo @1.9_2
 --->    foo @1.10_2
 --->    foo @1.10_10 (active)
 Error: port uninstall failed: Registry error: Please specify the full
 version as recorded in the port registry.
 }}}

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


More information about the macports-tickets mailing list