Changeset e8c773a


Ignore:
Timestamp:
Dec 22, 2013, 12:11:54 PM (4 years ago)
Author:
Silvio Rhatto <rhatto@…>
Branches:
(u'master', '6dd35dd876cbe50464d95fa63ca996ee684bca67')
Children:
fe5bb0e9544da51a8cf6b513031fa8b3709c4838
Parents:
94e278671116bf229dca6932e0d6d1d7fc4edefc
Message:

Misc cleanup

Files:
12 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • GUIDELINES.mdwn

    r94e2786 re8c773a  
    22------------------------
    33
    4 Abstract: this policy helps control all development
    5           steps to keep a clean and junk-free code.
     4This policy helps control all development steps to keep a clean and junk-free
     5code. In the future this procedure can be automatic.
    66
    7 In the future this procedure will be automatic.
     7After any addition to firma, check the following:
     8-------------------------------------------------
    89
    9 1 - After any addition to firma, check the following:
    10 ----------------------------------------------------
     10- If a new variable has to be declared via a config-file,
     11  remember to set it to be created in the NewList function.
    1112
    12   - If a new variable has to be declared via a config-file,
    13     remember to set it to be created in the NewList function.
     13- Put all new functions in the FUNCTIONS variable.
    1414
    15   - Put all new functions in the FUNCTIONS variable.
     15- Put all new global variables in the GLOBAL_VARS variable.
    1616
    17   - Put all new global variables in the GLOBAL_VARS variable.
     17- If you are using an unix command, check if it's already
     18  listed in the commands list bellow. If it's not, please
     19  add it.
    1820
    19   - If you are using an unix command, check if it's already
    20     listed in the commands list bellow. If it's not, please
    21     add it.
     21Variables usage
     22---------------
    2223
    23 2 - Variables usage
    24 -------------------
     24- Global vars: uppercase, with spaces replaced by underscores.
    2525
    26   - Global vars: uppercase, with spaces replaced by underscores.
     26- Local vars: lowercase, with spaces replaced by underscores and
     27              declared using "local".
    2728
    28   - Local vars: lowercase, with spaces replaced by underscores and
    29                 declared using "local".
     29- Attention to variables initialization, unset all vars after use.
    3030
    31   - Attention to variables initialization, unset all vars after use.
     31Used commands
     32-------------
    3233
    33 3 - Used unix commands
    34 ----------------------
    35 
    36    bash itself
    37 
    38    $GPG_BINARY
    39    $MAIL_AGENT
    40 
    41    basename
    42    chmod
    43    chown
    44    cut
    45    echo
    46    expect
    47    fold
    48    grep
    49    head
    50    logger
    51    mkdir
    52    mv
    53    rm
    54    sed
    55    sha1sum
    56    sleep
    57    sort
    58    touch
    59    tr
    60    uniq
    61    wc
    62 
     34- bash itself
     35- $GPG_BINARY
     36- $MAIL_AGENT
     37- basename
     38- chmod
     39- chown
     40- cut
     41- echo
     42- expect
     43- fold
     44- grep
     45- head
     46- logger
     47- mkdir
     48- mv
     49- rm
     50- sed
     51- sha1sum
     52- sleep
     53- sort
     54- touch
     55- tr
     56- uniq
     57- wc
Note: See TracChangeset for help on using the changeset viewer.