Opened 8 months ago

Closed 7 months ago

Last modified 6 months ago

#68256 closed enhancement (fixed)

Don't reinstall { darwin any } ports after OS major version upgrade

Reported by: breun (Nils Breunese) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.9.0
Component: base Version:
Keywords: Cc: sierkb (Sierk Bornemann)
Port:

Description

After a macOS major version upgrade, when I upgrade my ports, I notice that port outdated shows (platform darwin 22 ≠ 23) for ports that use platforms { darwin any }, and they get reinstalled when I run sudo port upgrade outdated, which I think is unnecessary. It would be nice if these ports could be considered not outdated, so they also won't get reinstalled.

Change History (4)

comment:1 Changed 8 months ago by sierkb (Sierk Bornemann)

Cc: sierkb added

comment:2 Changed 7 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 1b4db00efac269d81cc4e461ac5f6e2aa4a60969/macports-base (master):

Allow "any" in registry os_{platform,major}

Now setting these values on installation the same way as the platform
string in the archive filename. Also don't consider a port outdated due
to platform mismatch if it has an "any" value for these.

Closes: #68256

comment:3 Changed 7 months ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:4 Changed 6 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.9.0
Note: See TracTickets for help on using tickets.