Re: Heads Up: libmodulemd 2.0 coming soon to a Rawhide near you

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

 



10.12.2018, 19:22, "Neal Gompa" <ngompa13@xxxxxxxxx>:
> On Mon, Dec 10, 2018 at 2:06 PM Kalev Lember <kalevlember@xxxxxxxxx> wrote:
>>  On 12/10/2018 07:30 PM, Stephen Gallagher wrote:
>>  > It is versioned, actually. The 1.x API is `pkconfig(modulemd)` and 2.x
>>  > is `pkgconfig(modulemd-2.0)`. The source of the conflict between the
>>  > two -devel subpackages is that they both want to own
>>  > /usr/lib64/libmodulemd.so, symlinked to different objects.
>>
>>  Perhaps it would then make sense to rename libmodulemd.so to
>>  libmodulemd-2.so in 2.x, so they don't conflict?
>
> No. It's better that the development subpackages conflict. There's
> zero reason for them to be co-installable.

Huh, better to conflict? That's just not true. Conflicting packages are a major hurdle that we should try to avoid if at all possible. If it's still possible to still change the design of the library (rename the .so file) then it certainly makes sense to do so.

Look at some well designed libraries, gtk2 and gtk3 for example that can exist in parallel and have -devel packages that don't conflict.

Of course, you could make an argument that it is different there because gtk has longer lifetime than libmodulemd, but it still makes sense to do things right if we can and not make packages unnecessarily conflict. It's just good design that way.

Pete
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux