Skip to content

stop using repo2solv #534

@dcermak

Description

@dcermak

libzypp depends on libsolv-tools due to a single line of code where repo2solv is invoked:

cmd.push_back( PathInfo( "/usr/bin/repo2solv" ).isFile() ? "repo2solv" : "repo2solv.sh" );

Would it be possible to drop this external call and use parts of libsolv directly? I know that https://github.com/openSUSE/libsolv/blob/master/tools/repo2solv.c is not exactly small, but maybe not all of its functionality is absolutely required?

This would allow us to make our containers a bit smaller by dropping the libsolv-tools dependency entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions