[Rpm-maint] [rpm-software-management/rpm] [RFE] Add limits to autopatch macro (#626)
Panu Matilainen
notifications at github.com
Wed Feb 20 10:04:32 UTC 2019
> Do you know how difficult would it be to link patch names back to original number?
It's a bit harder than it seems on the outset. Various options:
1. extend the rpmlua interface to support arbitrary objects (to allow storing number alongside the name)
2. extend the rpmlua interface to allow setting the table key (to the patch number), but this results in unsorted table which then needs solved one way or the other
3. create separate arrays for storing the patch numbers, so you can use the index from ipairs() to address the file/number
Of those, 3. is probably the easiest but it also seems clumsy.
--
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/626#issuecomment-465508481
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190220/24096055/attachment.html>
More information about the Rpm-maint
mailing list