Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #15186 (new defect)

Opened 7 months ago

Last modified 5 months ago

port upgrade does not work correctly on current pseudo-port

Reported by: raimue@… Owned by: macports-tickets@…
Priority: Normal Milestone: MacPorts base bugs
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 5 months ago by raimue@…

  • component changed from ports to base
Note: See TracTickets for help on using tickets.