Changeset 12541


Ignore:
Timestamp:
2020-03-12T18:05:24+01:00 (6 months ago)
Author:
mathiot
Message:

ticket #2304 : add description of -s and -c in the README, set verbosity of rsync to normal and update text output from sette

Location:
utils/CI/sette_ticket2304
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • utils/CI/sette_ticket2304/README.rst

    r11161 r12541  
    8181             The list of available configurations is available in running ./sette_list_avail_cfg.sh. 
    8282          - user need to set up the param.cfg file correctly and download input file before running the script. 
     83          - user can enforce synchronisation (-s option) of the existing CFG_ST with the REF configuration (EXPREF and MY_SRC).  
     84          - user can enforce cleaning of the CFG_ST configuration (use of makenemo -n CFG_ST clean) (-c option) 
    8385* ``sette_rpt.sh``            : it generates the sette report. 
    8486          - if no argument is given, the report will be generated on the last changed revision. 
  • utils/CI/sette_ticket2304/all_functions.sh

    r12508 r12541  
    9595   if [ ${SYNC_CONFIGS} == "yes" ]; then 
    9696 
     97      lREF=$3/$1    # reference  
     98      lCFG=$3/$2    # target 
     99 
    97100      echo '-------------------------------------------------------------------------------' 
    98101      echo '                    SOURCE AND CONFIG FILES SYNCHRONISATION                    ' 
    99102      echo '' 
    100       echo "configuration $3/$2 will be synchronised with $3/$1" 
    101       echo '' 
    102  
    103       lREF=$3/$1    # reference  
    104       lCFG=$3/$2    # target 
    105  
     103      echo "configuration $lCFG/MY_SRC will be synchronised with $lREF/MY_SRC" 
     104      echo '' 
    106105      # synchronise MY_SRC if $lCFG directory exist 
    107106      if [ -d $lREF/MY_SRC ] && [ -d $lCFG ] ; then 
     
    126125 
    127126         # synchronisation $lREF/MY_SRC directory (and delete file in target location if needed) 
    128          rsync -av --delete $lREF/MY_SRC/ $lCFG/MY_SRC 
     127         rsync -a --delete $lREF/MY_SRC/ $lCFG/MY_SRC 
    129128 
    130129         # rsync keep preserve the modification time stamp. 
     
    133132      fi 
    134133 
     134      echo '' 
     135      echo "configuration $lCFG/EXP00 will be synchronised with $lREF/EXPREF" 
     136      echo "(links are skipped)" 
     137      echo '' 
    135138      # synchronize EXPREF 
    136139      if [ -d $lREF/EXPREF ] && [ -d $lCFG/EXP00 ] ; then 
    137          rsync -aq --no-links $lREF/EXPREF/ $lCFG/EXP00/. 
     140         rsync -a --no-links $lREF/EXPREF/ $lCFG/EXP00/. 
    138141      fi 
    139142      echo '-------------------------------------------------------------------------------' 
Note: See TracChangeset for help on using the changeset viewer.