Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please make libmodulemd an optional dependency #641

Closed
Conan-Kudo opened this issue Nov 17, 2018 · 10 comments
Closed

Please make libmodulemd an optional dependency #641

Conan-Kudo opened this issue Nov 17, 2018 · 10 comments
Labels

Comments

@Conan-Kudo
Copy link
Member

Conan-Kudo commented Nov 17, 2018

For a number of distributions, modules are not desirable and it adds extra unwanted dependencies. It'd be great if it were possible to not require libmodulemd for building libdnf and using dnf. This would be great for distributions like Yocto, Mer, openSUSE, OpenMandriva, and others that don't care about Fedora Modularity.

@Conan-Kudo Conan-Kudo changed the title Please make llibmodulemd an optional dependency Please make libmodulemd an optional dependency Nov 24, 2018
@tpgxyz
Copy link

tpgxyz commented Sep 26, 2019

Any news on it ?

@robert-scheck
Copy link

I also would like to see libmodulemd as an optional dependency, because only Fedora/RHEL seem to use modularity. Have there been any successful downstream efforts to hack it simply out somehow?

@Conan-Kudo
Copy link
Member Author

Conan-Kudo commented Dec 4, 2020

No. There has been some interest in using modularity technology in other distributions, though the lack of information on how to actually make modules has made that a bit difficult. I would still like this to eventually become an optional dependency, though...

@robert-scheck
Copy link

…I fully agree with the need to build libdnf without libmodulemd optionally.

@Conan-Kudo
Copy link
Member Author

Conan-Kudo commented Dec 4, 2020

That's already planned for the next major version of DNF, but don't expect modularity to not be enabled in all major distributions shipping DNF. Cross-distro compatibility more or less depends on it.

@robert-scheck
Copy link

So, you're saying that building libdnf without libmodulemd support leads to loss of cross-distro compatibility? What would that mean in the end? Just that I'm not able to install modules on e.g. a niche distribution which decided to opt-out from modules? That would be absolutely fine here.

@Conan-Kudo
Copy link
Member Author

Well, there's a bunch of consequences:

  • No building packages for a target distribution using modules on a host distribution with no support for it
  • No querying repositories for a target distribution or repository that uses modularity
  • No ability to use repositories that offer and use modules

and so on...

@robert-scheck
Copy link

…sounds still perfect for a niche distribution!

@Conan-Kudo
Copy link
Member Author

Well, if you don't care about any of those things for any reason, sure. But again, that's going to be a year away, at least.

@dmach dmach added the dnf5 label Jan 20, 2021
@jan-kolarik
Copy link
Member

jan-kolarik commented Feb 12, 2024

In dnf5 this issue is already covered here. Closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants