Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)

2020-10-05 Thread Jonathan Lebon
> But the actual scriptlet running machinery needs all manner of context that > only exists inside transactions and so is not meaningfully exportable, really. OK right, that's what I surmised. How big is that context? Are we talking about automatically defined variables? Is there some way we

Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)

2020-06-18 Thread Jonathan Lebon
Ahh yup, that looks promising. @pmatilai You mentioned in [this comment](https://github.com/rpm-software-management/rpm/issues/1215#issuecomment-628594473) that it's not considered public API. Would you be open to exposing them through a CLI switch for now? We could mark it experimental/hidden

[Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)

2020-06-17 Thread Jonathan Lebon
It would be great if we could pass a lua script directly to rpm. The primary motivation for this is so that rpm-ostree can make use of this when running scriptlets. But I suspect it would also be useful for packagers to test their lua scripts more easily without having to rebuild an RPM each

Re: [Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)

2020-06-08 Thread Jonathan Lebon
@jlebon commented on this pull request. > @@ -0,0 +1,25 @@ +'\" t +.TH "RPM-DBUS-ANNOUNCE" "8" "03 Jun 2020" "Red Hat, Inc." +.SH NAME +rpm-plugin-dbus-announce \- DBus plugin for the RPM Package Manager + +.SH Description + +The plugin writes basic information about rpm transactions to the