-
Each project should have its own directory (i.e. no global directory
scripts
/dev-tools
) -
Scripts should have executable mode
-
Write a README.md to explain project
-
Naming conventions:
- use only
-
in the scripts name, not_
- always keep file extension
- use only
-
Shell scripts should have the following options (pure shell script doesn't accept
-o
option):set -e set -u # fail if variable is undefined set -o pipefail # fail if command before pipe fails
Git hooks have been moved to their own repository: wazo-platform/wazo-git-hooks
- move
./dev-tools/repos
to release repository- warning: automated process use directly GitHub
- move
./scripts/import-pjsip-config.py
to its own directory- warning: people use directly GitHub