Re: Fedora 30 System-Wide Change proposal: Remove Obsolete Scriptlets

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

 





On Thu, Jan 3, 2019, 09:59 Panu Matilainen <pmatilai@xxxxxxxxxx wrote:
On 1/2/19 7:52 PM, Jason L Tibbitts III wrote:
>>>>>> "FV" == Fabio Valentini <decathorpe@xxxxxxxxx> writes:
>
> FV> - unless those other, main icon theme packages have also added
> FV> %transfiletrigger* scriptlets, like I've done for elementary and
> FV> Paper.
>
> Perhaps it should be mandatory for icon themes to add the necessary file
> triggers so that no package will ever need to have a scriptlet which
> calls gtk-update-icon-cache.
>
> In general I think that the distro as a whole should pivot towards
> official, guideline-codified scriptlet avoidance, such that adding
> appropriate file triggers should be mandatory where it avoids the need
> for packages down the dependency chain to have scriptlets.  I'm sure
> there are a number of places where this could be done.  Having this as a
> distro-wide goal would make it easier to get changes like the glibc
> ldconfig file triggers implemented (which took years to get the current
> incomplete implementation pushed).

+1

Ultimately the goal should be making the "traditional" scriptlets
extinct to the point that using them requires an exception.

I've no illusions here, it's going to be a long long road and require
further enhancements to rpm (for example dealing with users and groups)
but that's what the long-term overall goal should be.

I was wondering about the case of users and groups in scriptlets. Something I would like to investigate next time I dedicate free time to Fedora is conditional and one-shot services with systemd.

Maybe some of that complexity could move from the package manager to the service manager. For the use case I have in mind it's definitely the service that wants the user and group, because none of the installed files need them. It's only a runtime requirement for the service.

Sent from my phone
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[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