See https://eng.hroncok.cz/2020/05/14/ilua-rpm-console
I have not added it yet to Makefile.am. Let me know if I should.
Yeah, I think this would be fine to install by default.
rebased onto f258696c738ae2c78654bd63357d7f35816c7bcd
Can you help me with that?
Yeah, I can. I'll take a look tomorrow for this. :wine_glass:
So this is going to be a problem. librpm's soname will change depending on the host RPM release.
Can we change this to properly link to librpm and librpmio?
rebased onto cd4b4215ccdece0b7edb935cec00eb3f47dcef8d
Not sure "properly link" is what this is, but I've added calls to find_library.
Guys, fishing internal symbols out of librpmio is okay for a personal hack but NOT okay for "an official" tool such as it would be in rpmdevtools. These APIs are internal for a reason, and you're doing both us and the users a disservice by not respecting that. Please.
Right. My idea is that they are stable yet not official. How to proceed?
That they have been untouched for a long time doesn't mean much - they are getting incompatibly changed in 4.17 due to bunch of new developments. Not because of this, but despite it.
I can either open a ticket for RPM to provide "rpmlua" executable that does what this script does, or to put the necessary functions to the API. Which one is more likely?
I believe this is now coming in RPM itself, so we can close this, right?
Indeed.
Pull-Request has been closed by churchyard
See https://eng.hroncok.cz/2020/05/14/ilua-rpm-console
I have not added it yet to Makefile.am. Let me know if I should.