Make remarklint happy

pull/184/head
deajan 5 years ago
parent cbff578ec5
commit 42c7493ef0

@ -1,468 +1,481 @@
RECENT CHANGES ## RECENT CHANGES
--------------
dd Mmm YYYY: To be done dd Mmm YYYY: To be done
- Make --log-conflicts non experimental (randomly fails)
- ! new option FORCE_CONFLICT_PREVALANCE which will always use Initiator or Target, regardless of best time - Make --log-conflicts non experimental (randomly fails)
- ! target-helper: destination mails etc on target, also, no cmd after on configs - ! new option FORCE_CONFLICT_PREVALANCE which will always use Initiator or Target, regardless of best time
- ! target-helper: destination mails etc on target, also, no cmd after on configs
dd Mmm YYYY: osync v1.3 release (for full changelog since v1.2 branch see all v1.3-beta/RC entries) dd Mmm YYYY: osync v1.3 release (for full changelog since v1.2 branch see all v1.3-beta/RC entries)
dd Mmm YYYY: osync v1.3-RC1 release dd Mmm YYYY: osync v1.3-RC1 release
- New option to use SSH_CONTROLMASTER in order to speed up remote sync tasks and preserve a single ssh channel
- New option SSH_OPTIONAL_ARGS - New option to use SSH_CONTROLMASTER in order to speed up remote sync tasks and preserve a single ssh channel
- Fixed a problem with macos mv not preserving ownership of files from /tmp - New option SSH_OPTIONAL_ARGS
- Fixed various cosmetic issues with code and logs - Fixed a problem with macos mv not preserving ownership of files from /tmp
- Improved upgrade script - Fixed various cosmetic issues with code and logs
- Fixed a possible bash buffer overflow when synchronizing large filesets (tested with 2M files) - Improved upgrade script
- This fix actually truncats every string sent to Logger not being more than 16KB - Fixed a possible bash buffer overflow when synchronizing large filesets (tested with 2M files)
- Fixed osync leaving temporary log files behind in RUN_DIR (/tmp by default) - This fix actually truncats every string sent to Logger not being more than 16KB
- Updated target helper service configuration file - Fixed osync leaving temporary log files behind in RUN_DIR (/tmp by default)
- Improved codacy results - Updated target helper service configuration file
- Added more debugging - Improved codacy results
- Added more debugging
22 May 2019: osync v1.3-beta3 release 22 May 2019: osync v1.3-beta3 release
- Config file update script fixes
- Removed old Win10 1607 bash fixes to make Win10 1809 work (breaks Win10 1607 beta bash version...Yeah, nothing I can do about that) - Config file update script fixes
- Removed old Win10 1607 bash fixes to make Win10 1809 work (breaks Win10 1607 beta bash version...Yeah, nothing I can do about that)
20 May 2019: osync v1.3-beta2 release 20 May 2019: osync v1.3-beta2 release
- More --summary statistics - More --summary statistics
- Config file syntax now uses booleans instead of yes / no (but still accepts old syntax) - Config file syntax now uses booleans instead of yes / no (but still accepts old syntax)
- Added boolean update in upgrade script - Added boolean update in upgrade script
- Config file revision check - Config file revision check
- Added config file revision in upgrade script - Added config file revision in upgrade script
- New option --sync-type=initator2target|target2initiator that allows using osync as rsync wrapper for unidirectional sync - New option --sync-type=initator2target|target2initiator that allows using osync as rsync wrapper for unidirectional sync
- New osync target helper service - New osync target helper service
- Fixed multiple race conditions in parallel executions (which also fixes random conflict logs failures) - Fixed multiple race conditions in parallel executions (which also fixes random conflict logs failures)
- Fixed directory softdeletion bug - Fixed directory softdeletion bug
- Fixed multiple failed deletions will be retried as many times as failures happened - Fixed multiple failed deletions will be retried as many times as failures happened
- Fixed remote running on FreeBSD for some commands, thanks to Vladimirek - Fixed remote running on FreeBSD for some commands, thanks to Vladimirek
- Fixed (again) deletion propagation when file contains spaces (thanks to http://github.com/weinhold) - Fixed (again) deletion propagation when file contains spaces (thanks to http://github.com/weinhold)
- Deprecated --log-conflicts for 1.3 branch (is now experimental) - Deprecated --log-conflicts for 1.3 branch (is now experimental)
- Updated ofunctions - Updated ofunctions
- Has better random number generator - Has better random number generator
- IsInteger, IsNumeric and IsNumericExpand are now busybox compatible - IsInteger, IsNumeric and IsNumericExpand are now busybox compatible
- Multiple installer fixes - Multiple installer fixes
- Multiple batch fixes - Multiple batch fixes
08 Aug 2018: osync v1.3-beta1 release 08 Aug 2018: osync v1.3-beta1 release
- Added an option to log conflictual files - Added an option to log conflictual files
- Presence of conflictual files can trigger a special mail - Presence of conflictual files can trigger a special mail
- New option --initialize (see #141) - New option --initialize (see #141)
- Added OpenRC support (thanks to kozross, see #140) - Added OpenRC support (thanks to kozross, see #140)
- Added --no-resume option in order to disable resuming execution on failure - Added --no-resume option in order to disable resuming execution on failure
- Added basic performance profiler to debug version - Added basic performance profiler to debug version
- Fixed summary for file deletions - Fixed summary for file deletions
- Fixed an issue with filenames ending with spaces, their deletion not being propagated, and ACL / conflicts not being managed (still they got synced) - Fixed an issue with filenames ending with spaces, their deletion not being propagated, and ACL / conflicts not being managed (still they got synced)
- Fixed missing options passed to subprocess in daemon mode - Fixed missing options passed to subprocess in daemon mode
- Fixed bogus pgrep can lead to segfault 11 because of recursive KillChilds - Fixed bogus pgrep can lead to segfault 11 because of recursive KillChilds
- Fixed osync deletion not working on systems with ssh banner enabled - Fixed osync deletion not working on systems with ssh banner enabled
- Improved GetLocalOS and GetRemoteOS OS detection - Improved GetLocalOS and GetRemoteOS OS detection
- Fixed GetRemoteOS missing GetConfFileValue preventing to get OS details from /etc/os-release - Fixed GetRemoteOS missing GetConfFileValue preventing to get OS details from /etc/os-release
- Fixed low severity security issue where log and run files could be read by other users - Fixed low severity security issue where log and run files could be read by other users
- Merged Logger and QuickLogger for simplified usage - Merged Logger and QuickLogger for simplified usage
- Fixed inotifyway error in FreeBSD (see #119) - Fixed inotifyway error in FreeBSD (see #119)
- Minor enhancements in installer / ofunctions - Minor enhancements in installer / ofunctions
- Added --prefix option for installer - Added --prefix option for installer
- Installer path fixes - Installer path fixes
- Fixed logging bug with QuickLogger - Fixed logging bug with QuickLogger
- Refactored time control and parallel execution functions into one single function - Refactored time control and parallel execution functions into one single function
- Multiple portability improvements - Multiple portability improvements
- UrlEncode function is now Busybox compatible - UrlEncode function is now Busybox compatible
- IsInteger function is now Busybox compatible - IsInteger function is now Busybox compatible
- Prevented non unique runtime filenames on some systems where no milliseconds exist - Prevented non unique runtime filenames on some systems where no milliseconds exist
- Fixed bogus runtime filenames on Busybox - Fixed bogus runtime filenames on Busybox
- Upgraded shunit2 test framework to v2.1.8pre (git commit 07bb329) - Upgraded shunit2 test framework to v2.1.8pre (git commit 07bb329)
- Multiple smaller fixes and improvements - Multiple smaller fixes and improvements
25 Mar 2017: osync v1.2 release (for full changelog of v1.2 branch see all v1.2-beta/RC entries) 25 Mar 2017: osync v1.2 release (for full changelog of v1.2 branch see all v1.2-beta/RC entries)
- Check for initiator directory before launching monitor mode - Check for initiator directory before launching monitor mode
- Updated RPM spec file (Thanks to https://github.com/liger1978) - Updated RPM spec file (Thanks to https://github.com/liger1978)
- Fixed remote commands can be run on local runs and obviously fail - Fixed remote commands can be run on local runs and obviously fail
- Minor fixes in installer logic - Minor fixes in installer logic
10 Feb 2017: osync v1.2-RC3 release 10 Feb 2017: osync v1.2-RC3 release
- Uninstaller skips ssh_filter if needed by other program (osync/obackup) - Uninstaller skips ssh_filter if needed by other program (osync/obackup)
- Logger now automatically obfuscates _REMOTE_TOKEN - Logger now automatically obfuscates _REMOTE_TOKEN
- Logger doesn't show failed commands in stdout, only logs them - Logger doesn't show failed commands in stdout, only logs them
08 Feb 2017: osync v1.2-RC2 release 08 Feb 2017: osync v1.2-RC2 release
- Tests have run on CentOS 5,7 and 7, Debian 8, Linux Mint 18, Fedora 25, FreeBSD 10.3/pfSense, FreeBSD 11, MacOSX Sierra, Win10 1607 (14393.479) bash, Cygwin x64 and MSYS2 current - Tests have run on CentOS 5,7 and 7, Debian 8, Linux Mint 18, Fedora 25, FreeBSD 10.3/pfSense, FreeBSD 11, MacOSX Sierra, Win10 1607 (14393.479) bash, Cygwin x64 and MSYS2 current
- Hugely improved ssh_filter - Hugely improved ssh_filter
- Improved privilege elevation compatibility on SUDO_EXEC=yes runs - Improved privilege elevation compatibility on SUDO_EXEC=yes runs
- Refactored installer logic and added --remove option - Refactored installer logic and added --remove option
- Added optional mail body characterset encoding - Added optional mail body characterset encoding
- Fixed log output has escaped UTF-8 characters because of LC_ALL=C - Fixed log output has escaped UTF-8 characters because of LC_ALL=C
- Fixed installer statistics don't report OS - Fixed installer statistics don't report OS
- Minor tweaks and fixes in ofunctions - Minor tweaks and fixes in ofunctions
13 Dec 2016: osync v1.2-RC1 release 13 Dec 2016: osync v1.2-RC1 release
- Unit tests have run on CentOS 5,6 and 7, Debian 8, Linux Mint 18, FreeBSD 10.3/pfSense, FreeBSD 11, MacOSX Sierra, Win10 1607 (14393.479) bash, Cygwin x64 and MSYS2 current - Unit tests have run on CentOS 5,6 and 7, Debian 8, Linux Mint 18, FreeBSD 10.3/pfSense, FreeBSD 11, MacOSX Sierra, Win10 1607 (14393.479) bash, Cygwin x64 and MSYS2 current
- Added optional rsync arguments configuration value - Added optional rsync arguments configuration value
- Fixed another random error involving warns and errors triggered by earlier runs with same PID flag files - Fixed another random error involving warns and errors triggered by earlier runs with same PID flag files
- Adde more preflight checks - Adde more preflight checks
- Fixed a random appearing issue with Sync being stopped on internet failure introduced in v1.2 rewrite - Fixed a random appearing issue with Sync being stopped on internet failure introduced in v1.2 rewrite
- Resuming operation will not send warnings anymore unless resumed too many timess - Resuming operation will not send warnings anymore unless resumed too many timess
- Spinner is less prone to move logging on screen - Spinner is less prone to move logging on screen
- Fixed daemon mode didn't enforce exclusions - Fixed daemon mode didn't enforce exclusions
- Made a quick and dirty preprocessor - Made a quick and dirty preprocessor
- ofunctions can now directly be loaded into osync via an include statement - ofunctions can now directly be loaded into osync via an include statement
- n_osync.sh can be assembled on the fly using bootstrap.sh - n_osync.sh can be assembled on the fly using bootstrap.sh
- Forced remote ssh to use bash (fixes FreeBSD 11 compatibility when default shell is csh) - Forced remote ssh to use bash (fixes FreeBSD 11 compatibility when default shell is csh)
- Faster execution - Faster execution
- Reduced number of needed sequential SSH connections for remote sync (4 connections less) - Reduced number of needed sequential SSH connections for remote sync (4 connections less)
- Refactored CheckReplicaPath and CheckDiskSpace into one functon CheckReplicas - Refactored CheckReplicaPath and CheckDiskSpace into one functon CheckReplicas
- Refactored CheckDiskSpace, CheckLocks and WriteLocks into one function HandleLocks - Refactored CheckDiskSpace, CheckLocks and WriteLocks into one function HandleLocks
- Removed noclobber locking in favor of a more direct method - Removed noclobber locking in favor of a more direct method
- Improved remote logging - Improved remote logging
- Fixed directory ctime softdeletion - Fixed directory ctime softdeletion
- Using mutt as mail program now supports multiple recipients - Using mutt as mail program now supports multiple recipients
- osync now properly handles symlink deletions (previous bugfix didn't work properly) - osync now properly handles symlink deletions (previous bugfix didn't work properly)
- Simplified osync-batch runner (internally and for user) - Simplified osync-batch runner (internally and for user)
- Better filename handling - Better filename handling
- Easier to read log output - Easier to read log output
- Always passes --silent to osync - Always passes --silent to osync
- All options that do not belong to osync-batch are automatically passed to osync - All options that do not belong to osync-batch are automatically passed to osync
- Improved installer OS detection - Improved installer OS detection
- Added daemon capability on MacOS X - Added daemon capability on MacOS X
- Fixed upgrade script cannot update header on BSD / MacOS X - Fixed upgrade script cannot update header on BSD / MacOS X
- Fixed SendEmail function on MacOS X - Fixed SendEmail function on MacOS X
- Fixed MAX_HARD_EXEC_TIME not enforced in sync function introduced with v1.2 rewrite - Fixed MAX_HARD_EXEC_TIME not enforced in sync function introduced with v1.2 rewrite
- Fixed MAX_SOFT_EXEC_TIME not enforced bug introduced with v1.2 rewrite - Fixed MAX_SOFT_EXEC_TIME not enforced bug introduced with v1.2 rewrite
- PRESERVE_ACL and PRESERVE_XATTR are ignored when local or remote OS is MacOS or msys or Cygwin - PRESERVE_ACL and PRESERVE_XATTR are ignored when local or remote OS is MacOS or msys or Cygwin
- Fixed PRESERVE_EXECUTABILITY was ommited volontary on MacOS X because of rsync syntax - Fixed PRESERVE_EXECUTABILITY was ommited volontary on MacOS X because of rsync syntax
- Fixed failed deletion rescheduling under BSD bug introduced with v1.2 rewrite - Fixed failed deletion rescheduling under BSD bug introduced with v1.2 rewrite
- merge.sh is now BSD and Mac compatible - merge.sh is now BSD and Mac compatible
- More work on unit tests: - More work on unit tests:
- Unit tests are now BSD / MacOSX / MSYS / Cygwin and Windows 10 bash compatible - Unit tests are now BSD / MacOSX / MSYS / Cygwin and Windows 10 bash compatible
- Added more ACL tests - Added more ACL tests
- Added directory soft deletion tests - Added directory soft deletion tests
- Added symlink and broken symlink copy / deletion tests - Added symlink and broken symlink copy / deletion tests
- Made unit tests more robust when aborted - Made unit tests more robust when aborted
- Simplified unit tests needed config files (merged travis and local config files) - Simplified unit tests needed config files (merged travis and local config files)
- Added timed execution tests - Added timed execution tests
- More code compliance - More code compliance
- Lots of minor fixes - Lots of minor fixes
19 Nov 2016: osync v1.2-beta3 re-release 19 Nov 2016: osync v1.2-beta3 re-release
- Fixed blocker bug where local tests tried GetRemoteOS Anyway - Fixed blocker bug where local tests tried GetRemoteOS Anyway
- Fixed CentOS 5 compatibility bug for checking disk space introduced in beta3 - Fixed CentOS 5 compatibility bug for checking disk space introduced in beta3
- More Android / Busybox compatibility - More Android / Busybox compatibility
- Made unit tests clean authorized_keys file after usage - Made unit tests clean authorized_keys file after usage
- Added local unit test where remote OS connection would fail - Added local unit test where remote OS connection would fail
18 Nov 2016: osync v1.2-beta3 released 18 Nov 2016: osync v1.2-beta3 released
- Improved locking / unlocking replicas - Improved locking / unlocking replicas
- Fixed killing local pid that has lock bug introduced in v1.2 rewrite - Fixed killing local pid that has lock bug introduced in v1.2 rewrite
- Allow remote unlocking when INSTANCE_ID of lock matches local INSTANCE_ID - Allow remote unlocking when INSTANCE_ID of lock matches local INSTANCE_ID
- Fixed failed deletions re-propagation bug introduced in v1.2 rewrite - Fixed failed deletions re-propagation bug introduced in v1.2 rewrite
- Faster remote OS detection - Faster remote OS detection
- New output switches, --no-prefix, --summary, --errors-only - New output switches, --no-prefix, --summary, --errors-only
- Added busybox (and Android Termux) support - Added busybox (and Android Termux) support
- More portable file size functions - More portable file size functions
- More portable compression program commands - More portable compression program commands
- More paranoia checks - More paranoia checks
- Added busybox sendmail support - Added busybox sendmail support
- Added tls and ssl support for sendmail - Added tls and ssl support for sendmail
- Added --skip-deletion support in config and quicksync modes - Added --skip-deletion support in config and quicksync modes
- Added possibility to skip deletion on initiator or target replica - Added possibility to skip deletion on initiator or target replica
- Prevent lock file racing condition (thanks to https://github.com/allter) - Prevent lock file racing condition (thanks to https://github.com/allter)
- Added ssh password file support - Added ssh password file support
- Hugely improved unit tests - Hugely improved unit tests
- Added conflict resolution tests - Added conflict resolution tests
- Added softdeletion tests - Added softdeletion tests
- Added softdeletion cleanup tests - Added softdeletion cleanup tests
- Added lock tests - Added lock tests
- Added skip-deletion tests - Added skip-deletion tests
- Added configuration file tests - Added configuration file tests
- Added upgrade script test - Added upgrade script test
- Added basic daemon mode tests - Added basic daemon mode tests
- Simplified logger - Simplified logger
- All fixes from v1.1.5 - All fixes from v1.1.5
17 Oct 2016: osync v1.2-beta2 released 17 Oct 2016: osync v1.2-beta2 released
- osync now propagates symlink deletions and moves symlinks without referrents to deletion dir
- Upgrade script now has the ability to add any missing value - osync now propagates symlink deletions and moves symlinks without referrents to deletion dir
- Improved unit tests - Upgrade script now has the ability to add any missing value
- Added upgrade script test - Improved unit tests
- Added deletion propagation tests - Added upgrade script test
- Added deletion propagation tests
30 Aug 2016: osync v1.2-beta released 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/ - Rendered more recent code compatible with bash 3.2+
- Some more code compliance & more paranoia checks - Added a PKGBUILD file for ArchLinux thanks to Shadowigor (https://github.com/shaodwigor). Builds available at https://aur.archlinux.org/packages/osync/
- Added more preflight checks - Some more code compliance & more paranoia checks
- Logs sent by mail are easier to read - Added more preflight checks
- Better subject (currently running or finished run) - Logs sent by mail are easier to read
- Fixed bogus double log sent in alert mails - Better subject (currently running or finished run)
- Made unix signals posix compliant - Fixed bogus double log sent in alert mails
- Config file upgrade script now updates header - Made unix signals posix compliant
- Improved batch runner - Config file upgrade script now updates header
- Made keep logging value configurable and not mandatory - Improved batch runner
- Fixed handling of processes in uninterruptible sleep state - Made keep logging value configurable and not mandatory
- Parallelized sync functions - Fixed handling of processes in uninterruptible sleep state
- Rewrite sync resume process - Parallelized sync functions
- Added options to ignore permissions, ownership and groups - Rewrite sync resume process
- Refactored WaitFor... functions into one - Added options to ignore permissions, ownership and groups
- Improved execution speed - Refactored WaitFor... functions into one
- Rewrite sync resume process - Improved execution speed
- Added parallel execution for most secondary fuctions - Rewrite sync resume process
- Lowered sleep time in wait functions - Added parallel execution for most secondary fuctions
- Removed trivial sleep and forking in remote deletion code, send the whole function to background instead - Lowered sleep time in wait functions
- Unlock functions no longer launched if locking failed - Removed trivial sleep and forking in remote deletion code, send the whole function to background instead
- Improved WaitFor... functions to accept multiple pids - Unlock functions no longer launched if locking failed
- Added KillAllChilds function to accept multiple pids - Improved WaitFor... functions to accept multiple pids
- Improved logging - Added KillAllChilds function to accept multiple pids
- Improved logging
17 Nov 2016: osync v1.1.5 released 17 Nov 2016: osync v1.1.5 released
- Backported unit tests from v1.2-beta allowing to fix the following
- Allow quicksync mode to specify rsync include / exclude patterns as environment variables - Backported unit tests from v1.2-beta allowing to fix the following
- Added default path separator char in quicksync mode for multiple includes / exclusions - Allow quicksync mode to specify rsync include / exclude patterns as environment variables
- Local runs should not check for remote connectivity - Added default path separator char in quicksync mode for multiple includes / exclusions
- Fixed backups go into root of replica instead of .osync_wordir/backups - Local runs should not check for remote connectivity
- Fixed error alerts cannot be triggered from subprocesses - Fixed backups go into root of replica instead of .osync_wordir/backups
- Fixed remote locked targets are unlocked in any case - Fixed error alerts cannot be triggered from subprocesses
- Fixed remote locked targets are unlocked in any case
10 Nov 2016: osync v1.1.4 released 10 Nov 2016: osync v1.1.4 released
- Fixed a corner case with sending alerts with logfile attachments when osync is used by multiple users
- Fixed a corner case with sending alerts with logfile attachments when osync is used by multiple users
02 Sep 2016: osync v1.1.3 released 02 Sep 2016: osync v1.1.3 released
- Fixed installer for CYGWIN / MSYS environment
- Fixed installer for CYGWIN / MSYS environment
28 Aug 2016: osync v1.1.2 released 28 Aug 2016: osync v1.1.2 released
- Renamed sync.conf to sync.conf.example (thanks to https://github.com/hortimech)
- Fixed RunAfterHook may be executed twice - Renamed sync.conf to sync.conf.example (thanks to https://github.com/hortimech)
- Fixed soft deletion when SUDO_EXEC is enabled - Fixed RunAfterHook may be executed twice
- Fixed soft deletion when SUDO_EXEC is enabled
06 Aug 2016: osync v1.1.1 released 06 Aug 2016: osync v1.1.1 released
- Fixed bogus rsync pattern file adding
- Fixed soft deletion always enabled on target - Fixed bogus rsync pattern file adding
- Fixed problem with attributes file list function - Fixed soft deletion always enabled on target
- Fixed deletion propagation code - Fixed problem with attributes file list function
- Fixed missing deletion / backup diretories message in verbose mode - Fixed deletion propagation code
- Fixed missing deletion / backup diretories message in verbose mode
27 Jul 2016: osync v1.1 released 27 Jul 2016: osync v1.1 released
- More msys and cygwin compatibility
- Logging begins now before any remote checks - More msys and cygwin compatibility
- Improved process killing and process time control - Logging begins now before any remote checks
- Redirected ERROR and WARN messages to stderr to systemd catches them into it's journal - Improved process killing and process time control
- Added systemd unit files - Redirected ERROR and WARN messages to stderr to systemd catches them into it's journal
- Added an option to ignore ssh known hosts (use with caution, can lead to security risks), also updated upgrade script accordingly - Added systemd unit files
- Added optional installation statistics - Added an option to ignore ssh known hosts (use with caution, can lead to security risks), also updated upgrade script accordingly
- Fixed a nasty bug with log writing and tree_list function - Added optional installation statistics
- Improved mail fallback - Fixed a nasty bug with log writing and tree_list function
- Improved more logging - Improved mail fallback
- Fixed conflict prevalance is target in quicksync mode - Improved more logging
- Fixed file attributes aren't updated in a right manner when file mtime is not altered (Big thanks to vstefanoxx) - Fixed conflict prevalance is target in quicksync mode
- Better upgrade script (adding missing new config values) - Fixed file attributes aren't updated in a right manner when file mtime is not altered (Big thanks to vstefanoxx)
- More fixes for GNU / non-GNU versions of mail command - Better upgrade script (adding missing new config values)
- Added bogus config file checks & environment checks - More fixes for GNU / non-GNU versions of mail command
- Added delta copies disable option - Added bogus config file checks & environment checks
- Revamped rsync patterns to allow include and exclude patterns - Added delta copies disable option
- Fully merged codebase with obackup - Revamped rsync patterns to allow include and exclude patterns
- Passed shellCheck.net - Fully merged codebase with obackup
- Simplified EscapeSpaces to simple bash substitution - Passed shellCheck.net
- Corrected a lot of minor warnings in order to make code more bullet proof - Simplified EscapeSpaces to simple bash substitution
- Added v1.0x to v1.1 upgrade script - Corrected a lot of minor warnings in order to make code more bullet proof
- Added (much) more verbose debugging (and possibility to remove debug code to gain speed) - Added v1.0x to v1.1 upgrade script
- Force tree function to overwrite earlier tree files - Added (much) more verbose debugging (and possibility to remove debug code to gain speed)
- Add Logger DEBUG to all eval statements - Force tree function to overwrite earlier tree files
- Unlocking happens after TrapQuit has successfully killed any child processes - Add Logger DEBUG to all eval statements
- Replace child_pid by $? directly, add a better sub process killer in TrapQuit - Unlocking happens after TrapQuit has successfully killed any child processes
- Refactor [local master, local slave, remote slave] code to [local, remote][initiator, target]code - Replace child_pid by $? directly, add a better sub process killer in TrapQuit
- Renamed a lot of code in order to prepare v2 code (master becomes initiator, slave becomes target, sync_id becomes instance_id) - Refactor [local master, local slave, remote slave] code to [local, remote][initiator, target]code
- Added some automatic checks in code, for _DEBUG mode (and _PARANOIA_DEBUG now) - Renamed a lot of code in order to prepare v2 code (master becomes initiator, slave becomes target, sync_id becomes instance_id)
- Improved Logging - Added some automatic checks in code, for _DEBUG mode (and _PARANOIA_DEBUG now)
- Updated osync to be fully compliant with coding style - Improved Logging
- Uploaded coding style manifest - Updated osync to be fully compliant with coding style
- Added LSB info to init script for Debian based distros - Uploaded coding style manifest
- Added LSB info to init script for Debian based distros
v0-v1.0x - Jun 2013 - Sep 2015
------------------------------ ## v0-v1.0x - Jun 2013 - Sep 2015
22 Jul. 2015: Osync v1.00a released 22 Jul. 2015: Osync v1.00a released
- Small improvements in osync-batch.sh time management
- Improved various logging on error - Small improvements in osync-batch.sh time management
- Work in progress: Unit tests (intial tests written by onovy, Thanks again!) - Improved various logging on error
- Small Improvements on install and ssh_filter scripts - Work in progress: Unit tests (intial tests written by onovy, Thanks again!)
- Improved ssh uri recognition (thanks to onovy) - Small Improvements on install and ssh_filter scripts
- Fixed #22 (missing full path in soft deletion) - Improved ssh uri recognition (thanks to onovy)
- Fixed #21 by adding portable shell readlink / realpath from https://github.com/mkropat/sh-realpath - Fixed #22 (missing full path in soft deletion)
- Added detection of osync.sh script in osync-batch.sh to overcome mising path in crontab - Fixed #21 by adding portable shell readlink / realpath from https://github.com/mkropat/sh-realpath
- Fixed osync-batch.sh script when osync is in executable path like /usr/local/bin - Added detection of osync.sh script in osync-batch.sh to overcome mising path in crontab
- Fixed multiple keep logging messages since sleep time between commands has been lowered under a second - Fixed osync-batch.sh script when osync is in executable path like /usr/local/bin
- Added optional checksum parameter for the paranoid :) - Fixed multiple keep logging messages since sleep time between commands has been lowered under a second
- Fixed typo in soft deletion code preventing logging slave deleted backup files - Added optional checksum parameter for the paranoid :)
- Removed legacy lockfile code from init script - Fixed typo in soft deletion code preventing logging slave deleted backup files
- Removed hardcoded program name from init script - Removed legacy lockfile code from init script
- Removed hardcoded program name from init script
01 Avr. 2015: Osync v1.00pre 01 Avr. 2015: Osync v1.00pre
- Improved and refactored the soft deletion routine by merging conflict backup and soft deletion
- Reworked soft deletion code to handle a case where a top level directory gets deleted even if the files contained in it are not old enough (this obviously shouldn't happen on most FS) - Improved and refactored the soft deletion routine by merging conflict backup and soft deletion
- Added more logging - Reworked soft deletion code to handle a case where a top level directory gets deleted even if the files contained in it are not old enough (this obviously shouldn't happen on most FS)
- Merged various fixes from onovy (http://github.com/onovy) Thanks! - Added more logging
- Lowered sleep time between commands - Merged various fixes from onovy (http://github.com/onovy) Thanks!
- Check if master and slave directories are the same - Lowered sleep time between commands
- Check script parameters in osync.sh and osync-batch.sh - Check if master and slave directories are the same
- Run sync after timeout in --on-changes mode when no changes are detected (helps propagate slave changes) - Check script parameters in osync.sh and osync-batch.sh
- Fix for locking in --on-changes mode (child should lock/unlock, master process shouldn't unlock) - Run sync after timeout in --on-changes mode when no changes are detected (helps propagate slave changes)
- Remote user is now optional in quicksync mode - Fix for locking in --on-changes mode (child should lock/unlock, master process shouldn't unlock)
- Replaced default script execution storage from /dev/shm to /tmp because some rootkit detection software doesn't like this - Remote user is now optional in quicksync mode
- Fixed bogus error in DEBUG for quicksync mode where no max execution time is set - Replaced default script execution storage from /dev/shm to /tmp because some rootkit detection software doesn't like this
- Prevent debug mode to send alert emails - Fixed bogus error in DEBUG for quicksync mode where no max execution time is set
- Fixed an infamous bug introduced with exclude pattern globbing preventing multiple exludes to be processed - Prevent debug mode to send alert emails
- Fixed an issue with empty RSYNC_EXCLUDE_FILES - Fixed an infamous bug introduced with exclude pattern globbing preventing multiple exludes to be processed
- Lowered default compression level for email alerts (for low end systems) - Fixed an issue with empty RSYNC_EXCLUDE_FILES
- Prevent exclude pattern globbing before the pattern reaches the rsync cmd - Lowered default compression level for email alerts (for low end systems)
- Fixed some missing child pids for time control to work - Prevent exclude pattern globbing before the pattern reaches the rsync cmd
- Prevent creation of a sync-id less log file when DEBUG is set - Fixed some missing child pids for time control to work
- Added a sequential run batch script that can rerun failed batches - Prevent creation of a sync-id less log file when DEBUG is set
- Fixed an issue where a failed task never gets resumed after a successfull file replication phase - Added a sequential run batch script that can rerun failed batches
- Added experimental partial downloads support for rsync so big files can be resumed on slow links - Fixed an issue where a failed task never gets resumed after a successfull file replication phase
- Added the ability to keep partial downloads that can be resumed on next run (usefull for big files on slow links that reach max execution time) - Added experimental partial downloads support for rsync so big files can be resumed on slow links
- Moved msys specific code to Init(Local|Remote)OSSettings - Added the ability to keep partial downloads that can be resumed on next run (usefull for big files on slow links that reach max execution time)
- Added a patch by igngvs to fix some issues with Rsync Exclude files - Moved msys specific code to Init(Local|Remote)OSSettings
- Added a patch by Gary Clark to fix some issues with remote deletion - Added a patch by igngvs to fix some issues with Rsync Exclude files
- Minor fixes from obackup codebase - Added a patch by Gary Clark to fix some issues with remote deletion
- Added compression method fallback (xz, lzma, pigz and gzip) - Minor fixes from obackup codebase
- Removed unused code - Added compression method fallback (xz, lzma, pigz and gzip)
- Fixed remote OS detection when a banner is used on SSH - Removed unused code
- Added a routine that reinjects failed deletions for next run in order to prevent bringing back when deletion failed with permission issues - Fixed remote OS detection when a banner is used on SSH
- Added treat dir symlink as dir parameter - Added a routine that reinjects failed deletions for next run in order to prevent bringing back when deletion failed with permission issues
- Added treat dir symlink as dir parameter
27 May 2014: Osync 0.99 RC3 27 May 2014: Osync 0.99 RC3
- Additionnal delete fix for *BSD and MSYS (deleted file list not created right)
- Fixed dry mode to use non dry after run treelists to create delete lists - Additionnal delete fix for *BSD and MSYS (deleted file list not created right)
- Added follow symlink parameter - Fixed dry mode to use non dry after run treelists to create delete lists
- Minor fixes in parameter list when bandwidth parameter is used - Added follow symlink parameter
- Added some additionnal checks for *BSD and MacOS environments - Minor fixes in parameter list when bandwidth parameter is used
- Changed /bin/bash to /usr/bin/env bash for sanity on other systems, also check for bash presence before running - Added some additionnal checks for *BSD and MacOS environments
- Changed default behavior for quick sync tasks: Will try to resume failed sync tasks once - Changed /bin/bash to /usr/bin/env bash for sanity on other systems, also check for bash presence before running
- Some code cleanup for state filenames and sync action names - Changed default behavior for quick sync tasks: Will try to resume failed sync tasks once
- Fixed deletion propagation (again). Rsync is definitly not designed to delete a list of files / folders. Rsync replaced by rm function which downloads deletion list to remote system. - Some code cleanup for state filenames and sync action names
- Added path detection for exclude list file - Fixed deletion propagation (again). Rsync is definitly not designed to delete a list of files / folders. Rsync replaced by rm function which downloads deletion list to remote system.
- Added a simple init script and an install script - Added path detection for exclude list file
- Fixed an issue with MacOSX using rsync -E differently than other *nix (Thanks to Pierre Clement) - Added a simple init script and an install script
- Multislave asynchronous task support (Thanks to Ulrich Norbisrath) - Fixed an issue with MacOSX using rsync -E differently than other *nix (Thanks to Pierre Clement)
- This breaks compat with elder osync runs. Add the SYNC_ID suffix to elder state files to keep deleted file information. - Multislave asynchronous task support (Thanks to Ulrich Norbisrath)
- Added an easier debug setting i.e DEBUG=yes ./osync.sh (Again, thanks to Ulrich Norbisrath) - This breaks compat with elder osync runs. Add the SYNC_ID suffix to elder state files to keep deleted file information.
- Added hardlink preservation (Thanks to Ulrich Norbisrath) - Added an easier debug setting i.e DEBUG=yes ./osync.sh (Again, thanks to Ulrich Norbisrath)
- Added external exclusion file support (Thanks to Pierre Clement) - Added hardlink preservation (Thanks to Ulrich Norbisrath)
- Fixed some typos in doc and program itself (Thanks to Pierre Clement) - Added external exclusion file support (Thanks to Pierre Clement)
- More detailled verbose status messages - Fixed some typos in doc and program itself (Thanks to Pierre Clement)
- More detailled status messages - More detailled verbose status messages
- Fixed a bug preventing propagation of empty directory deletions - More detailled status messages
- Fixed a nasty bug preventing writing lock files on remote system as superuser - Fixed a bug preventing propagation of empty directory deletions
- Gzipped logs are now deleted once sent - Fixed a nasty bug preventing writing lock files on remote system as superuser
- Fixed some typos (thanks to Pavel Kiryukhin) - Gzipped logs are now deleted once sent
- Fixed a bug with double trailing slashes in certain sceanrios - Fixed some typos (thanks to Pavel Kiryukhin)
- Sync execution don't fails anymore if files vanish during execution, also vanished files get logged - Fixed a bug with double trailing slashes in certain sceanrios
- Add eventual "comm -23" replacement by "grep -F -x -v -f" to enhance compatibility with other platforms (comm is still much faster than grep, so we keep it) - Sync execution don't fails anymore if files vanish during execution, also vanished files get logged
- Replaced xargs rm with find -exec rm to better handle file names in soft deletion - Add eventual "comm -23" replacement by "grep -F -x -v -f" to enhance compatibility with other platforms (comm is still much faster than grep, so we keep it)
- Fixed soft deletion not happening with relative paths - Replaced xargs rm with find -exec rm to better handle file names in soft deletion
- Improved process termination behavior - Fixed soft deletion not happening with relative paths
- More code merging and cleanup - Improved process termination behavior
- Fixed a bug preventing deleted files in subdirectories propagation (Thanks to Richard Faasen for pointing that out) - More code merging and cleanup
- Some more function merge in sync process - Fixed a bug preventing deleted files in subdirectories propagation (Thanks to Richard Faasen for pointing that out)
- Dry mode won't create or modifiy state files anymore and will use dry-state files instead - Some more function merge in sync process
- Improved file monitor mode - Dry mode won't create or modifiy state files anymore and will use dry-state files instead
- Added possibility to daemonize osync in monitor mode - Improved file monitor mode
- Added monitor mode, which will launch a sync task upon file operations on master replica - Added possibility to daemonize osync in monitor mode
- Changed conf file default format for ssh uri (old format is still compatible) - Added monitor mode, which will launch a sync task upon file operations on master replica
- Added ssh uri support for slave replicas - Changed conf file default format for ssh uri (old format is still compatible)
- Improved execution hooks logs - Added ssh uri support for slave replicas
- Various bugfixes introduced with function merge - Improved execution hooks logs
- Added basic MacOS X support (yet not fully tested) - Various bugfixes introduced with function merge
- Merged tree list functions into one - Added basic MacOS X support (yet not fully tested)
- Added possibility to quick sync two local directories without any prior configuration - Merged tree list functions into one
- Added time control on OS detection - Added possibility to quick sync two local directories without any prior configuration
- Added time control on OS detection
02 Nov. 2013: Osync 0.99 RC2 02 Nov. 2013: Osync 0.99 RC2
- Minor improvement on operating system detection
- Improved RunLocalCommand execution hook - Minor improvement on operating system detection
- Minor improvements on permission checks - Improved RunLocalCommand execution hook
- Made more portability improvements (mostly for FreeBSD, must be run with bash shell) - Minor improvements on permission checks
- Added local and remote operating system detection - Made more portability improvements (mostly for FreeBSD, must be run with bash shell)
- Added forced usage of MSYS find on remote MSYS hosts - Added local and remote operating system detection
- Updated MSYS handling - Added forced usage of MSYS find on remote MSYS hosts
- Merged MSYS (MinGW minimal system) bash compatibility under Windows from Obackup - Updated MSYS handling
- Added check for /var/log directory - Merged MSYS (MinGW minimal system) bash compatibility under Windows from Obackup
- Added check for shared memory directory - Added check for /var/log directory
- Added alternative way to kill child processes for other OSes and especially for MSYS (which is a very odd way) - Added check for shared memory directory
- Added Sendemail.exe support for windows Alerting - Added alternative way to kill child processes for other OSes and especially for MSYS (which is a very odd way)
- Replaced which commend by type -p, as it is more portable - Added Sendemail.exe support for windows Alerting
- Added support for ping.exe from windows - Replaced which commend by type -p, as it is more portable
- Forced usage of MSYS find instead of Windows' find.exe on master - Added support for ping.exe from windows
- Added an optionnal remote rsync executable path parameter - Forced usage of MSYS find instead of Windows' find.exe on master
- Fixed an issue with CheckConnectivity3rdPartyHosts - Added an optionnal remote rsync executable path parameter
- Added an option to stop execution if a local / remote command fails - Fixed an issue with CheckConnectivity3rdPartyHosts
- Improved forced quit command by killing all child processes - Added an option to stop execution if a local / remote command fails
- Before / after commands are now ignored on dryruns - Improved forced quit command by killing all child processes
- Improved verbose output - Before / after commands are now ignored on dryruns
- Fixed various typos - Improved verbose output
- Enforced CheckConnectivityRemoteHost and CheckConnectivity3rdPartyHosts checks (if one of these fails, osync is stopped) - Fixed various typos
- Enforced CheckConnectivityRemoteHost and CheckConnectivity3rdPartyHosts checks (if one of these fails, osync is stopped)
18 Aug. 2013: Osync 0.99 RC1 18 Aug. 2013: Osync 0.99 RC1
- Added possibility to change default logfile
- Fixed a possible error upon master replica lock check - Added possibility to change default logfile
- Fixed exclude directorires with spaces in names generate errros on master replica tree functions - Fixed a possible error upon master replica lock check
- Dryruns won't create after run tree lists and therefore not prevent building real run delete lists - Fixed exclude directorires with spaces in names generate errros on master replica tree functions
- Softdelete and conflict backup functions are now time controlled - Dryruns won't create after run tree lists and therefore not prevent building real run delete lists
- Added bandwidth limit - Softdelete and conflict backup functions are now time controlled
- Update and delete functions now run rsync with --stats parameter - Added bandwidth limit
- Fixed LoadConfigFile function will not warn on wrong config file - Update and delete functions now run rsync with --stats parameter
- Added --no-maxtime parameter for sync big changes without enforcing execution time checks - Fixed LoadConfigFile function will not warn on wrong config file
- Added --no-maxtime parameter for sync big changes without enforcing execution time checks
03 Aug. 2013: beta 3 milestone 03 Aug. 2013: beta 3 milestone
- Softdelete functions do now honor --dry switch - Softdelete functions do now honor --dry switch
- Simplified sync delete functions - Simplified sync delete functions
- Enhanced compatibility with different charsets in filenames - Enhanced compatibility with different charsets in filenames
- Added CentOS 5 compatibility (comm v5.97 without --nocheck-order function replaced by sort) - Added CentOS 5 compatibility (comm v5.97 without --nocheck-order function replaced by sort)
- Tree functions now honor supplementary rsync arguments - Tree functions now honor supplementary rsync arguments
- Tree functions now honor exclusion lists - Tree functions now honor exclusion lists
01 Aug. 2013: beta 2 milestone 01 Aug. 2013: beta 2 milestone
- Fixed an issue with spaces in directory trees - Fixed an issue with spaces in directory trees
- Fixed an issue with recursive directory trees - Fixed an issue with recursive directory trees
- Revamped a bit code to add bash 3.2 compatibility - Revamped a bit code to add bash 3.2 compatibility
24 Jul. 2013: beta milestone 24 Jul. 2013: beta milestone
- Fixed some bad error handling in CheckMasterSlaveDirs and LockDirectories - Fixed some bad error handling in CheckMasterSlaveDirs and LockDirectories
- Added support for spaces in sync dirs and exclude lists - Added support for spaces in sync dirs and exclude lists
- Fixed false exit code if no remote slave lock present - Fixed false exit code if no remote slave lock present
- Added minimum disk space checks - Added minimum disk space checks
- Added osync support in ssh_filter.sh - Added osync support in ssh_filter.sh
- Added support for sudo exec on remote slave - Added support for sudo exec on remote slave
- Added support for alternative rsync executable - Added support for alternative rsync executable
- Added support for spaces in sync directories names - Added support for spaces in sync directories names
- Added support for ACL and xattr - Added support for ACL and xattr
- Added --force-unlock parameter to bypass any existing locks on replicas - Added --force-unlock parameter to bypass any existing locks on replicas
- Added full remote support for slave replica - Added full remote support for slave replica
- Improved error detection - Improved error detection
- Made some changes in execution hook output - Made some changes in execution hook output
- Fixed an issue with task execution handling exit codes - Fixed an issue with task execution handling exit codes
- Added master and slave replicas lock functionnality - Added master and slave replicas lock functionnality
- Added rsync exclude patterns support - Added rsync exclude patterns support
- Improved backup items, can now have multiple backups of the same file - Improved backup items, can now have multiple backups of the same file
- Added maximum number of resume tries before trying a fresh stateless execution - Added maximum number of resume tries before trying a fresh stateless execution
- Added possibility to resume a sync after an error - Added possibility to resume a sync after an error
- Improved task execution time handling - Improved task execution time handling
- Improved SendAlert handling - Improved SendAlert handling
- Fixed cleanup launched even if DEBUG=yes - Fixed cleanup launched even if DEBUG=yes
- Added verbose rsync output - Added verbose rsync output
- Added --dry and --silent parameters - Added --dry and --silent parameters
- Added time control - Added time control
- Added master/slave conflict prevalance option - Added master/slave conflict prevalance option
- Added soft-deleted items - Added soft-deleted items
- Added backup items in case of conflict - Added backup items in case of conflict
19 Jun. 2013: Project begin as Obackup fork 19 Jun. 2013: Project begin as Obackup fork

Loading…
Cancel
Save