On Sat, 15 Oct 2022, Joshua Root wrote:
On 2022-10-15 13:20 , Fred Wright wrote:
IMO, it should ask before following replaced_by, since replaced_by is
sometimes a matter of opinion. For example, sometimes "port X is replaced
by port Y" really means "We don't want to bother supporting port X any
more, so you should use port Y instead; if it doesn't meet your needs then
that's too bad."
Typically a port with replaced_by set will have been converted to a stub that
does nothing but error out if you try to install it, so the ability to bypass
this feature doesn't help you much. But there is a --no-replace flag in case
it's needed.
Sure, but the inverted default is inconsistent with the way dependencies
are handled. If one attempts to install a port with missing dependencies,
it asks about the dependencies, and if one answers no, then the port isn't
installed, without having to predict this possible scenario in advance and
providing an extra option. I don't see why installing a port instead of
what the user requested should be more aggressive than installing a port
in addition to what the user requested.
Fred Wright