Opened 15 years ago

Closed 14 years ago

#17344 closed defect (fixed)

port installed should list revisions in natural order

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.7.0
Keywords: Cc: afb@…
Port:

Description

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.

Change History (4)

comment:1 Changed 15 years ago by tobypeterson

Milestone: MacPorts base bugsMacPorts Future

Milestone MacPorts base bugs deleted

comment:2 Changed 15 years ago by afb@…

Should be fixed in r50329...

comment:3 Changed 14 years ago by afb@…

Owner: changed from macports-tickets@… to ryandesign@…

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Milestone: MacPorts FutureMacPorts 1.8.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.