Hello Ladislav, On Mon, 2020-08-31 at 16:28 +0200, Ladislav Slezak wrote: > Hi all, > > I have improved the Y2Packager::Resolvable call (and the internally used > Pkg.Resolvables call) to allow searching by RPM dependencies (provides, > obsoletes, > conflicts, requires, recommends, suggests, supplements, enhances). >
This is fantastic! Thank you for implementing these! If you don't mind me asking this question: what are your or YaST team's opinion on using yast2-pkg-bindings in a standalone Ruby script? I haven't yet tried this out, but ever since libzypp-*-bindings have been deprecated, I've been looking for an alternative. I really like the yast2-pkg-bindings API implementation and I've dabbled a little bit with it over the years. Would it work in a non-YaST script? If this is not supported or not recommended, then I'll continue to parse the output of "zypper -q --xml ...". :-( Regards, Srinidhi.
