>>>>> On Fri, 13 May 2022, Philip Webb wrote:

>> Recently Debian has started to transition away from the "which" command.
>> [1]

> Do we take Debian as a role model ?

No, but it is additional input. Note that our own activities [2,3]
started earlier than that.

>> 'which' is a non-POSIX command which prints out the location of specified
>> executables that are in your path. Unfortunately, there are several
>> versions of the program around which are not compatible with each other.
>> We package the GNU version as sys-apps/which,
>> which is in the system set since 2004.

> If there is a GNU version, that would seem to be somewhat "official".
> Also, it's been around a long time.

It's been around at least since the 1980s but in spite of this it was
never standardised. The GNU version exists since 1999 and had its last
release in 2015.

>> Already in 2007, vapier asked developers to avoid which in ebuilds. [2]

> There well mb good reasons for the devs to do that,
> but users may have different needs or preferences.

Nobody is asking to drop the sys-apps/which package, so users can
install it if they like the command. Gentoo is about choice, so we
shouldn't force installation for everybody if the package isn't needed
in @system. (The same applies to sys-apps/less BTW, but that's a
different story.)

Ulrich

>> [1] https://lwn.net/Articles/874049/
>> [2] 
>> https://archives.gentoo.org/gentoo-dev/message/e04d4db72572dd5fec48e87c6b18c525
>> [3] https://bugs.gentoo.org/646588
>> [4] https://bugs.gentoo.org/502084

Attachment: signature.asc
Description: PGP signature

Reply via email to