13 Commits

Author SHA1 Message Date
Ian Wienand
aee18c749b Enforce function declaration format in bash8
Check that function calls look like ^function foo {$ in bash8, and fix
all existing failures of that check.  Add a note to HACKING.rst

Change-Id: Ic19eecb39e0b20273d1bcd551a42fe400d54e938
2014-02-28 07:59:03 +11:00
Sean Dague
6db2892326 Add hacking rules for shell scripts
This is an attempt to collect the rules that we live by in devstack
that are generally held. Writing these down help us figure out ways
to put them into bash8 over time. These are a starting point for
conversation.

Change-Id: Id2b750665871ebbeddf4694ba080c75d2f6f443e
2013-11-22 12:20:39 -05:00
Dean Troyer
b8dd27bf45 Fix typos and thinkos in docs
Updates for the new major features and some clarification

Partial-Bug: #1235626

Change-Id: If2da63e62a14894e498b4163b5052d9b2b2069ed
2013-10-21 11:20:42 -05:00
Adam Spiers
d903476aa5 Fix "instal_prereqs.sh" typo
Change-Id: I745b159aea70412d424df506af0e3d1ca2d78034
2013-10-04 23:20:24 +01:00
Mark McClain
b05c876994 update for name change to Neutron
Note: Nova and Horizon are not updated until those projects have
migrated.

Change-Id: I256ef20e7caadd9c96e6dd908c5d8b69ca5c4aeb
2013-07-07 00:15:11 -04:00
Joe Gordon
4640026cc1 Fix spelling mistakes
git ls-files | misspellings -f -
Source: https://github.com/lyda/misspell-check

Change-Id: I7d63578734ca5cc1ec865a7d024c1a013d1ada87
2013-06-30 04:32:27 -07:00
Dean Troyer
cc6b443545 Formatting cleanups, doc updates and whatnot
Change-Id: Ica8298353be22f947c8e8a03d8dc29ded9cb26dd
2013-04-09 14:05:32 -05:00
Dean Troyer
2b7ce5a8f3 Add stackrc comments to HACKING
Change-Id: I46ff885184a2b5b71caca905c27f28d8b1304011
2013-01-10 13:28:46 -06:00
Dean Troyer
6d04fd7ba5 Holiday docs and comment formatting cleanup
Change-Id: Ia4ca88c67d3b94e306a79a669805a2fa1b0dc069
2012-12-28 18:03:10 -06:00
Dean Troyer
05f23656d0 Add lib/template
Add a template for the lib/* sub-scripts and a description
to HACKING.

Change-Id: Ia490de8e565982c517525e09d8941a847ba530aa
2012-08-29 17:28:14 -05:00
Chmouel Boudjnah
408b009ccd Allow skipping exercises.
- Catch a special exit signal 55 to notify that we want to skip an
  excercise.
- Move is_enabled_service to functions.
- Fix bug 928390.

Change-Id: Iebf7a6f30a0f305a2a70173fb6b988bc07e34292
2012-03-28 11:34:51 +01:00
Dean Troyer
51fb454f71 Create exerciserc to configure exercises
* Move timeouts from openrc to (new) exerciserc
* Update all exercise scripts
* Update HACKING.rst

Fixes bug 951315

Change-Id: Icc4ff03a7dcf0cc711e204046176fb5186990c17
2012-03-12 11:44:32 -05:00
Dean Troyer
07c3557383 Add hacking guideline
After all, it _was_ docday when this was proposed!

This is by no means complete but some of this has come up a lot recently.

Change-Id: I72300506e1c74077d3f9e6bbabea3b2a25a8e829
2012-03-09 10:02:07 -06:00