Open vitorhcl opened 9 months ago
However, @EmilyGraceSeville7cf suggested consecutive dashes for distinguishing commands, which I think is a good approach because we already use a single dash for subcommands. What do you think?
So to clarify, what's being suggested here is to use <PACKAGE_NAME>--
as a prefix in case of conflicts correct? The implications here being that the TLDR filename would be a unique identifier of one specific binary of one specific package, and no longer align with the install name chosen by any particular distro.
To be honest, despite the fact that it was largely me who proposed the solution in #7596, I actually prefer this one. In one of the prior comments, you can see that it's the same spirit as what's proposed here.
Because the entire notion of "the more popular distro" is unstable at best and entirely subjective at worst. On the first point, Debian is very popular today sure (largely due to Ubuntu), but as is the case with anything that's subject to change; and on the second, Debian may be more popular in the desktop space but many enterprise/HPC environments are almost entirely Fedora and RHEL.
We decided on #7596 the following approach:
We can take a similar approach for binary conflicts within the same distro.
However, @EmilyGraceSeville7cf suggested consecutive dashes for distinguishing commands, which I think is a good approach because we already use a single dash for subcommands. What do you think?
Also, we need to properly document this on CONTRIBUTING.md.