137. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/4/2017 2:45:04 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

137.1 Files compared

# Location File Last Modified
1 CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source\etc\my_init.d db_init.sh Thu Jun 15 19:04:28 2017 UTC
2 CUI-Release-v2.2.0-source.zip\CUI-Release-v2.2.0-source\etc\my_init.d db_init.sh Fri Aug 4 17:20:19 2017 UTC

137.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 122
Changed 2 8
Inserted 0 0
Removed 0 0

137.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

137.4 Active regular expressions

No regular expressions were active.

137.5 Comparison detail

  1   #!/usr/bin /env bash
  2  
  3   cd /home/a pp/webapp
  4  
  5   date > /tm p/db_init. log
  6  
  7   echo " " > > /tmp/db_ init.log
  8   echo "Setu p database  config fo r rails ap p..." >> / tmp/db_ini t.log
  9   echo " " > > /tmp/db_ init.log
  10  
  11   DBHOST= XXX
  12   DBPORT= port
  13   DBNAME="dr turbotax"
  14   DBUSER=" REDACTED "
  15   DBPSWD=" REDACTED "
  16  
  17   if [[ -n $ ENV_DBHOST  ]]; then
  18       DBHOST =$ENV_DBHO ST
  19   fi
  20  
  21   if [[ -n $ 1 ]]; then
  22       DBHOST =$1
  23   fi
  24  
  25   if [[ -n $ 2 ]]; then
  26       DBPORT =$2
  27   fi
  28  
  29   if [[ -n $ 3 ]]; then
  30       DBNAME =$3
  31   fi
  32  
  33   if [[ -n $ 4 ]]; then
  34       DBUSER =$4
  35   fi
  36  
  37   if [[ -n $ 5 ]]; then
  38       DBPSWD =$5
  39   fi
  40  
  41   cd /home/a pp/webapp/ config
  42   su app -c  "./setupdb config.sh  $DBHOST $D BPORT $DBN AME $DBUSE R $DBPSWD"  >> /tmp/d b_init.log
  43   cd /home/a pp/webapp
  44  
  45   echo " " > > /tmp/db_ init.log
  46   echo "Rese t Database ..." >> /t mp/db_init .log
  47   echo " " > > /tmp/db_ init.log
  48   su app -c  "bundle ex ec rake db :reset" >>  /tmp/db_i nit.log
  49  
  50   echo " " > > /tmp/db_ init.log
  51   echo "Migr ate Databa se..." >>  /tmp/db_in it.log
  52   echo " " > > /tmp/db_ init.log
  53   su app -c  "bundle ex ec rake db :migrate"  >> /tmp/db _init.log
  54  
  55   echo " " > > /tmp/db_ init.log
  56   echo "Sync  Specs..."  >> /tmp/d b_init.log
  57   echo " " > > /tmp/db_ init.log
  58   su app -c  "bundle ex ec rake sp ecs:sync"  >> /tmp/db _init.log
  59  
  60   echo " " > > /tmp/db_ init.log
  61   echo "Seed  Database. .." >> /tm p/db_init. log
  62   echo " " > > /tmp/db_ init.log
  63   su app -c  "bundle ex ec rake db :seed" >>  /tmp/db_in it.log
  64  
  65   date >> /t mp/db_init .log