Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)
> 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 could provide that context via CLI as well? E.g. basically tell rpm "please run this Lua script as a %post scriptlet for this package running in the context of a fresh install". -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1273#issuecomment-703731886___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)
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 to begin with so we can trial it in rpm-ostree. Also, how far off are the environments in these library functions from what a scriptlet environment would be? -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1273#issuecomment-646017683___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
[Rpm-maint] [rpm-software-management/rpm] RFE: Add ability to run lua scripts directly (#1273)
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 time. For more background on this, see also: https://github.com/coreos/rpm-ostree/issues/749 http://lists.rpm.org/pipermail/rpm-ecosystem/2016-August/000391.html -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/issues/1273___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint
Re: [Rpm-maint] [rpm-software-management/rpm] Add dbus-announce plugin (#1255)
@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 +system dbus - like packages installed or removed. Other programms can programs -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/rpm-software-management/rpm/pull/1255#pullrequestreview-426510237___ Rpm-maint mailing list Rpm-maint@lists.rpm.org http://lists.rpm.org/mailman/listinfo/rpm-maint