[Rpm-maint] [rpm-software-management/rpm] Reimplement pythondeps.sh as parametric macro generators (#1153)

Panu Matilainen notifications at github.com
Wed Apr 1 09:40:15 UTC 2020


> Should I convert the indentation to tabs as well, commit another whitespace only tab-removal, or leave as is?

Up to you.

In an attempt to get some timings for this thing:
- moved pythondist.attr out of the way (that thing is *expensive*)
- ran `for p in $(rpm -qa 'name=python*'); do rpm -ql ${p}|./rpmdeps --requires |grep abi; done` on my laptop with 181 python* packages with the old shell-version and this lua-macro version, both gave identical results

The shell version ran for 2m 13s, this version in 0m 18s. Of that 18s, the part of actual dependency generation is half at most.

-- 
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/1153#issuecomment-607146356
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200401/d3efe02b/attachment-0001.html>


More information about the Rpm-maint mailing list