Opened 9 years ago

Last modified 9 years ago

#45708 new defect

"port notes active" errors on deleted port

Reported by: dstrubbe (David Strubbe) Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version: 2.3.2
Keywords: Cc: ctreleaven (Craig Treleaven)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

A port that is no longer present in the tree can cause an error when running "port notes active" or "port notes installed". This command listed notes for ports in alphabetical order until it reached "eggdbus" and then stopped with "Error: The port 'eggdbus' was not found". I have eggdbus installed and active but it was deleted in r108419. I think there are two problems here:

  1. If there is a problem getting the notes, it should be a warning not an error, so the listing can continue in this case.
  2. The fact that there is an error suggests that the notes being printed are from the current version in the ports tree, even if the port in question is not the current version. This is unhelpful and might be misleading if the notes contain something version-specific.

Change History (3)

comment:1 Changed 9 years ago by ctreleaven (Craig Treleaven)

Cc: ctreleaven@… added

Cc Me!

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: "port notes active" crashes on deleted port"port notes active" errors on deleted port

comment:3 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Note: See TracTickets for help on using tickets.