2
0
mirror of https://github.com/deajan/osync synced 2024-11-19 03:25:37 +00:00
Commit Graph

816 Commits

Author SHA1 Message Date
deajan
4ecdbfb0c0 Added working silent parameter 2016-12-11 22:58:31 +01:00
deajan
ded6203ae3 Removed unnecessary comments 2016-12-11 22:54:56 +01:00
deajan
d031a5504b Fixed skip-compress regex not liked by bsd 2016-12-11 22:44:01 +01:00
deajan
bd28ca8837 Minor changes & fixes 2016-12-11 22:40:27 +01:00
deajan
28460a714e Added more check skips 2016-12-11 21:57:31 +01:00
deajan
c3894b7694 Multiple typo fixes and shellcheck improvements 2016-12-11 21:57:13 +01:00
deajan
23cac5cad6 Unexpanded all source files 2016-12-11 20:54:40 +01:00
deajan
7bc93df5e6 Fixed RemoteLogger debugging 2016-12-11 17:07:34 +01:00
deajan
76512b5a13 Added _OFUNCTIONS_BOOTSTRAP subset 2016-12-11 14:58:52 +01:00
deajan
882cd7099e Bootstrap test 2016-12-11 14:57:02 +01:00
deajan
47c887a78e Updated coding style 2016-12-11 14:55:55 +01:00
deajan
8bce416b62 Fixed typo 2016-12-11 14:52:09 +01:00
deajan
e834059721 Multiple error detection fixes 2016-12-11 14:45:01 +01:00
deajan
f607cd9ab2 Quick _SoftDeleteLocal refactor 2016-12-11 14:36:26 +01:00
deajan
cc4636e298 Remote logging debug improvements 2016-12-11 14:29:17 +01:00
deajan
cdde314029 Code compliance 2016-12-11 14:26:48 +01:00
deajan
991734de03 Moving coding style 2016-12-11 14:25:54 +01:00
deajan
63bee68be0 Added android to OS exclusion list for ACL sync 2016-12-11 11:48:41 +01:00
deajan
f11cc81c01 File attrib skip logic fix 2016-12-11 11:38:36 +01:00
deajan
0761f15b22 Switched to new rsync compression, added excluded extensions, fix ACL for busybox 2016-12-11 11:33:42 +01:00
deajan
852ff0adf5 Reverted openssl silent becauce sendmail: NOOP failed 2016-12-10 18:40:36 +01:00
deajan
d2be7e43a8 Fixing typos and rendering openssl silent 2016-12-10 18:39:25 +01:00
deajan
c9635d48d3 Fixed ambiguous redirect 2016-12-10 18:37:18 +01:00
deajan
c5d83a18bf quick and dirty debug test 2016-12-10 18:31:39 +01:00
deajan
4e61b23cc5 Various typo fixes + arrayToString fix 2016-12-10 18:27:56 +01:00
deajan
72dfd4e94c Fixes in android email sending 2016-12-10 18:07:00 +01:00
deajan
9beeffe3bb Added bootstrap termux-fix-shebang 2016-12-10 17:56:03 +01:00
deajan
a7393818d4 Debug code to resolve random thrown error alert 2016-12-10 10:57:25 +01:00
deajan
9bce1a7f1c Less code for spinner 2016-12-09 21:54:42 +01:00
deajan
4308678cc2 Smaller spinner code 2016-12-09 21:44:57 +01:00
deajan
b715343b46 Merge forced_bash into master 2016-12-09 19:26:58 +01:00
deajan
4c61d0c53d Ye 2016-12-09 19:25:23 +01:00
deajan
738c11e315 Disabled symlink tests on msys 2016-12-09 19:22:14 +01:00
deajan
229a9800cc Make difference between msys and cygwin 2016-12-09 19:19:52 +01:00
deajan
d15069a85b More FreeBSD acl fix 2016-12-09 19:01:58 +01:00
deajan
a08ce8904b Reverted bogus var name change 2016-12-09 17:10:04 +01:00
deajan
be0d0ab8d9 Fixed daemon exclusions 2016-12-09 11:04:56 +01:00
deajan
435b597513 Workaround for FreeBSD inotifywait only wants one exclude 2016-12-08 22:10:54 +01:00
deajan
a543099eed Added msys2 detection and bootstrap safe code 2016-12-08 22:06:36 +01:00
deajan
61adfc6c6f Workaround for FreeBSD 11 get ctime default shell 2016-12-08 21:59:52 +01:00
deajan
7033337984 Quick fix for remaining tmp file after ParallelExec test 2016-12-08 20:36:13 +01:00
deajan
696140b575 Another msys fix 2016-12-08 12:09:52 +01:00
deajan
97eee22944 Added env for csh... Fuck you csh ! 2016-12-08 11:36:55 +01:00
deajan
15c49f3aa4 Removed typo 2016-12-08 11:04:51 +01:00
deajan
d6b5fcc20f Added pgrep test 2016-12-08 10:59:07 +01:00
deajan
31b1f0791a Added comment 2016-12-08 10:58:59 +01:00
deajan
467cb717ad Some msys fixes 2016-12-08 10:53:47 +01:00
deajan
b0e589ad78 Re-enabled tmp file deletion after debug 2016-12-08 09:00:58 +01:00
deajan
ce6b674ba3 Minor function renames 2016-12-08 08:58:56 +01:00
deajan
80cf34cedd Removed unnecessary code 2016-12-08 08:56:35 +01:00
deajan
c8e2c4e438 Fixed typo 2016-12-08 08:56:13 +01:00
deajan
731fc81abf Made ofunctions "includable" 2016-12-07 21:30:10 +01:00
deajan
7e44139325 Minor adjustment to _Logger 2016-12-07 11:45:34 +01:00
deajan
f14903cce5 Remote functions should not log to files 2016-12-07 09:06:28 +01:00
deajan
226bf33e29 Code compliance on ArrayContains 2016-12-06 23:24:02 +01:00
deajan
9735a83b35 Reverted test disable HandleLocks 2016-12-06 22:51:19 +01:00
root
ae16cefe54 Refactored CheckDiskSpace & CheckReplicaPath into CheckReplicas 2016-12-06 22:41:44 +01:00
root
59b8764da6 Merged CreateStateDirs, CheckLocks and WriteLocks into HandleLocks 2016-12-06 21:32:27 +01:00
deajan
00ae0f5fda Fixing remote third party check url not set right 2016-12-06 14:00:48 +01:00
root
54cf89cb27 Force bash as remote shell. Also refactor remote soft deletion and fix directory ctime find 2016-12-06 13:30:05 +01:00
deajan
9246c2aa6e Simplified test suite 2016-12-06 09:23:43 +01:00
deajan
372834cfee Removed spam email sending on unit tests 2016-12-05 23:30:53 +01:00
deajan
2d4b8cf572 Fixed typo 2016-12-05 23:28:43 +01:00
deajan
39fc865db9 Added detected os string 2016-12-05 20:06:00 +01:00
deajan
653ff919c3 SSH_PORT is now an environment variable 2016-12-05 20:03:53 +01:00
deajan
5db2f8e594 Fixed inverted symlink tests 2016-12-05 12:22:59 +01:00
deajan
d655f942b1 Removed some tests from travis because of time limit 2016-12-05 11:23:48 +01:00
deajan
eaef234a8a Added symlink / broken symlink tests 2016-12-04 18:57:39 +01:00
deajan
4d490697c4 Fixed batch did only pass last argument 2016-12-04 11:31:02 +01:00
deajan
48a1fcd065 Rebuilt targets 2016-12-04 11:15:57 +01:00
deajan
ed1a4c152a Removed unnecessary comments 2016-12-04 11:15:27 +01:00
deajan
3dcdeb20b1 Removed unnecessary code 2016-12-04 11:12:55 +01:00
deajan
bdf72843ee Added ofunctions header for next branch identification 2016-12-04 11:11:35 +01:00
deajan
078d47403f Reorganized function chronology 2016-12-04 11:10:02 +01:00
deajan
3a414da41d Program finish should always be logged 2016-12-04 10:58:53 +01:00
deajan
a87c44b9dc Rendered WaitForTaskCompletion global output thread safe 2016-12-03 10:40:30 +01:00
deajan
3128cb1841 Added global var HARD_MAX_EXEC_TIME_REACHED 2016-12-03 10:06:15 +01:00
deajan
3d8f20d2ed Removed more unnecessary comments 2016-12-03 09:59:59 +01:00
deajan
52e7921b53 Quick semantic update for soft stop 2016-12-03 09:53:44 +01:00
deajan
a7e41410e9 Removed unnecessary comments 2016-12-03 09:47:51 +01:00
deajan
88b135118d Coped with really old TODO fixing rsyncpatterns when path separator isn't semicolon 2016-12-03 09:39:09 +01:00
deajan
569d5f63a2 Emulate earlier batch behavior by adding maxdepth 1 to find 2016-12-03 09:34:26 +01:00
deajan
3f278173c1 Simplified batch runner, also less error prone 2016-12-01 23:14:22 +01:00
deajan
6f94429f52 More clear log output 2016-12-01 22:18:03 +01:00
deajan
01c62aa4ca Multiple recipient compat for mutt 2016-12-01 21:27:28 +01:00
deajan
edc358f2ff Finish work on symlink detection in treeList 2016-12-01 21:14:07 +01:00
deajan
651bf48990 Added symlink support in deletion propagation 2016-12-01 20:51:45 +01:00
deajan
33f985b751 WIP: getting treeList to work with or without symlinks 2016-12-01 20:20:55 +01:00
deajan
9bb849dec7 Quick paranoia debug fix 2016-12-01 19:50:06 +01:00
deajan
2cb5084d8b WIP on treeList in order to list but bypass bad symlinks 2016-12-01 19:24:01 +01:00
deajan
175df3d81e More explicit error message in treeList 2016-12-01 09:51:06 +01:00
deajan
bd12d809c9 Updated unit tests 2016-11-30 13:50:49 +01:00
deajan
7ca8bbc902 Updated tests with v1.1 branch timed execution tests 2016-11-30 13:02:01 +01:00
deajan
8e89b3dd82 Disabled mail sending on travis tests 2016-11-30 09:42:48 +01:00
deajan
b8f38152d5 Soft time alerts aren't anymore redundant when counting=false 2016-11-29 22:43:28 +01:00
deajan
be852ca7df Better time control in sync function 2016-11-29 22:40:43 +01:00
deajan
e15587524b Finished adding timed execution tests 2016-11-29 22:40:10 +01:00
deajan
3371e9a8f3 Improved timed execution tests 2016-11-29 20:28:15 +01:00
deajan
745688d982 Improved timed execution of sync function 2016-11-29 20:28:00 +01:00
deajan
8ee4b824da Work on WaitForTaskCompletion hard exec time 2016-11-25 22:15:27 +01:00
deajan
8500bfa5d9 Work on WaitForTaskCompletion ongoing 2016-11-25 22:15:03 +01:00
deajan
e4026f537e Rebuilt targets 2016-11-24 14:50:48 +01:00
deajan
42b0c8d406 Batch mode does not produce stdout/stderr output 2016-11-24 14:48:41 +01:00
deajan
0c1215059d Simplified osync-batch program 2016-11-24 14:43:05 +01:00
deajan
37e294161a Fixed bogus busybox detection 2016-11-24 14:27:04 +01:00
deajan
bda1c158d0 Reenabled all tests 2016-11-24 13:33:26 +01:00
deajan
804a284cb3 Updated parallelexec and fixed soft max time enforcement 2016-11-24 13:26:32 +01:00
deajan
507122b08f Added more parallelexec tests 2016-11-24 13:26:10 +01:00
deajan
0baed43267 Updated osync with new WaitForTaskCompletion syntax 2016-11-24 09:40:55 +01:00
deajan
a0fd7941c7 Changed to more clear WaitForTaskCompletion & ParallelExec argument list 2016-11-24 09:40:33 +01:00
deajan
3a3e7cfa02 Disabling ACL / XATTR on Mac & msys 2016-11-22 19:45:53 +01:00
deajan
c460eac640 Initial cygwin test compat 2016-11-22 19:24:51 +01:00
deajan
f45911a548 Fixed summary does reset logger prefix 2016-11-22 19:08:05 +01:00
deajan
c3013347bb Fixing OS detection on Cygwin 2016-11-22 19:02:13 +01:00
deajan
b3d17f8fec Fixed WinNT10 detection 2016-11-22 18:50:09 +01:00
deajan
15630c4b6d msys/cygwin don't know about process states 2016-11-22 18:18:35 +01:00
deajan
7e8463ec50 Fixing typos 2016-11-22 17:43:43 +01:00
deajan
9fb9d3504e Added Win10 bash detection 2016-11-22 17:41:06 +01:00
deajan
2f9f2f4f57 Added Win10 bypass for some tests 2016-11-22 17:40:47 +01:00
deajan
6d0e7cd0c7 Updated WaitForTaskcompletion to emulate wait 2016-11-22 17:19:30 +01:00
deajan
da302b0f3a inotifywait timeout emulation only needed on mac 2016-11-22 17:18:35 +01:00
deajan
2fd60182c0 Fixing softdel cleanup test...Again 2016-11-22 08:56:13 +01:00
deajan
23bb0ac804 Safer conflict multiple test 2016-11-21 19:41:35 +01:00
deajan
85466e0ab0 Added MAX_WAIT support for MacOS daemon mode 2016-11-21 19:18:22 +01:00
deajan
070d7b7e3a Wow... fixed the fix that should have fixed the bug 2016-11-21 19:13:15 +01:00
deajan
a3c5df9a85 Feeling stupid for this basic error 2016-11-21 18:38:43 +01:00
deajan
b8cf2e2694 Fixed skip tests logic for BSD & Mac 2016-11-21 17:31:02 +01:00
deajan
d55ecf7781 Added QaD daemon mode for Mac 2016-11-21 17:02:05 +01:00
deajan
33b103a64c Cosmetic typo fix 2016-11-21 16:34:31 +01:00
deajan
eb9b34c22d Disabled all debugfs related tests on BSD / Mac / Travis 2016-11-21 16:33:22 +01:00
deajan
2b8fe18217 Disable ACL and XATTR preserve by default on Mac 2016-11-21 15:13:15 +01:00
deajan
07f31e6b1e Fixed mkdir syntax to be BSD / Mac compatible 2016-11-21 15:12:52 +01:00
deajan
eec2df90e3 Fixed old executability exclusion on MacOS 2016-11-21 14:48:02 +01:00
deajan
4dd007ae56 Render SendEmail function MacOS compatible 2016-11-21 14:04:05 +01:00
deajan
a0c1ad5a20 Reenabled all tests 2016-11-21 13:45:37 +01:00
deajan
f10feb9806 Fix for BSD skip deletion test 2016-11-21 13:42:10 +01:00
deajan
6987a7f0f3 Better check if remote deletion file is present 2016-11-21 13:21:26 +01:00
deajan
5d7e54c743 Remote deletion log is always ERROR level 2016-11-21 11:34:54 +01:00
deajan
ec95b8683c Added missing log from remote deletion 2016-11-21 10:55:35 +01:00
deajan
58037d2d9a Reverted to a should-build state 2016-11-21 10:25:08 +01:00
deajan
3fbcc4a4c7 More ACL testing 2016-11-21 10:19:21 +01:00
deajan
c74078d122 More travis ACL testing 2016-11-21 10:12:11 +01:00
deajan
25aa245191 More travis ACL / chattr tests 2016-11-21 10:04:00 +01:00
deajan
3304814bcd More travis ACL / setuid tests 2016-11-21 09:59:17 +01:00
deajan
384b9b9582 Added unit tests that will fail to trigger travis errors 2016-11-21 09:47:45 +01:00
deajan
5ec5d01dca Fixed possible issue if global var toggle is used 2016-11-20 22:18:36 +01:00
deajan
4bae4fa917 Render setfacl BSD compatible 2016-11-20 21:47:56 +01:00
deajan
2a1ab2b40f More BSD love 2016-11-20 20:56:47 +01:00
deajan
8190bef067 Fix for failed deletion repropagation in BSD 2016-11-20 19:25:19 +01:00
deajan
5663403ddc Added forgotten cat 2016-11-20 18:57:51 +01:00
deajan
70e9936fd1 More BSD compat 2016-11-20 18:18:07 +01:00
deajan
85367b4b2f Improved unit tests compat with BSD 2016-11-20 18:04:32 +01:00
deajan
0718eb6f60 More optional checks to remove if not paranoia debug 2016-11-20 17:43:13 +01:00
deajan
f8015b735a Rendered merge BSD compatible 2016-11-20 17:41:52 +01:00
deajan
1a680e04ac Added more ACL tests 2016-11-20 17:22:03 +01:00
deajan
aa465f8365 Rebuilt targets 2016-11-19 16:16:35 +01:00
deajan
9194e004d3 Enabled other tests again 2016-11-19 15:09:58 +01:00
deajan
0ffb336a6d Added SSH removal after test 2016-11-19 15:06:32 +01:00
deajan
9a584eef73 Removed unused test file 2016-11-19 14:23:49 +01:00
deajan
4a8a7e7a49 Improved unit tests with no ssh test 2016-11-19 14:21:42 +01:00
deajan
325c4e5d5c GetRemoteOS executed anyway 2016-11-19 13:13:08 +01:00
deajan
56dabb97c1 Fixed bypassing some taks for android 2016-11-19 12:54:24 +01:00
deajan
cd86eac828 Commit cc16c29 related changes 2016-11-19 12:50:30 +01:00
deajan
cc16c29c2c Disable PRESERVE ACL & ATTR by default for compat reasons 2016-11-19 12:49:19 +01:00
deajan
630f26f8d2 Corrected variable # of arguments for _WriteLockFiles 2016-11-19 12:47:17 +01:00
deajan
6efe00938b Better android detection 2016-11-19 12:37:33 +01:00
deajan
8ba36de138 Fixing issues between android and centos 5 2016-11-19 12:37:26 +01:00
deajan
00ac1645e1 More fixes for CentOS 5 compat 2016-11-18 13:34:49 +01:00
deajan
2ed0fa7a0a Fixed bug introduced with CentOS 5 compat 2016-11-18 13:09:26 +01:00
deajan
80432de248 Rendered tests compatible with CentOS 5 2016-11-18 12:56:52 +01:00
deajan
d89980e1bd Fixed _CheckDiskSpaceRemote compat on CentOS 5 2016-11-18 12:53:07 +01:00
deajan
f6682dabf6 Fixed CheckDiskSpace compat on CentOS 5 2016-11-18 12:49:48 +01:00
deajan
cafbf43222 Rebuilt targets 2016-11-18 09:05:06 +01:00
deajan
7283729eae Added test run destination mail 2016-11-18 09:04:17 +01:00
deajan
d90baf7083 Disabled Travis daemon mode tests for now 2016-11-18 00:03:34 +01:00
deajan
d50d66731d Added elapsed time to unit tests 2016-11-17 23:48:06 +01:00
deajan
8314116c52 Add basic daemon tests 2016-11-17 23:40:17 +01:00
deajan
2488b1ece7 Removed debugging exit 2016-11-17 21:19:59 +01:00
deajan
28a9c908d5 Moved cleanup function according to new ofunctions 2016-11-17 21:04:42 +01:00
deajan
557bfb097d Removed unncecessary code 2016-11-17 21:02:45 +01:00
deajan
5e1452a92f Minor logger changes 2016-11-17 20:01:12 +01:00
deajan
853f2692dd Some work on Logger function 2016-11-17 20:00:23 +01:00
deajan
c155e0ccf5 SLEEP_TIME default value 2016-11-17 14:02:34 +01:00
deajan
0dd472f2c2 Some semantic updates for locking functions 2016-11-17 13:29:34 +01:00
deajan
07227858de Reenabled all other tests :) 2016-11-17 12:20:51 +01:00
deajan
71f866aaba Added locking resume tests 2016-11-17 12:15:24 +01:00
deajan
c4302a46ef Fixed locking checks 2016-11-17 12:13:56 +01:00
deajan
e7e240abf8 Added deletion skip tests 2016-11-16 15:48:33 +01:00
deajan
ae20963871 Fixed skip deletions from config file not handled properly 2016-11-16 15:47:42 +01:00
deajan
3ca410f673 Refactored some functions 2016-11-16 11:46:09 +01:00
deajan
ddd2e482ae Fixed tests depending on minor version 2016-11-16 00:47:27 +01:00
deajan
e41b48ed2e Disabled some tests on v1.1x 2016-11-15 23:20:20 +01:00
deajan
79971ec36f Fixed tests depending on osync version 2016-11-15 22:56:02 +01:00
deajan
8884d77be0 Added default separator char in quicksync mode 2016-11-15 22:32:33 +01:00
deajan
5bee165076 Removed deletion_failure test from travis (lack of chattr support) 2016-11-15 21:42:49 +01:00
deajan
290fbcafe2 Added failed deletion rerun test 2016-11-15 21:29:12 +01:00
deajan
317791da5a Fixed failed delete rerun & fixed logger flags in subprocesses 2016-11-15 21:27:32 +01:00
deajan
752d7f3bb9 Logger now creates flag files 2016-11-15 21:26:52 +01:00
deajan
8de65e0bf4 Fixed remote instance id in unit tests 2016-11-15 20:33:20 +01:00
deajan
dddf0bd663 Added (single/multiple) conflict backup tests 2016-11-15 19:31:52 +01:00
deajan
a8cc864259 Added ACL / Xattr preservation to config files 2016-11-15 19:28:14 +01:00
deajan
02e26538c7 Added ACL/Xattr default values for quicksync 2016-11-15 19:25:22 +01:00
deajan
caad06379d Fixed wrong number of arguments for _SummaryFromFile checks 2016-11-15 19:21:24 +01:00
deajan
fe0492d052 Fixed backups gone to the wrong directory 2016-11-15 13:49:00 +01:00
deajan
b68162fd8e More accurate syncattr skip check 2016-11-15 13:25:35 +01:00
deajan
dbd28f13ef Rebuilt targets 2016-11-15 13:16:52 +01:00
deajan
75e6a58580 Fixed typo and removed unneeded code 2016-11-15 13:14:41 +01:00
deajan
229abbf9c1 Removed unnecessary local variables 2016-11-15 13:12:30 +01:00
deajan
e4d940c5c8 Cosmetic change 2016-11-15 13:11:59 +01:00
deajan
2200611e23 Cosmetic change 2016-11-15 13:11:35 +01:00
deajan
ce7c712329 Finished work on summary function 2016-11-15 13:10:47 +01:00
deajan
6cc1286fe9 Allow set external sleep time in debug mode 2016-11-15 12:24:42 +01:00
deajan
9cafba436d Refactor GetRemoteOS 2016-11-14 23:10:37 +01:00
deajan
e4188b0f4c Minor fixes 2016-11-14 22:17:02 +01:00
deajan
076ace4b43 Fixed TrapError shell color 2016-11-14 22:04:54 +01:00
deajan
6bdd5b0a1a Added color to TrapError output 2016-11-14 22:01:44 +01:00
deajan
111d3569a7 WIP on summary 2016-11-14 21:14:10 +01:00
deajan
9c9f5f01a2 Rebuilt targets 2016-11-14 19:17:50 +01:00
deajan
63c64c5d5e Added --summary and --no-prefix arguments 2016-11-14 19:17:30 +01:00
deajan
4fb0b5f5f7 Added ALWAYS loger option, also fixed boolean capitalization 2016-11-14 19:05:29 +01:00
deajan
8ccad34d01 Fixed option name 2016-11-14 17:20:26 +01:00
deajan
632e07b896 Rebuilt targets 2016-11-14 17:13:19 +01:00
deajan
7b9fde680e Added error only support in Logger 2016-11-14 17:12:57 +01:00
deajan
10f5fa9c0f Added --errors-only switch 2016-11-14 17:11:50 +01:00
deajan
a122cc9b2a skipping ACL tests on travis (no get/setfacl support) 2016-11-13 20:38:16 +01:00
deajan
458f8e0ea2 Disabled ACL propagation test on travis, lack of ACL support 2016-11-13 20:32:18 +01:00
deajan
0ccb88ff19 Add ACL propagation tests 2016-11-13 20:22:52 +01:00
deajan
f4a59e8897 Fixed typo preventing remote ACL sync 2016-11-13 20:12:09 +01:00
deajan
085a182ce6 Fixed softdeletion cleanup tests 2016-11-13 16:23:04 +01:00
deajan
4869e3e89a Fixed checking remote pings regarless of mode 2016-11-13 15:59:12 +01:00
deajan
6f7a87b2de Fixed bogus value shown with preflight checks 2016-11-13 15:53:16 +01:00
deajan
16a717a8bb Fixed debug trapError show warnings in IsNumeric functions when not numeric 2016-11-13 15:49:40 +01:00
deajan
91bd655fa1 Added quicksync instance IDs 2016-11-13 15:11:06 +01:00
deajan
6841513702 Fixed sync title 2016-11-13 15:09:30 +01:00
deajan
afff4eff67 Updated changelog and readme.md 2016-11-13 14:46:59 +01:00
deajan
a1c2634a4f Fixed travis remote username 2016-11-13 14:41:17 +01:00
deajan
2a94223c62 Added more unit tests 2016-11-13 14:12:51 +01:00
deajan
8756c3f871 Rebuilt targets 2016-11-12 00:31:49 +01:00
deajan
4442c571f9 Refactored SendAlert and SendEmail 2016-11-12 00:30:25 +01:00
deajan
4b9c3b5769 Fixed #73 2016-11-12 00:07:38 +01:00
deajan
7e14544e64 Rebuilt targets 2016-11-10 16:24:01 +01:00
deajan
6321951bd2 Fixed typo 2016-11-10 16:23:43 +01:00
deajan
99576ef2c3 Rebuilt targets 2016-11-10 16:18:05 +01:00
deajan
d9a3fa9427 Remove forgotten -f parameter 2016-11-10 16:16:38 +01:00
deajan
a640726d94 More logging fixes 2016-11-10 16:15:29 +01:00
deajan
51fb8b8bac Fixed alert log name when instance isn't kwnown yet 2016-11-10 15:54:59 +01:00
deajan
b461b5bc95 Fixed attachment command in SendEmail 2016-11-09 17:36:18 +01:00
deajan
aa311ee8ac Rebuilt targets 2016-11-09 17:31:59 +01:00
deajan
d36ecd1f32 Fixed alert log filenames per instance 2016-11-09 17:31:31 +01:00
deajan
a464fa37a3 Implement TLS and SSL support for busybox sendmail 2016-10-23 20:25:46 +02:00
deajan
646fdff063 Added old config file for travis environment 2016-10-23 19:18:37 +02:00
deajan
0bd6f61a34 Added upgrade script test 2016-10-23 19:17:25 +02:00
deajan
bddd7c87da Updated ofunctions with better busybox support 2016-10-23 18:23:44 +02:00
deajan
06d2171a31 Code compliance 2016-10-23 13:28:28 +02:00
deajan
0e897f66c5 Fixed HumanToNumeric function 2016-10-23 13:27:35 +02:00
deajan
80a5bb0102 More portable grep -E treeList 2016-10-23 11:04:24 +02:00
deajan
0e049c4850 More busybox love 2016-10-23 10:44:27 +02:00
deajan
6665b7d9d9 Added remote busybox detection 2016-10-23 10:40:21 +02:00
deajan
6fa212bbca Added dirty workaround for human readable df output in busybox 2016-10-23 10:35:55 +02:00
deajan
97a1db5f55 Added HumanToNumeric function 2016-10-23 10:35:38 +02:00
deajan
a450cf39d0 busybox working now 2016-10-23 09:46:20 +02:00
deajan
9e6f3b8e57 Rebuilt targets 2016-10-22 21:04:19 +02:00
deajan
fe2a3037f7 Cosmetic fix 2016-10-22 21:03:36 +02:00
deajan
ae89b7506e More and more busybox love 2016-10-22 21:02:35 +02:00
deajan
101cb26549 Cosmetic fixes 2016-10-22 20:59:50 +02:00
deajan
620484a6d8 More busybox love again 2016-10-22 20:56:14 +02:00
deajan
d71540d609 More busybox love 2016-10-22 20:47:10 +02:00
deajan
4e73a17efa More busybox fixes 2016-10-22 12:27:08 +00:00
deajan
84f266568d pidState command busybox compat 2016-10-22 14:14:52 +02:00
deajan
ff16854b88 Fixed introduced bug with IsNumericExpand 2016-10-21 21:46:59 +02:00
deajan
67be5560af Removed SC2002 warning 2016-10-21 18:25:53 +02:00
deajan
beea979440 Another check for log writing 2016-10-21 18:23:45 +02:00
deajan
c26b7e6b0f Rebuilt targets 2016-10-21 15:30:10 +02:00
deajan
1366b0c10c Prefered C style boolean values 2016-10-21 15:29:49 +02:00
deajan
d844a5b696 Rebuilt targets 2016-10-21 12:38:34 +02:00
deajan
9c212c1bd1 Added SKIP_DELETION support 2016-10-21 12:38:03 +02:00
deajan
3ae961c4b9 Added arrayContains function 2016-10-21 12:37:38 +02:00
deajan
d68e4d1e1b Prevent locking race conditions 2016-10-19 13:30:08 +02:00
deajan
a4312e31fd Rebuilt targets 2016-10-19 12:45:10 +02:00
deajan
5e52e395ef Added ssh password test 2016-10-19 12:44:52 +02:00
deajan
8d98355867 Rebuilt targets 2016-10-19 12:30:20 +02:00
deajan
0be2bc3bc3 Updated ofunctions 2016-10-19 12:28:30 +02:00
deajan
408eb170c4 Added ssh password file support 2016-10-19 12:28:11 +02:00
deajan
a6ab8b686e Improved upgrade script 2016-10-17 17:40:37 +02:00
deajan
2d195eb660 Updated unit tests 2016-10-17 16:45:02 +02:00
deajan
a57d4ab98a Fixed deletion detection when bad symlinks present 2016-10-17 09:56:40 +02:00
deajan
c2959fb98b Removed SC2086 from __CheckArguments call 2016-10-16 22:08:16 +02:00
deajan
b63e4da847 Fixed deletion propagation after last code simplification 2016-10-16 22:00:31 +02:00
deajan
a37bb85e65 Simplified function calls due to code compliance 2016-10-16 14:25:29 +02:00
deajan
e77d3be37f Simplified deleted_list function 2016-10-16 12:33:53 +02:00
deajan
130b0ed113 Added symlink delete and broken symlink detection support 2016-10-16 12:12:59 +02:00
deajan
b4bb334938 Removed remote ping on exclusion test 2016-09-16 17:23:25 +02:00
deajan
6d51ae45a9 Fixed exclusion test 2016-09-16 17:19:04 +02:00
deajan
7505832914 Fixed semantic 2016-09-16 17:18:48 +02:00
deajan
3495a49f17 Rendered basic exclusion test usable 2016-09-16 10:16:18 +02:00
deajan
951f6b1996 Allow default inclusion / exclusions for quicksync 2016-09-16 10:11:59 +02:00
deajan
8e07fb1d0d WIP on exclusion tests 2016-09-16 09:51:29 +02:00
deajan
6ac9e6f235 Fixing typo renaming initiator type 2016-09-16 09:48:58 +02:00
deajan
413f9c24ab Updated tests for ParallelExec 2016-09-08 22:57:57 +02:00
deajan
ae2df407d8 Rebuilt targets 2016-09-08 22:50:13 +02:00
deajan
4c3aa02954 Updated common scripts 2016-09-08 22:49:51 +02:00
deajan
4725bafb35 Improved ParallelExec 2016-09-06 19:27:45 +02:00
deajan
ca9304af96 mend
Added more ParallelExec tests
2016-09-06 19:26:47 +02:00
deajan
0d6da8d044 Added more ParallelExec testsé 2016-09-06 19:26:37 +02:00
deajan
6e80c4772f Improved ParallelExec functions 2016-09-06 19:08:53 +02:00
deajan
f521d75dbc Updated test to disable remote host ping 2016-09-05 22:30:03 +02:00
deajan
0df40f7964 Fixed tests 2016-09-05 22:25:25 +02:00
deajan
b79e26bcc6 Added SSH remote tests for Travis 2016-09-05 22:21:25 +02:00
deajan
873ff7971f Updated ofunctions with minor fixes 2016-09-05 22:06:57 +02:00
deajan
b94dd28a6c Rebuilt targets 2016-09-02 21:43:14 +02:00
deajan
ce38085cac Made merge output exit codes 2016-08-30 18:20:41 +02:00
deajan
939bc45dc7 Improved unit tests 2016-08-30 17:08:00 +02:00
deajan
7256055042 Added merge test 2016-08-30 16:34:15 +02:00
deajan
f1c306295f Removed remote ssh tests for travis 2016-08-30 14:03:32 +02:00
deajan
57759e1758 Fixed typo 2016-08-30 13:58:03 +02:00
deajan
d27aed1c09 Made work dirs relative 2016-08-30 13:55:37 +02:00
deajan
ac967f25ab Made test dirs relative 2016-08-30 13:52:58 +02:00
deajan
5fd64ffa3c Added test dir to include shunit2 2016-08-30 13:42:35 +02:00
deajan
609bf1bd6f Rebuilt targets for v1.2-betaé 2016-08-30 12:28:54 +02:00
deajan
9dd21ae3cb Moved email alert after last log message 2016-08-30 12:28:26 +02:00
deajan
90d16862d2 Rendered associative like arrays bash 3 compatible 2016-08-30 12:19:12 +02:00
deajan
31ba152069 Rebuilt targets for v1.2-beta 2016-08-30 11:57:39 +02:00
deajan
e552a2d9bc Bumped version to v1.2-beta 2016-08-30 11:54:00 +02:00
deajan
415c153683 Added some other paranoia debug checks 2016-08-30 11:49:21 +02:00
deajan
a31cceedc6 Made WaitFor and ParallelExec functions more robust 2016-08-30 11:37:25 +02:00
deajan
9804334821 Removed finished working comments 2016-08-30 11:36:29 +02:00
deajan
2db1046fee Fixed initiator and target arrays aren't global 2016-08-30 11:29:11 +02:00
deajan
d48e3c4f26 Made replica array indexes more clear 2016-08-30 11:01:53 +02:00
deajan
bd0c36071a Fixed sync_update steps 2016-08-29 21:59:40 +02:00
deajan
4be3823b27 Various minor fixes 2016-08-29 21:54:51 +02:00
deajan
b77e28b5d6 Added some work comments 2016-08-29 21:30:36 +02:00
deajan
b2b1b0ba18 Removed finished todo 2016-08-29 21:09:03 +02:00
deajan
aabb67d4b6 Improved soft deletion messages 2016-08-29 21:05:46 +02:00
deajan
fe8b254b01 Fixed 1 instead of true 2016-08-29 20:47:21 +02:00
deajan
854accdcd2 Fixed remote deletion logs 2016-08-29 20:40:29 +02:00
deajan
aa4b7dddc8 Fixed verbose logging 2016-08-29 19:03:19 +02:00
deajan
a17872282c Fixed typo 2016-08-29 18:59:53 +02:00
Orsiris de Jong
a4ce89d5e8 Merge pull request #60 from Shadowigor/master
Enable installation with different root for (Arch) packaging
2016-08-29 18:39:40 +02:00
deajan
109e67e5b2 Simplified usage of verbose 2016-08-29 18:08:30 +02:00
Shadowigor
88e71f57cd Merge branch 'master' of https://github.com/deajan/osync 2016-08-29 18:03:03 +02:00
deajan
ca02051fd7 Improved error message 2016-08-29 18:02:15 +02:00
deajan
1428c0e127 Fixed os detection 2016-08-29 17:53:11 +02:00
deajan
9520ff2c76 Rebuilt targets 2016-08-29 17:40:45 +02:00
deajan
53e9ebccee Updated unit tests 2016-08-29 17:40:32 +02:00
deajan
2764930dc4 Replaced 0/1 with bolean logic 2016-08-29 17:37:48 +02:00
deajan
472e5e2251 Replaced 0,1 with false,true 2016-08-29 13:54:24 +02:00
deajan
385bc5d40f Simplified verbose. Also replaced 0,1 with false,true 2016-08-29 13:48:03 +02:00
deajan
e18bacedfd Fixed deletion propagation 2016-08-29 13:16:07 +02:00
Shadowigor
b7f21f2d89 Updated auto-generated scripts 2016-08-29 01:33:21 +02:00
Shadowigor
d8cb176ec6 Merge branch 'master' of https://github.com/deajan/osync 2016-08-29 01:29:26 +02:00