[Rpm-maint] [rpm-software-management/rpm] RFE: Automatic (sub)package generators (#329)

nim-nim notifications at github.com
Sun May 10 11:29:25 UTC 2020


After lots of refactorings, I’re reduced the complexity of fonts/go (not published yer) header generation to the trivial

https://pagure.io/fonts-rpm-macros/blob/009ccace3f337f3410cf0b4b789af692fce766d7/f/rpm/lua/srpm/fonts.lua#_135

And setting the rpm variables that uses in a safe way in presence of mutliple subpackages to

https://pagure.io/fonts-rpm-macros/blob/009ccace3f337f3410cf0b4b789af692fce766d7/f/rpm/lua/srpm/fonts.lua#_118

The bulk of the complexity is identifying all the subvariables a domain will need, and defining the fallback rules between those variables (the thing that makes the "magic" work for users of the macros because most of the subvariables have sane default values that almost never need overriding). There’s a lot of domain knowledge at this stage, even some things like licensing files and documentation are needed for every domain. 

-- 
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/329#issuecomment-626313382
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20200510/901e817b/attachment.html>


More information about the Rpm-maint mailing list