diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 12:37:13 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-28 12:37:13 -0300 |
commit | cfa0904afc40e1f5f075827011c599b5c79e6ba7 (patch) | |
tree | 4b3dd932c69220672892386e2c1eb02547d63eea /GUIDELINES.mdwn | |
parent | 21b3cd5dbb01d2f8be16d1cc744043689c3a3850 (diff) | |
download | firma-cfa0904afc40e1f5f075827011c599b5c79e6ba7.tar.gz firma-cfa0904afc40e1f5f075827011c599b5c79e6ba7.tar.bz2 |
Wikifying guidelines
Diffstat (limited to 'GUIDELINES.mdwn')
-rw-r--r-- | GUIDELINES.mdwn | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/GUIDELINES.mdwn b/GUIDELINES.mdwn new file mode 100644 index 0000000..fa9568e --- /dev/null +++ b/GUIDELINES.mdwn @@ -0,0 +1,62 @@ +Firma Development Policy +------------------------ + +Abstract: this policy helps control all development + steps to keep a clean and junk-free code. + +In the future this procedure will be automatic. + +1 - After any addition to firma, check the following: +---------------------------------------------------- + + - If a new variable has to be declared via a config-file, + remember to set it to be created in the NewList function. + + - Put all new functions in the FUNCTIONS variable. + + - Put all new global variables in the GLOBAL_VARS variable. + + - If you are using an unix command, check if it's already + listed in the commands list bellow. If it's not, please + add it. + +2 - Variables usage +------------------- + + - Global vars: uppercase, with spaces replaced by underscores. + + - Local vars: lowercase, with spaces replaced by underscores and + declared using "local". + + - Attention to variables initialization, unset all vars after use. + +3 - Used unix commands +---------------------- + + bash itself + + $GPG_BINARY + $MAIL_AGENT + + basename + chmod + chown + cut + echo + expect + fold + grep + head + logger + mkdir + mv + rm + sed + sha1sum + sleep + sort + touch + tr + uniq + wc + |