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

256 Commits

Author SHA1 Message Date
deajan
f14903cce5 Remote functions should not log to files 2016-12-07 09:06:28 +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
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
2d4b8cf572 Fixed typo 2016-12-05 23:28:43 +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
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
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
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
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
be852ca7df Better time control in sync function 2016-11-29 22:40:43 +01:00
deajan
745688d982 Improved timed execution of sync function 2016-11-29 20:28:00 +01:00
deajan
8500bfa5d9 Work on WaitForTaskCompletion ongoing 2016-11-25 22:15:03 +01:00
deajan
0baed43267 Updated osync with new WaitForTaskCompletion syntax 2016-11-24 09:40:55 +01:00
deajan
f45911a548 Fixed summary does reset logger prefix 2016-11-22 19:08:05 +01:00
deajan
da302b0f3a inotifywait timeout emulation only needed on mac 2016-11-22 17:18:35 +01:00
deajan
85466e0ab0 Added MAX_WAIT support for MacOS daemon mode 2016-11-21 19:18:22 +01:00
deajan
d55ecf7781 Added QaD daemon mode for Mac 2016-11-21 17:02:05 +01:00
deajan
2b8fe18217 Disable ACL and XATTR preserve by default on Mac 2016-11-21 15:13:15 +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
8190bef067 Fix for failed deletion repropagation in BSD 2016-11-20 19:25:19 +01:00
deajan
56dabb97c1 Fixed bypassing some taks for android 2016-11-19 12:54:24 +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
8ba36de138 Fixing issues between android and centos 5 2016-11-19 12:37:26 +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
28a9c908d5 Moved cleanup function according to new ofunctions 2016-11-17 21:04:42 +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
0dd472f2c2 Some semantic updates for locking functions 2016-11-17 13:29:34 +01:00
deajan
c4302a46ef Fixed locking checks 2016-11-17 12:13:56 +01:00
deajan
ae20963871 Fixed skip deletions from config file not handled properly 2016-11-16 15:47:42 +01:00
deajan
8884d77be0 Added default separator char in quicksync mode 2016-11-15 22:32:33 +01:00
deajan
317791da5a Fixed failed delete rerun & fixed logger flags in subprocesses 2016-11-15 21:27:32 +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
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
ce7c712329 Finished work on summary function 2016-11-15 13:10:47 +01:00
deajan
e4188b0f4c Minor fixes 2016-11-14 22:17:02 +01:00
deajan
111d3569a7 WIP on summary 2016-11-14 21:14:10 +01:00
deajan
63c64c5d5e Added --summary and --no-prefix arguments 2016-11-14 19:17:30 +01:00
deajan
8ccad34d01 Fixed option name 2016-11-14 17:20:26 +01:00
deajan
10f5fa9c0f Added --errors-only switch 2016-11-14 17:11:50 +01:00
deajan
f4a59e8897 Fixed typo preventing remote ACL sync 2016-11-13 20:12:09 +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
afff4eff67 Updated changelog and readme.md 2016-11-13 14:46:59 +01:00
deajan
6321951bd2 Fixed typo 2016-11-10 16:23:43 +01:00
deajan
a640726d94 More logging fixes 2016-11-10 16:15:29 +01:00
deajan
06d2171a31 Code compliance 2016-10-23 13:28:28 +02:00
deajan
80a5bb0102 More portable grep -E treeList 2016-10-23 11:04:24 +02:00
deajan
6fa212bbca Added dirty workaround for human readable df output in busybox 2016-10-23 10:35:55 +02:00
deajan
a450cf39d0 busybox working now 2016-10-23 09:46:20 +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
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
1366b0c10c Prefered C style boolean values 2016-10-21 15:29:49 +02:00
deajan
9c212c1bd1 Added SKIP_DELETION support 2016-10-21 12:38:03 +02:00
deajan
d68e4d1e1b Prevent locking race conditions 2016-10-19 13:30:08 +02:00
deajan
5e52e395ef Added ssh password test 2016-10-19 12:44:52 +02:00
deajan
408eb170c4 Added ssh password file support 2016-10-19 12:28:11 +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
7505832914 Fixed semantic 2016-09-16 17:18:48 +02:00
deajan
951f6b1996 Allow default inclusion / exclusions for quicksync 2016-09-16 10:11:59 +02:00
deajan
6ac9e6f235 Fixing typo renaming initiator type 2016-09-16 09:48:58 +02:00
deajan
b94dd28a6c Rebuilt targets 2016-09-02 21:43:14 +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
e552a2d9bc Bumped version to v1.2-beta 2016-08-30 11:54:00 +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