Re: Speed up bash starting time (slow scripts in profile.d, /etc/bash_completion.d)

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

 



Petr Pisar <ppisar@xxxxxxxxxx> writes:

> On Sat, May 16, 2020 at 12:56:06PM +0200, Dominique Martinet wrote:
>
>> How should I go about with that? Open bz bugs to all the packages I
>> listed? strongly suggesting to get things to move to /usr/share (17)
>> and flatpak (suggest some kind of cache? not sure they'll be
>> interested...)  and environment-modules (not sure what to suggest
>> there, I only have environment-modules because I need to test
>> something with openmpi from time to time and it comes with it...)
>> 
>> It might also make sense to have a packaging guideline suggesting to
>> avoid /etc/bash_completion.d in favor of the /usr/share variant, I
>> couldn't find anything here[1] but I might not have looked thoroughly
>> enough...  [1]
>> https://docs.fedoraproject.org/en-US/packaging-guidelines/
>
> When you are at fixing a packaging of the completion scripts, please
> make the dependency on bash-completion optional (Recommends:
> bash-completion). It used to be a good habit to weaken the dependency
> because not everyone is willing to pay the slow-down tax if he has no
> use of the completion:

I would suggest that at the point where you're sacrificing shell
friendliness in favor of performance, it might be a good time to switch
over to dash https://src.fedoraproject.org/rpms/dash

Thanks,
--Robbie

Attachment: signature.asc
Description: PGP signature

_______________________________________________
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

[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