[MacPorts] #70917: port migrate/restore enhancement request
MacPorts
noreply at macports.org
Wed Sep 25 16:07:13 UTC 2024
#70917: port migrate/restore enhancement request
--------------------------+--------------------
Reporter: pietvo | Owner: (none)
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: base | Version:
Resolution: | Keywords:
Port: |
--------------------------+--------------------
Changes (by jmroot):
* component: ports => base
Comment:
The snapshots are stored in the registry database, and can be edited with
sqlite3 in a pinch. There is also as yet unreleased JSON export and import
functionality. TBH, if you have figured out which variant you want to
disable to break a dependency cycle, it may be easiest to edit the
Portfile and temporarily remove or rename the variant.
Programmatically detecting dependency cycles and then systematically
toggling variants on and off to try to break them is not impossible, but
it would add quite a lot of complexity. There's no guarantee that there is
even a possible solution in all cases, and the choice of where exactly to
break the cycle would be have to be arbitrary unless the user is
consulted, and they may not know either.
All in all, both circular dependencies and build-time conflicts are pretty
terrible and it would be far preferable if ports avoided them (however
realistic or otherwise that expectation may be…)
--
Ticket URL: <https://trac.macports.org/ticket/70917#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list