Giter Club home page Giter Club logo

Comments (13)

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024 1

This is definitely going to be supported as part of the dnf5 work. @dmach or @j-mracek would have a better idea of when that will land.

from libdnf.

j-mracek avatar j-mracek commented on August 16, 2024 1

I am not 100 % sure what exactly is requested.
dnf5 work means to move a lot of functionality from dnf to libdnf including support of comps, and adding of query functionality for comps. Due to our limitation we cannot reimplement libcomps in libdnf. May be in far far future. dnf5 will be written in C++ and we will provide bindings for c, python and so on. We have no plan to support glib macros, therefore glib auto-free functions will require to provide a destructor for proper functionality.

from libdnf.

hughsie avatar hughsie commented on August 16, 2024

I'm really not keen on the design of libcomps at all. I'm totally for porting and folding into libhif.

from libdnf.

cgwalters avatar cgwalters commented on August 16, 2024

rpm-software-management/libcomps#22

from libdnf.

ignatenkobrain avatar ignatenkobrain commented on August 16, 2024

I think we should consider merging libcomps into libhif.

from libdnf.

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024

I'm all for having the comps functionality as part of libhif, but I think we would probably need some sort of Comps Python interface preserved for portability (like we've done for the legacy hawkey Python bindings).

from libdnf.

jsilhan avatar jsilhan commented on August 16, 2024

I am for merging libcomps although at first we should merge librepo. Isn't libsolv comps support just enough for rpm-ostree purposes?

from libdnf.

cgwalters avatar cgwalters commented on August 16, 2024

I was totally unaware libsolv had comps support. I'll look at that.

from libdnf.

Conan-Kudo avatar Conan-Kudo commented on August 16, 2024

@cgwalters According to @mlschroe, it's somewhat rudimentary (though I forget exactly what the limits of the built-in comps support are). As of libsolv 0.6.20 in Fedora, the comps support is enabled. Extending libsolv's comps support (as needed) and using that in libhif is probably a much more solid path.

from libdnf.

cgwalters avatar cgwalters commented on August 16, 2024

https://bugzilla.redhat.com/show_bug.cgi?id=1340556

from libdnf.

bam80 avatar bam80 commented on August 16, 2024

Just wanted to clarify the status.

from libdnf.

dmach avatar dmach commented on August 16, 2024

Let me clarify - the new libdnf major version (currently dnf-5-devel branch) will support working with comps groups. It's going to use libcomps as a backend for reading comps information, but the libcomps internals will not be exposed, only a high-level libdnf API will.
No glib support is planned as we're moving libdnf away from glib to C++17.

from libdnf.

j-mracek avatar j-mracek commented on August 16, 2024

I have a good news - comps support was implementd in DNF5 (available in Fedora38) project. We do not have a plan to extent the LIBDNF functionality, therefore it will be replaced by DNF5 (Fedora 39). I am closing the issue.

from libdnf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.