Le mercredi 24 juin 2020 à 12:03 +0200, Nicolas Mailhot a écrit :
Le mercredi 24 juin 2020 à 11:56 +0200, Petr Pisar a écrit :
> I see. I focused on having the stream information on RPM level.
> answer is no, the package name does not contain the information.
> My idea was that DNF could discriminate the same-name package using
> ModularityLabel tag instead of relying on modulemd documents
> delivered in the
> repository metadata.
One problem of having it a tag (which we do not even have in Fedora)
that it requires rewriting dependency resolution logic at dnf level,
and a Tag does not come with all the dependency manipulation verbs we
have evolved over the years for Provides and Requires.
That is what killed the group tag and comps groups as generic ways to
declare package grouping BTW.
RPM maintainers were long opposed to metapackages, but in the end
metapackages offer more packager flexibility, and appear as normal
objects in the dependency graph, meaning you can do things with them
you could never achieve with an out-of-graph Comps/Tag group.