openSUSE / libsolv

Library for solving packages and reading repositories
http://en.opensuse.org/openSUSE:Libzypp_satsolver
Other
517 stars 152 forks source link

lua bindings? #554

Closed lnussel closed 6 months ago

lnussel commented 6 months ago

Minimal systems intentionally do not ship with script interpreters like perl or python which leaves only shell and therefore makes it hard to write decent programs. There's one exception that we cannot avoid though: lua. It's built into rpm. So how about adding lua bindings to libsolv so we can have fancing libsolv programs even on minimal systems?

Conan-Kudo commented 6 months ago

My initial response to that is "maybe you've made the system too minimal". Are you really sure you should strip things down so much that you're forced to use languages that are not commonly used for things like this?

lnussel commented 6 months ago

yes

Conan-Kudo commented 6 months ago

Well, SWIG supports generating Lua bindings, so you could try to extend the CMake scripts so it can do it.

mlschroe commented 6 months ago

We have tcl bindings, so lua should not be that hard ;-)

mlschroe commented 6 months ago

Done.

lnussel commented 6 months ago

U :rock: