[MacPorts] #19139: RFE: Do not display revision 0 in composite version

MacPorts noreply at macports.org
Thu Apr 2 23:33:04 PDT 2009


#19139: RFE: Do not display revision 0 in composite version
--------------------------------------+-------------------------------------
 Reporter:  raimue@…                  |       Owner:  macports-tickets@…                   
     Type:  enhancement               |      Status:  new                                  
 Priority:  Normal                    |   Milestone:  MacPorts Future                      
Component:  base                      |     Version:  1.8.0                                
 Keywords:  composite version output  |        Port:                                       
--------------------------------------+-------------------------------------
 At many places port uses the composite version format to display version
 information. This consists of the version string as given in the Portfile
 and an additional underscore with the revision. As the default revision is
 0, there is no need to display it.

 So `@1.2_0` would become `@1.2` instead. This would increase the
 readability of port's output as most ports never increase the revision.

 If specified in input as for `port uninstall foo @1.2` it should be
 assumed to be revision 0 only if unambiguous.

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


More information about the macports-tickets mailing list