Le 2019-03-25 22:47, Japheth Cleaver a écrit :
If you can take a one-time hit to remove bashisms and get a 25-40% improvement,
CPU time is cheap, packager time is not. Exchanging CPU time for "you all should learn to write POSIX-only shell scripts" would be an awful deal. The Java part of Fedora is slowly imploding right now because a lot of people pushed their complexity on packagers, and the packagers could not cope. The Fedora target should be to help packagers achieve more with less work, not achieve less with more work.
POSIX is dead as a shell compatibility target. You want to replace bash with something faster, by all means do it. With something that includes the GNU extensions like pushd/popd that most packagers expect today.
Less-capable shells are faster is about as useful as argument than "rewriting the shell parts of spec files in Go/python/rust/C/whatever would be faster".
And, actually, if you wanted to make builds faster, working with upstreams to replace their makefiles with something more modern is likely to give better results. GNU Make is known to be slow and to consume an awful lot of shell bits.
-- Nicolas Mailhot _______________________________________________ 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