[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1005858: gh,gitsome: File conflict, both ship /usr/bin/gh



Hi,

On 23-03-2022 12:32, Jonas Smedegaard wrote:
Quoting Anthony Fok (2022-03-23 11:08:36)
Rather than keeping this "Serious" bug open and keeping both gitsome
and gh out of Debian testing, I think the simple solution of having gh
"Conflicts: gitsome", which is one of the option specified in
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-conflicts,
would suffice for now, allowing both packages to (re-)enter testing in
the meantime.

SZ, if you think the use of alternatives (such that both the gitsome
and gh packages can be installed simultaneously) is a better solution,
I'd be happy to work something out with you too.

Please note that above Policy section covers only the functionality of
that packaging hint, not its suitability.

It is my understanding that both that specific use of Conflicts and the
use of alternatives is only acceptable for executables providing same or
at least largely overlapping) ABI.

Do gitsome and gh provide same or quite similar ABI?

It was already quoted in the bug report, policy is pretty clear (emphasis mine) (yes, I *suspect* that /usr/bin/gh does something quite different from reading the package descriptions):
"""
10.1. Binaries

Two different packages *must not* install programs with different functionality but with *the same filenames*. (The case of two programs having the same functionality but different implementations is handled via “alternatives” or the “Conflicts” mechanism. See Maintainer Scripts and Conflicting binary packages - Conflicts respectively.) If this case happens, one of the programs must be renamed. The maintainers should report this to the debian-devel mailing list and try to find a consensus about which program will have to be renamed. If a consensus cannot be reached, both programs must be renamed.
"""

Paul

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: