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

696 Commits

Author SHA1 Message Date
deajan
ebec33e15e Make shellcheck happier 2017-02-08 08:34:24 +01:00
deajan
f5228fbbbf Fixed variable name 2017-02-08 08:32:55 +01:00
deajan
7aa1457971 Removed unnecessary comments 2017-02-08 08:30:15 +01:00
deajan
ce9ddee19d Be able to create /usr/local/bin 2017-02-07 23:39:20 +01:00
deajan
48f9cfc973 Added mac commands 2017-02-07 22:51:26 +01:00
deajan
839c287ec9 Better BSD ping when not root 2017-02-07 22:28:54 +01:00
deajan
2a63707cf7 Quick ping fix for FreeBSD non root 2017-02-07 22:24:54 +01:00
deajan
18a4dc4fe9 Missing sudo is critical 2017-02-07 22:19:05 +01:00
deajan
0aaf988c48 check for sudo when needed 2017-02-07 22:13:52 +01:00
deajan
ea58a65954 Quick fix for BSD service files 2017-02-07 22:10:24 +01:00
deajan
a186964bc8 Moved some functions to ofunctions.sh 2017-02-07 22:05:27 +01:00
deajan
c1ca28bd41 Improved os detection here too 2017-02-07 22:04:50 +01:00
deajan
1e7a8d643c Improved os detection 2017-02-07 22:04:36 +01:00
deajan
f9077b7ff6 Added new list of subsets 2017-02-07 22:04:19 +01:00
deajan
317975c03f Fixed need to overwrite executables 2017-02-07 21:39:58 +01:00
deajan
b07df720d9 path fixes for rsync and bash 2017-02-07 21:28:50 +01:00
deajan
84ee16cc12 Minor tweaks for cleanup 2017-02-07 21:21:41 +01:00
deajan
33413fe80d Another minor fix 2017-02-07 21:09:36 +01:00
deajan
7fc9a2c4fb Minor fixes 2017-02-07 21:06:02 +01:00
deajan
724f488ab7 Quick and dirty sudo prepare script 2017-02-07 20:59:01 +01:00
deajan
0c9ab163f0 Fixed typo 2017-02-07 17:43:30 +01:00
deajan
1444d44b6b Quick installer refactor with uninstall support 2017-02-07 16:00:23 +01:00
deajan
1b354012b8 Added rsyncCmd debug info 2017-02-06 17:15:07 +01:00
deajan
e24becdea1 Added debug command info 2017-02-06 17:11:39 +01:00
deajan
e201217935 Fixed inline messages when encoding used 2017-02-05 13:24:17 +01:00
deajan
6031036ae1 Trying to resolve mail encoding issues 2017-02-05 13:11:00 +01:00
deajan
69f8945806 Fix for escaped UTF-8 characters in log files 2017-02-03 14:09:14 +01:00
deajan
1653a6da57 Added vercomp function 2017-02-03 12:00:03 +01:00
deajan
7e4400ba7a Fixed typo 2017-02-03 11:15:59 +01:00
deajan
4838d8bd25 Back to a mergeable state 2017-02-03 09:54:10 +01:00
deajan
d1e5a50c0d Update files 2017-02-03 09:52:24 +01:00
deajan
e1ea7806cb Rebuilt targets 2017-02-03 09:51:52 +01:00
deajan
6fc4bef224 Updated ofunctions from obackup 2017-01-04 09:17:49 +01:00
deajan
9e5a2c82f1 Rebuilt targets 2016-12-28 23:37:29 +01:00
deajan
4c6ada2388 Added small fixes from obackup 2016-12-28 23:37:07 +01:00
deajan
2ec41074ae More unneeded fixes for old upgrade remote connections 2016-12-23 21:37:06 +01:00
deajan
1e0fb77cc8 Fixed possible issue with old file upgrade test when file is intended for remote cnx 2016-12-23 21:30:38 +01:00
deajan
9fd881647a Enabled remote host ping when not testing on travis 2016-12-23 21:25:04 +01:00
deajan
07daa13517 Some minor fixes from obackup 2016-12-23 20:41:52 +01:00
deajan
f4126df723 Enable remote host ping on local tests 2016-12-23 20:41:23 +01:00
deajan
79402ef2da Updated ofunctions from obackup 2016-12-23 18:25:08 +01:00
deajan
ea69a58b3d Fixed program name after fix from other project 2016-12-19 23:40:54 +01:00
deajan
266b35d81b Fixing typos 2016-12-19 22:39:03 +01:00
deajan
e04e81446e Fixed typo 2016-12-19 22:38:13 +01:00
deajan
97a1aa5e05 Updated sudo behavior 2016-12-19 13:19:21 +01:00
deajan
bd0450d95e Fixed wrong __CheckArguments call 2016-12-15 12:01:10 +01:00
deajan
eee2bdf565 Made critical error message more readable 2016-12-15 11:53:22 +01:00
deajan
091f9ed1be Avoid possible log interference between parallel functions 2016-12-15 11:24:45 +01:00
deajan
03a83b598d Logging tweaks. Also fixed remote find cmd used instead of local one 2016-12-15 10:12:36 +01:00
deajan
622b607bac Revised log levels of command output for --errors-only 2016-12-14 08:12:35 +01:00
deajan
114ea896d6 Bumped version to RC1+dev 2016-12-13 20:55:15 +01:00
deajan
d9ff0b9ed1 Fixed boolean value 2016-12-13 20:52:09 +01:00
deajan
5f1e0a8305 Rebuilt targets for v1.2-RC1 release 2016-12-13 20:42:14 +01:00
deajan
7039a8a16c Bumped version to v1.2-RC1 2016-12-13 20:41:25 +01:00
deajan
a207f1745a Rebuilt targets 2016-12-13 19:38:22 +01:00
deajan
3e9e560cfd Better folder detection 2016-12-13 19:28:47 +01:00
deajan
f4f71a22c8 Fixed resume does not exit with warn anymore 2016-12-13 18:35:34 +01:00
deajan
caccb04c06 Fixed RemoteLogger prefix 2016-12-13 18:31:17 +01:00
deajan
69568e8132 Removed unnecessary code 2016-12-13 12:41:42 +01:00
deajan
18851f6114 Added execution path check 2016-12-13 12:33:30 +01:00
deajan
28dbd94ce0 Misc changes 2016-12-13 12:29:33 +01:00
deajan
bd800dc5e9 Critical fix for random errors when CheckConnectivity fails in sub function of Sync 2016-12-13 12:28:06 +01:00
deajan
11b494069a Resuming previous operation should not be a warning message 2016-12-13 11:45:51 +01:00
deajan
e934ab63e7 Rebuilt targets 2016-12-13 09:19:14 +01:00
deajan
8fbe4d716d Added RSYNC_OPTIONAL_ARGS parameter 2016-12-13 09:18:47 +01:00
deajan
36bcaecc74 Improved unit tests for soft deletion directories 2016-12-12 23:58:42 +01:00
deajan
68d0306713 Minor fix 2016-12-12 23:42:29 +01:00
deajan
c7ad48bb80 Fixing directory soft deletion 2016-12-12 23:33:57 +01:00
deajan
98502dd1a6 Fix Fix rsync 3.0.6 C6 obscure --skip-compress verbosity 2016-12-12 22:41:01 +01:00
deajan
6a3499ca88 Fix obscure rsync 3.0.6 skip-compress too verbose bug 2016-12-12 21:46:44 +01:00
deajan
be18397865 Reworked comment 2016-12-12 19:30:09 +01:00
deajan
4fdebf66a7 Skipping certain tests on cygwin 2016-12-12 19:27:34 +01:00
deajan
ae8ef5ff13 Uncommented CleanUp as debugging is done 2016-12-12 19:23:58 +01:00
deajan
486f63043d Fixed stupid typos 2016-12-12 11:38:27 +01:00
deajan
a3af29804d Fixed missing env variables for remote calls 2016-12-12 11:16:53 +01:00
deajan
4d52f71061 Added some degree of randomisation on RUN_DIR files 2016-12-12 10:14:59 +01:00
deajan
b8b648f9b8 Missing fi 2016-12-12 09:37:17 +01:00
deajan
5e52049bae Disable rsync --skip-compress on MacOS 2016-12-12 09:36:10 +01:00
deajan
5c4b76ab9e Reverted simplification of remote stat 2016-12-12 08:57:31 +01:00
deajan
1fc8f9567e Updated coding style 2016-12-11 23:03:07 +01:00
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