Re: More than 10% of all Fedora spec files are not POSIX sh compliant

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

 



On Tue, Mar 26, 2019 at 8:43 AM Nicolas Mailhot
<nicolas.mailhot@xxxxxxxxxxx> wrote:
>
> 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.

I think the Java ecosystem is before all imploding because of build tools
promoting a quadratic complexity of dependencies in a "community" not
bothered to maintain compatibility in libraries and as a result the other
side of the community coin not updating dependencies they consume
unless they feel like they need it.

That creates a little bit of friction with Fedora guidelines and the First
principle when massive leaf packages (aka applications) try to update
while they "share" some of their dependencies with other major leaf
packages.


> 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
_______________________________________________
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