[Rpm-maint] [rpm-software-management/rpm] Filter Lua deprecation warnings based on the originating rpm version (PR #3270)
Ali Mirjamali
notifications at github.com
Mon Jan 13 23:32:12 UTC 2025
> the point is that we need to warn on _all new usages_ of these functions to scare people away from using them.
Unfortunately this is working too good at scaring people. End-users could not fully understand if this is a package maintainer issue, an RPM bug, a DNF bug, a Fedora bug or their own fault. Very essential packages [such as libgcc](https://src.fedoraproject.org/rpms/gcc/blob/rawhide/f/gcc.spec#_2429) are still using posix.fork, .execute, etc. Here (Qubes OS), some users are scared to upgrade to Fedora 41 templates and prefer to stick with Fedora 40 while it is supported.
Maybe instead of [this line](https://github.com/rpm-software-management/rpm/pull/3270/files#diff-08a5b8f8eace58db333cc92adc4c18a0f875c2f953101c6152b632287510430cR1384), we could have something like:
```c
"warning: %s(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, package maintainer should use rpm.spawn() or rpm.execute() instead\n", func);
```
--
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/3270#issuecomment-2588457109
You are receiving this because you are subscribed to this thread.
Message ID: <rpm-software-management/rpm/pull/3270/c2588457109 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20250113/09ccf6ed/attachment.htm>
More information about the Rpm-maint
mailing list