On Wed, 2022-02-16 at 09:17 +0100, Miroslav Suchý wrote:
> Dne 15. 02. 22 v 22:08 Matthew Kenigsberg napsal(a):
> > It sounds like there's already some effort to make tasks in RPMs like 
> > adding users more 
> > declarative:https://docs.fedoraproject.org/en-US/packaging-guidelines/UsersAndGroups/
> Which is still not finished and you still need to call the old scriptlet when 
> you need the user to exist during %post. :(
> > Do you think it would be possible to move some of the configuration tasks 
> > performed in scriptlets into something declarative that could be merged 
> > with other configuration?
> 
> Yes. Take the
> 
> https://src.fedoraproject.org/lookaside/rpm-specs-latest.tar.xz
> 
> grep for common scriptlets and resolve them one-by-one. Starting with common 
> one. But it is huge task!
> 
> You can choose where you will start:
> 
> * mkfontdir - which can be replaced by filetriggers.
> 
> * update-desktop-database - which - I believe - has been already replaced by 
> filetriggers, but it is still used.
> 
> *update-alternatives - which no one yet touched
> 
> .... and many many others

As well as Zbigniew, I believe Will Woods was quite interested in this
stuff for a while. Not sure if he still is.
-- 
Adam Williamson
Fedora QA
IRC: adamw | Twitter: adamw_ha
https://www.happyassassin.net

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to