----- Original Message -----
From: "David Caro" <dcaroest(a)redhat.com>
To: "infra" <infra(a)ovirt.org>
Sent: Thursday, February 20, 2014 10:52:23 PM
Subject: Scripting guidelines
Lately I've had a hard time to properly review some patches containing shell
scripts to manage our infrastructure because there's no guidelines. So I
a wiki page with a proposal . It's made up as a mix of some already
The reason to wrote a bash style guide and not a shell stile guide is because
think that bash is widely adopted (default GNU shell) and provides enough
advantages to sacrifice some portability. I think that most of our
and management scripts will never be run on non-GNU OSes.
POSIX compliance should be only used when really needed, for example, scripts
build a specific project, that might be run on non-GNU based systems in the
This thread is to start a discussion about it so please, share your opinions
concerns (and proposals).
We already discussed that, I think it is wrong for trivial scripts to use bash.
No need to discuss that over and over.
The problem is that there is nobody to have authority to decide anything.
Open Source is not anarchy nor democracy, there should be strict hierarchy.
And we lack that, so anarchy is in action.
As for infra, it is not part of anything we distribute so it is not that important,
however, standards compliance is something that should be considered.
Red Hat S.L.
Continuous Integration Engineer - EMEA ENG Virtualization R&D
RHT Global #: 82-62605
Infra mailing list