Opened 15 years ago

Closed 5 months ago

Last modified 5 months ago

#19139 closed enhancement (wontfix)

RFE: Do not display revision 0 in composite version

Reported by: raimue (Rainer Müller) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.0
Keywords: Cc:
Port:

Description

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.

Change History (2)

comment:1 Changed 5 months ago by raimue (Rainer Müller)

Keywords: composite version output removed
Resolution: wontfix
Status: newclosed

This never happened and we actually went into another direction with always including the revision 0 option in Portfiles. I think the canonical version format always including the revision 0 works just fine for us at the moment. There is not actually a need to change it.

comment:2 Changed 5 months ago by jmroot (Joshua Root)

Milestone: MacPorts Future
Note: See TracTickets for help on using tickets.