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]

 



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:

# dnf repoquery --whatrequires 'bash-completion' | grep -v bash-completion
frama-c-0:20.0-3.fc33.x86_64
hashcat-0:5.1.0-7.fc33.i686
hashcat-0:5.1.0-7.fc33.x86_64
kiwi-cli-0:9.20.5-1.fc33.noarch
perl-Config-Model-Itself-0:2.020-2.fc32.noarch
snapd-0:2.43.3-1.fc33.x86_64
toolbox-experience-0:0.0.18-3.fc33.noarch
votca-csg-bash-0:1.6-1.fc33.noarch

-- Petr

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