Skip to content

Commit d97ee30

Browse files
author
Dean Troyer
committed
Update minimum bash version
Clarify our position on bash and other shells. Change-Id: I30e801afa03f8d7235556b0933d0205a30310899
1 parent fdae448 commit d97ee30

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

HACKING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ General
66
-------
77

88
DevStack is written in UNIX shell script. It uses a number of bash-isms
9-
and so is limited to Bash (version 3 and up) and compatible shells.
9+
and so is limited to Bash (version 4 and up) and compatible shells.
1010
Shell script was chosen because it best illustrates the steps used to
1111
set up and interact with OpenStack components.
1212

doc/source/faq.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,18 @@ Q: What about Fedora/RHEL/CentOS?
7070
Q: Are there any differences between Ubuntu and Fedora support?
7171
A: Neutron is not fully supported prior to Fedora 18 due lack of
7272
OpenVSwitch packages.
73+
Q: Why can't I use another shell?
74+
A: DevStack now uses some specific bash-ism that require Bash 4, such
75+
as associative arrays. Simple compatibility patches have been accepted
76+
in the past when they are not complex, at this point no additional
77+
compatibility patches will be considered except for shells matching
78+
the array functionality as it is very ingrained in the repo and project
79+
management.
80+
Q: But, but, can't I test on OS/X?
81+
A: Yes, even you, core developer who complained about this, needs to
82+
install bash 4 via homebrew to keep running tests on OS/X. Get a Real
83+
Operating System. (For most of you who don't know, I am refering to
84+
myself.)
7385

7486
Operation and Configuration
7587
===========================

0 commit comments

Comments
 (0)