[MacPorts] #63438: port checksum outdated doesn't work: version ... is not available
MacPorts
noreply at macports.org
Wed Oct 6 17:48:43 UTC 2021
#63438: port checksum outdated doesn't work: version ... is not available
----------------------------+--------------------
Reporter: jmarshallidau | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.7.1
Resolution: | Keywords:
Port: |
----------------------------+--------------------
Comment (by jmroot):
All the actions handled by `action_target` can (by their nature as
Portfile targets) only run on the current version in the tree. If the
current version of `foo` is 1.1, it's just as impossible to `checksum foo
@1.0` as to `install foo @1.0`. The real issue is that we have no way to
specify "the current versions in the tree corresponding to the ports that
are installed/active/whatever".
It's probably good enough to ignore versions added implicitly from the
registry, and only error if the unavailable version was specified by the
user. (It would actually be possible to really run targets on the
specified version if it is installed, by using the Portfile stored in the
registry. But that would probably be even more confusing.)
--
Ticket URL: <https://trac.macports.org/ticket/63438#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list