Skip to content

Commit

Permalink
Merge pull request #191 from bolthole/zrep2
Browse files Browse the repository at this point in the history
Zrep2 offical release. Welcome to bash!
  • Loading branch information
ppbrown authored Apr 9, 2022
2 parents 47a7f44 + c9cd8d5 commit 032a8b4
Show file tree
Hide file tree
Showing 12 changed files with 348 additions and 291 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -160,3 +160,20 @@ version 1.7.7
version 1.8.0
added zrep lastsent
bugfixes for resume


version 2.0
# These are almost all just changes between v1.8 and v1.9
# but lets be thorough moving forward
added check for /etc/default/zrep
added ZREP_CREATE_FLAGS and ZREP_INIT_REMOTE_PROPERTIES
fixed definition of ZREP_SEND_FLAGS
added ZREP_DATEFORMAT
added ZREP_R fixes
added zrep status -m
more resume tweaks
fixes for zrep refresh and allowed zrep -R refresh
safeguard check for zrep takeover
fixed an expire bug
CONVERTED TO USE BASH!!!

14 changes: 14 additions & 0 deletions README.bashconversion
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Notes on things that had to be done to convert zrep
from ksh to bash

- Replace print with echo

- for some function outputs, forced use of "echo -n" instead of just echo

- for printf %(xx)T "#seconds", convert to
printf %(xx)T "seconds"

- also printf T:
printf '%(%s)T' now
becomes
printf '%(%s)T'
6 changes: 6 additions & 0 deletions tests/README.tests
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
The main test loop is "run_tests.sh"

however, before the first run on a system, you will need to run,
in this order:
./setup_pools.sh
./setup_zrep.sh
4 changes: 4 additions & 0 deletions tests/zodiff
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

# tool to make it easier to compare master branch to zrep2 branch file
sed 's/\([\t ]\)print /\1echo /g' ../zrep/$1 >/tmp/$1
diff /tmp/$1 $1 |less
Loading

0 comments on commit 032a8b4

Please sign in to comment.