Re: More declarative RPMs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Miroslav
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux