Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#44629 closed defect (fixed)

notes printed in random order

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.99
Keywords: Cc:
Port:

Description

MacPorts now collects installed/upgraded ports' notes and displays them all at once at the end. But the order in which the notes are displayed seems to be random. It's not alphabetical or the order in which the ports were installed. e.g.:

--->  Some of the ports you installed have notes:
  p5.10-libwww-perl has the following notes:
    As of version 6.00, libwww-perl has been broken up into multiple packages. If you were using p5.10-libwww-perl for just one or two of its modules before, you may be able to pare down your installation
    to just those modules now. Other important changes have been made that may affect your code; for details, please see: /opt/local/share/doc/p5.10-libwww-perl/Changes
  p5.20-libwww-perl has the following notes:
    As of version 6.00, libwww-perl has been broken up into multiple packages. If you were using p5.20-libwww-perl for just one or two of its modules before, you may be able to pare down your installation
    to just those modules now. Other important changes have been made that may affect your code; for details, please see: /opt/local/share/doc/p5.20-libwww-perl/Changes
  p5.16-libwww-perl has the following notes:
    As of version 6.00, libwww-perl has been broken up into multiple packages. If you were using p5.16-libwww-perl for just one or two of its modules before, you may be able to pare down your installation
    to just those modules now. Other important changes have been made that may affect your code; for details, please see: /opt/local/share/doc/p5.16-libwww-perl/Changes

Change History (4)

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Milestone: MacPorts Future
Resolution: fixed
Status: newclosed

You're right, we were using array get, where the documentation reads

The order of the pairs is undefined.

r123709.

comment:2 Changed 8 years ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:3 Changed 8 years ago by noloader (Jeffrey Walton)

Regarding "libwww-perl has been broken up into multiple packages", I laughed when I saw Perl and broken in the same sentence. I'm convinced Larry Wall was on acid when he decided on the grammar after seeing the leaning toothpicks.

Maybe something like "libwww-perl has been split into multiple packages" would be a better choice of phrases.

comment:4 Changed 8 years ago by neverpanic (Clemens Lang)

In ff7bf4f1/macports-ports:

p5-libwww-perl: Avoid 'perl' & 'broken' together

See: #44629

Note: See TracTickets for help on using tickets.