New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15186 (new defect)

Opened 4 years ago

Last modified 3 years ago

port upgrade does not work correctly on current pseudo-port

Reported by: raimue@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts Future
Component: base Version: 1.6.0
Keywords: base upgrade Cc:
Port:

Description

Instead of taking the actual porturl, macports::upgrade searches for the port in the tree which makes the behavior totally unexpected when using the current pseudo-port.

Imagine you got some directory with a Portfile outside of your ports tree which has the same name as a port in the tree. Then run port upgrade in this directory, and not the port from this directory is build and installed, but the one from the tree. This is absolutely not expected behavior.

I think macports::upgrade should take a porturl instead of the name of a port.

Change History

Changed 4 years ago by raimue@…

  • component changed from ports to base

Changed 3 years ago by toby@…

  • milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

Note: See TracTickets for help on using tickets.