Re: More declarative RPMs

2022-02-16 Thread Matthew Kenigsberg
Glad to hear there's a lot of interest in this! I think file triggers would definitely help with optimizing containerization, but I think it still has some issues. Two properties that would be desirable for optimizing containerization are: 1. Mergeability. If multiple packages perform the same t

Re: More declarative RPMs

2022-02-16 Thread James Antill
On Wed, 2022-02-16 at 10:35 +, Richard W.M. Jones wrote: > Definitely.  I have long said that any time there's a scriptlet in an > RPM package, we should work towards removing it. > > BTW I found this F31 change proposal.  Did it happen?  The bug was > CLOSED/CURRENTRELEASE. > > https://fedor

Re: More declarative RPMs

2022-02-16 Thread Neal Gompa
On Wed, Feb 16, 2022 at 7:54 AM Miroslav Suchý wrote: > > Dne 16. 02. 22 v 9:43 Aleksandra Fedorova napsal(a): > > doesn't say anything about scriptlets being discouraged: > > because we are far from using a word "discouraged". But yes, filetriggers and > other similar methods should be prefered.

Re: More declarative RPMs

2022-02-16 Thread Miroslav Suchý
Dne 16. 02. 22 v 9:43 Aleksandra Fedorova napsal(a): doesn't say anything about scriptlets being discouraged: because we are far from using a word "discouraged". But yes, filetriggers and other similar methods should be prefered. Miroslav ___ devel

Re: More declarative RPMs

2022-02-16 Thread Richard W.M. Jones
On Wed, Feb 16, 2022 at 09:43:05AM +0100, Aleksandra Fedorova wrote: > Hi, > > On Wed, Feb 16, 2022 at 9:18 AM 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 de

Re: More declarative RPMs

2022-02-16 Thread Miro Hrončok
On 16. 02. 22 9:43, Aleksandra Fedorova wrote: Do I understand correctly that there is a general agreement that it is the right direction to take, and the main reason why we are not there yet is the size of the effort? Correct. -- Miro Hrončok -- Phone: +420777974800 IRC: mhroncok

Re: More declarative RPMs

2022-02-16 Thread Aleksandra Fedorova
Hi, On Wed, Feb 16, 2022 at 9:18 AM 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/UsersAndGroup

Re: More declarative RPMs

2022-02-16 Thread Vitaly Zaitsev via devel
On 16/02/2022 09:17, Miroslav Suchý wrote: * update-desktop-database - which - I believe - has been already replaced by filetriggers, but it is still used. update-desktop-database, update-mime-database, ldconfig, update-manpages and gtk-update-icon-cache should be removed from all Fedora SPE

Re: More declarative RPMs

2022-02-16 Thread Vitaly Zaitsev via devel
On 16/02/2022 09:17, Miroslav Suchý wrote: * update-desktop-database - which - I believe - has been already replaced by filetriggers, but it is still used. update-desktop-database, update-mime-database, ldconfig, update-manpages and gtk-update-icon-cache should be removed from all Fedora SPE

Re: More declarative RPMs

2022-02-16 Thread Vitaly Zaitsev via devel
On 15/02/2022 22:08, Matthew Kenigsberg wrote: 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/ https://pagure.io/packaging-committee/issue/1158 Do you think it would

Re: More declarative RPMs

2022-02-16 Thread Adam Williamson
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/

Re: More declarative RPMs

2022-02-16 Thread Miroslav Suchý
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 scri

More declarative RPMs

2022-02-15 Thread Matthew Kenigsberg
Hi, I was discussing containerization and making RPMs more declarative with Aleksandra Fedorova, and she suggested I ask here and mention Zbigniew Jędrzejewski-Szmek. It sounds like there's already some effort to make tasks in RPMs like adding users more declarative: https://docs.fedoraproject.