> 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
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint