Rebuilt targets
This commit is contained in:
parent
ce38085cac
commit
b94dd28a6c
|
@ -7,6 +7,11 @@ KNOWN ISSUES
|
||||||
RECENT CHANGES
|
RECENT CHANGES
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
XX Xxx 2016: osync v1.2-RC1 released
|
||||||
|
- Improved unit tests
|
||||||
|
|
||||||
|
30 Aug 2016: osync v1.2-beta released
|
||||||
|
- Rendered more recent code compatible with bash 3.2+
|
||||||
- Added a PKGBUILD file for ArchLinux thanks to Shadowigor (https://github.com/shaodwigor). Builds available at https://aur.archlinux.org/packages/osync/
|
- Added a PKGBUILD file for ArchLinux thanks to Shadowigor (https://github.com/shaodwigor). Builds available at https://aur.archlinux.org/packages/osync/
|
||||||
- Some more code compliance & more paranoia checks
|
- Some more code compliance & more paranoia checks
|
||||||
- Added more preflight checks
|
- Added more preflight checks
|
||||||
|
@ -15,14 +20,12 @@ RECENT CHANGES
|
||||||
- Fixed bogus double log sent in alert mails
|
- Fixed bogus double log sent in alert mails
|
||||||
- Made unix signals posix compliant
|
- Made unix signals posix compliant
|
||||||
- Config file upgrade script now updates header
|
- Config file upgrade script now updates header
|
||||||
! test if waitfortaskcompletion kill self works okay with osync
|
|
||||||
- Improved batch runner
|
- Improved batch runner
|
||||||
- Made keep logging value configurable and not mandatory
|
- Made keep logging value configurable and not mandatory
|
||||||
- Fixed handling of processes in uninterruptible sleep state
|
- Fixed handling of processes in uninterruptible sleep state
|
||||||
! update doc on sudoers paths
|
! update doc on sudoers paths
|
||||||
- Parallelized sync functions
|
- Parallelized sync functions
|
||||||
- Rewrite sync resume process
|
- Rewrite sync resume process
|
||||||
! Remove conflict prevalance
|
|
||||||
- !doc about bandwidth
|
- !doc about bandwidth
|
||||||
- Added options to ignore permissions, ownership and groups
|
- Added options to ignore permissions, ownership and groups
|
||||||
- Refactored WaitFor... functions into one
|
- Refactored WaitFor... functions into one
|
||||||
|
|
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.2-beta
|
PROGRAM_VERSION=1.2-beta
|
||||||
PROGRAM_BUILD=2016083003
|
PROGRAM_BUILD=2016083004
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
# Execution order #__WITH_PARANOIA_DEBUG
|
# Execution order #__WITH_PARANOIA_DEBUG
|
||||||
|
@ -45,7 +45,7 @@ IS_STABLE=no
|
||||||
|
|
||||||
#### MINIMAL-FUNCTION-SET BEGIN ####
|
#### MINIMAL-FUNCTION-SET BEGIN ####
|
||||||
|
|
||||||
## FUNC_BUILD=2016083002
|
## FUNC_BUILD=2016083003
|
||||||
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
||||||
|
|
||||||
## To use in a program, define the following variables:
|
## To use in a program, define the following variables:
|
||||||
|
@ -79,7 +79,7 @@ ERROR_ALERT=false
|
||||||
WARN_ALERT=false
|
WARN_ALERT=false
|
||||||
|
|
||||||
# Log from current run
|
# Log from current run
|
||||||
CURRENT_LOG=
|
CURRENT_LOG=""
|
||||||
|
|
||||||
## allow function call checks #__WITH_PARANOIA_DEBUG
|
## allow function call checks #__WITH_PARANOIA_DEBUG
|
||||||
if [ "$_PARANOIA_DEBUG" == "yes" ];then #__WITH_PARANOIA_DEBUG
|
if [ "$_PARANOIA_DEBUG" == "yes" ];then #__WITH_PARANOIA_DEBUG
|
||||||
|
@ -3116,6 +3116,12 @@ function Init {
|
||||||
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
||||||
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
||||||
|
|
||||||
|
# Expand ~ if exists
|
||||||
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR/#\~/$HOME}"
|
||||||
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR/#\~/$HOME}"
|
||||||
|
SSH_RSA_PRIVATE_KEY="${SSH_RSA_PRIVATE_KEY/#\~/$HOME}"
|
||||||
|
|
||||||
|
|
||||||
## Replica format
|
## Replica format
|
||||||
## Why the f*** does bash not have simple objects ?
|
## Why the f*** does bash not have simple objects ?
|
||||||
# Local variables used for state filenames
|
# Local variables used for state filenames
|
||||||
|
|
|
@ -4,7 +4,7 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.2-beta
|
PROGRAM_VERSION=1.2-beta
|
||||||
PROGRAM_BUILD=2016083003
|
PROGRAM_BUILD=2016083004
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
# Execution order #__WITH_PARANOIA_DEBUG
|
# Execution order #__WITH_PARANOIA_DEBUG
|
||||||
|
@ -1671,6 +1671,12 @@ function Init {
|
||||||
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
||||||
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
||||||
|
|
||||||
|
# Expand ~ if exists
|
||||||
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR/#\~/$HOME}"
|
||||||
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR/#\~/$HOME}"
|
||||||
|
SSH_RSA_PRIVATE_KEY="${SSH_RSA_PRIVATE_KEY/#\~/$HOME}"
|
||||||
|
|
||||||
|
|
||||||
## Replica format
|
## Replica format
|
||||||
## Why the f*** does bash not have simple objects ?
|
## Why the f*** does bash not have simple objects ?
|
||||||
# Local variables used for state filenames
|
# Local variables used for state filenames
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#### MINIMAL-FUNCTION-SET BEGIN ####
|
#### MINIMAL-FUNCTION-SET BEGIN ####
|
||||||
|
|
||||||
## FUNC_BUILD=2016083002
|
## FUNC_BUILD=2016083003
|
||||||
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
||||||
|
|
||||||
## To use in a program, define the following variables:
|
## To use in a program, define the following variables:
|
||||||
|
@ -34,7 +34,7 @@ ERROR_ALERT=false
|
||||||
WARN_ALERT=false
|
WARN_ALERT=false
|
||||||
|
|
||||||
# Log from current run
|
# Log from current run
|
||||||
CURRENT_LOG=
|
CURRENT_LOG=""
|
||||||
|
|
||||||
## allow function call checks #__WITH_PARANOIA_DEBUG
|
## allow function call checks #__WITH_PARANOIA_DEBUG
|
||||||
if [ "$_PARANOIA_DEBUG" == "yes" ];then #__WITH_PARANOIA_DEBUG
|
if [ "$_PARANOIA_DEBUG" == "yes" ];then #__WITH_PARANOIA_DEBUG
|
||||||
|
|
12
osync.sh
12
osync.sh
|
@ -4,14 +4,14 @@ PROGRAM="osync" # Rsync based two way sync engine with fault tolerance
|
||||||
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
AUTHOR="(C) 2013-2016 by Orsiris de Jong"
|
||||||
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
CONTACT="http://www.netpower.fr/osync - ozy@netpower.fr"
|
||||||
PROGRAM_VERSION=1.2-beta
|
PROGRAM_VERSION=1.2-beta
|
||||||
PROGRAM_BUILD=2016083003
|
PROGRAM_BUILD=2016083004
|
||||||
IS_STABLE=no
|
IS_STABLE=no
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#### MINIMAL-FUNCTION-SET BEGIN ####
|
#### MINIMAL-FUNCTION-SET BEGIN ####
|
||||||
|
|
||||||
## FUNC_BUILD=2016083002
|
## FUNC_BUILD=2016083003
|
||||||
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
## BEGIN Generic bash functions written in 2013-2016 by Orsiris de Jong - http://www.netpower.fr - ozy@netpower.fr
|
||||||
|
|
||||||
## To use in a program, define the following variables:
|
## To use in a program, define the following variables:
|
||||||
|
@ -45,7 +45,7 @@ ERROR_ALERT=false
|
||||||
WARN_ALERT=false
|
WARN_ALERT=false
|
||||||
|
|
||||||
# Log from current run
|
# Log from current run
|
||||||
CURRENT_LOG=
|
CURRENT_LOG=""
|
||||||
|
|
||||||
|
|
||||||
## allow debugging from command line with _DEBUG=yes
|
## allow debugging from command line with _DEBUG=yes
|
||||||
|
@ -2952,6 +2952,12 @@ function Init {
|
||||||
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR%/}/"
|
||||||
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR%/}/"
|
||||||
|
|
||||||
|
# Expand ~ if exists
|
||||||
|
INITIATOR_SYNC_DIR="${INITIATOR_SYNC_DIR/#\~/$HOME}"
|
||||||
|
TARGET_SYNC_DIR="${TARGET_SYNC_DIR/#\~/$HOME}"
|
||||||
|
SSH_RSA_PRIVATE_KEY="${SSH_RSA_PRIVATE_KEY/#\~/$HOME}"
|
||||||
|
|
||||||
|
|
||||||
## Replica format
|
## Replica format
|
||||||
## Why the f*** does bash not have simple objects ?
|
## Why the f*** does bash not have simple objects ?
|
||||||
# Local variables used for state filenames
|
# Local variables used for state filenames
|
||||||
|
|
Loading…
Reference in New Issue