On Sun, Jul 03, 2016 at 09:41:34PM +0200, Kamil Cholewi??ski wrote:
> On Sun, 03 Jul 2016, Chris Bennett <chrisbenn...@bennettconstruction.us> 
> wrote:
> > This can't be done and should NOT be done. if you are asked to choose
> > between two+ different versions, often that choice is based on the other
> > package(s) that depend on a particular version. You may even need to
> > install both versions when two of your other packages require one of
> > each of the two. See python. I have packages that require python 3.x.x
> > and some others which require python 2.x.x.
> > Even more as a good example, look at all of the different versions of
> > autoconf. How could an automated version of pkg_add possibly guess which
> > version you actually need in two months?
> 
> You've totally missed the 99% use case: "just give me the latest version".

That's a thoroughly stupid idea.

Let me elaborate: that's exactly what you have 99% of the case. There are
about 200 packages out of 9000 in the ports tree where there is an ambiguity
concerning the version number.

*all* of these cases are there for a reason. They always mean you *really*
have to choose because there is some reason for which you have several
distinct branches in the tree.

Now, a branch selector to be able to automate installation, that makes sense
and that's why I added that to current.

But choosing and running the latest version automatically ? that's the
computer equivalent of running blindfolded into traffic on a speedway.

Reply via email to