2
0
mirror of https://github.com/deajan/osync synced 2024-11-11 07:10:40 +00:00
Commit Graph

470 Commits

Author SHA1 Message Date
deajan
4c999ec229 Remote deletion returns error when no error has happened 2018-10-10 20:47:11 +02:00
deajan
a2e3e96827 WIP for target-helper 2018-10-10 20:39:49 +02:00
deajan
4be8429b96 Allow setting MIN_WAIT and MAX_WAIT on the fly 2018-10-10 15:19:32 +02:00
deajan
0e103cd98b Added push file exclusion in RSYNC_FULL_PATTERNS 2018-10-10 15:13:36 +02:00
deajan
83cfabed6f Litte performance improvement by not running code again 2018-10-10 15:02:00 +02:00
deajan
ff26961e82 Fixed BSD daemon mode 2018-10-10 02:19:38 +02:00
deajan
ca63bfabe0 Testing for directories in triggerupdate functions 2018-10-10 02:12:57 +02:00
deajan
2aa36b626a Replaced Logger with RemoteLogger in triggerUpdate 2018-10-10 02:09:46 +02:00
deajan
f0336c0dec Added target-helper syncdir checks 2018-10-10 01:57:20 +02:00
deajan
3dc8478ba7 Added default MIN_WAIT and MAX_WAIT values 2018-10-10 01:45:39 +02:00
deajan
633e6397d0 Fixed missing equal sign for password-file 2018-10-10 01:40:26 +02:00
deajan
babeea9d9a Fixed unlocking 2018-10-10 01:33:31 +02:00
deajan
9cb6cc57af Fixed typos 2018-10-10 01:31:12 +02:00
deajan
7eb4ee68ae Added unlockReplica pid initialisation 2018-10-10 00:05:46 +02:00
deajan
660e856986 Unlocking only when locks exist 2018-10-10 00:04:30 +02:00
deajan
ac31de2388 Cleanup also called when bogus config detected 2018-10-09 23:57:53 +02:00
deajan
ad9d978fc2 Typo fixing 2018-10-08 21:50:35 +02:00
deajan
7570794632 Improved remote execution results 2018-10-08 21:40:57 +02:00
deajan
4651ff0e06 Added remote detection 2018-10-08 21:34:41 +02:00
deajan
1ab6042a62 Fixed typo in _getFileCtimeMtimeRemote 2018-10-08 21:17:36 +02:00
deajan
e3855c4256 Revert work on _getCtimeMtimeFileRemote error detection 2018-10-07 17:51:15 +02:00
deajan
94a71620a1 Made ctime.mtime functions more clear in syntax 2018-10-07 13:23:45 +02:00
deajan
bad7767809 Harmonize ExecTasks calls 2018-10-07 12:59:56 +02:00
deajan
6b0bab0984 Removed unused variable 2018-10-07 12:23:59 +02:00
deajan
89d63d83b8 Removed unused variable 2018-10-06 22:16:11 +02:00
deajan
6bd5862702 Removed unused argument from conflictList 2018-10-06 21:41:58 +02:00
deajan
5b395b3c04 Travis debug can fail 2018-10-02 23:37:33 +02:00
deajan
2c857a1e83 Fixed removing directories on soft deletion 2018-10-02 19:01:44 +02:00
deajan
c99a1293c7 Debug conflictLog in travis 2018-10-01 20:28:46 +02:00
deajan
dde31090fe Improved inotifywait call 2018-10-01 10:49:35 +02:00
deajan
88597d6a7a Initial target-helper mode working 2018-10-01 10:27:01 +02:00
deajan
6bce2e1755 [WIP] Less restrictive preflight checks in target-helper mode 2018-10-01 10:08:22 +02:00
deajan
fe808ca909 [WIP] target_helper switch should not be a half bool half char 2018-10-01 10:01:00 +02:00
deajan
47bb01b0dc [WIP] Pass initiator ssh uri on target-helper mode 2018-10-01 09:54:24 +02:00
deajan
5945988e96 Fix wrong log message on MacOS 2018-10-01 07:26:56 +02:00
deajan
07775d7390 [WIP] osync-target-helper mode 2018-09-30 21:24:09 +02:00
deajan
af7542d8f5 [WIP] target helpder service in osync 2018-09-30 16:08:12 +02:00
deajan
76f9f31e6d Moved RSYNC_ARGS to RSYNC_DEFAULT_ARGS 2018-09-30 13:57:57 +02:00
deajan
4cf697cd28 Bump osync version 2018-08-08 11:31:11 +02:00
deajan
3f46c69c6d Removed redundant partial exclude dir from daemon 2018-07-08 13:19:30 +02:00
deajan
24599c3057 Fix for #119 2018-07-08 13:18:26 +02:00
deajan
82e60bdffe Tidyup 2018-07-02 22:40:55 +02:00
deajan
76ed396602 More comment fixes 2018-07-02 22:21:36 +02:00
deajan
f3215c0474 Quick typo fix 2018-07-02 22:17:17 +02:00
deajan
f79acad239 Fixed conflictLsit output and typos 2018-07-02 22:09:18 +02:00
deajan
548c766920 Fixed conflict list initialization 2018-07-02 18:19:47 +02:00
deajan
9b3af0596e Comment tidyup 2018-07-02 17:29:50 +02:00
deajan
1ea4584027 Fix typo 2018-07-02 15:46:45 +02:00
deajan
4d322f7e6b WIP: initialization should take create conflict list possibility 2018-07-01 10:54:17 +02:00
deajan
9b4914c49e cmdline arg improvements 2018-07-01 10:46:16 +02:00
deajan
3d6eaef447 Bumped version to 1.3-dev 2018-06-30 19:40:24 +02:00
deajan
bf54ce8693 Finished WIP on --summary for deletions 2018-06-25 23:59:06 +02:00
deajan
7621f3ec25 Implemented --initialize 2018-06-25 23:55:13 +02:00
deajan
0ccc737631 Conflict log line only appears if used 2018-06-25 11:16:57 +02:00
deajan
1ed49b7d41 Quick note about file updates 2018-06-24 19:10:23 +02:00
deajan
6d37e161c8 Merge branch 'master' of https://github.com/deajan/osync 2018-03-22 17:24:36 +01:00
deajan
1b33068422 Fixed #135 2018-03-22 17:23:14 +01:00
Hugo Rivera
3c1c606de4 Set MAX_EXEC_TIME_PER_CMD_* variables without config file 2018-03-20 03:58:21 -06:00
Hugo Rivera
4725370d8e Set MIN_WAIT without config file 2018-03-20 03:58:10 -06:00
deajan
46a990c4d8 Fixed inotifywait cannot load loop 2018-02-20 22:53:30 +01:00
deajan
d8b30d7711 Added sed regex compat for MacOS 2018-02-20 22:39:42 +01:00
deajan
034c1693e9 Updated ExecTasks version 2018-02-20 22:15:04 +01:00
deajan
9b8fe3774e Fixed time counting for new ExecTasks 2018-01-02 20:05:54 +01:00
deajan
73d592ad34 Merged WaitForTaskCompletion and ParallelExec into ExecTasks 2018-01-02 20:02:57 +01:00
deajan
0a1dc91fad Fixed bogus global WAIT_FOR variable 2017-11-23 16:58:29 +01:00
deajan
6d217c1e15 Reintroduced fix from #120 2017-11-22 15:05:09 +01:00
deajan
71a0437de6 Ensured writeLocks=false at beginning of lock handling 2017-11-22 15:02:17 +01:00
deajan
86930737b0 Added -f to local replica unlock 2017-08-14 22:21:41 +02:00
deajan
09c664fe4b Moved commandline args setup to sub function 2017-07-27 22:50:48 +02:00
deajan
8d9a6be16a Typo fixing 2017-06-18 22:11:09 +02:00
deajan
1dc9408044 Fix double compression extension 2017-06-09 09:56:11 +02:00
deajan
9676ccccad Removed work comments 2017-06-09 08:34:48 +02:00
deajan
45e4419a0f Fixed typo 2017-06-09 08:33:57 +02:00
deajan
9b9631fe2c Changed sed -E to sed -r for compat issues 2017-06-08 16:30:20 +02:00
deajan
5c36e803d8 Revert "More sort enforcing"
This reverts commit fbb36b51b7.
2017-06-08 15:39:57 +02:00
deajan
fbb36b51b7 More sort enforcing 2017-06-08 15:20:36 +02:00
deajan
4678ab7e71 Fixed missing env for LC_ALL 2017-06-08 09:25:33 +02:00
deajan
261521d047 Added LC_ALL to all ssh calls 2017-06-07 12:48:52 +02:00
deajan
30c6b3ec46 timestampList is not used for ACL lists yet 2017-06-07 12:17:39 +02:00
deajan
543cfc1159 Fixing sort order in conflictList 2017-06-06 17:39:53 +02:00
deajan
679e140084 Fix new regex in treelist for rsync output 2017-06-06 16:47:32 +02:00
deajan
d0d7be40c3 Added --dry support for conflict list 2017-06-05 18:59:05 +02:00
deajan
7a24cf49cd Implemented --alert-conflicts options 2017-06-05 18:53:15 +02:00
deajan
be3b3d39b6 Added error handling to conflict list functions 2017-06-05 15:32:38 +02:00
deajan
7260d43416 Improved conflict list work 2017-06-04 19:07:22 +02:00
deajan
1d7cb5be53 Multiple file list fixes 2017-06-04 13:01:34 +02:00
deajan
2b786abc6a Some comment removal 2017-06-03 13:57:10 +02:00
deajan
967ce33977 WIP: conflict list 2017-06-03 13:51:49 +02:00
deajan
37ca73a6f9 moved unfortunate comment placement 2017-06-03 01:28:34 +02:00
deajan
9e1c3c2a65 WIP: conflict list 2017-06-03 01:20:38 +02:00
deajan
862a6fd235 Fixed some more typo 2017-06-02 15:42:45 +02:00
deajan
83fd33bf78 WIP: conflict list 2017-06-01 17:45:02 +02:00
deajan
99b606fef8 WIP: conflict list 2017-05-31 18:02:18 +02:00
deajan
b0307fd555 Another typo fix 2017-05-31 12:36:39 +02:00
deajan
eb73d49c69 Typo fixing 2017-05-31 12:31:18 +02:00
deajan
d91230e22f WIP: conflict list 2017-05-31 11:16:36 +02:00
deajan
825e051e3b WIP: conflict list 2017-05-30 15:45:43 +02:00
deajan
a7ceea1dac WIP: conflict list 2017-05-30 15:00:05 +02:00
Orsiris de Jong
6a4b3701d0 Merge branch 'master' into no-resume 2017-05-30 14:50:21 +02:00
deajan
45cb042fa0 Added --no-resume option 2017-05-30 14:46:35 +02:00
deajan
5c60e7a9a2 WIP: conflict detection 2017-05-30 14:36:04 +02:00
deajan
a99a96e871 WIP: conflict detection 2017-05-30 14:35:44 +02:00
deajan
f98a9a0748 WIP: getting conflict list of files 2017-05-30 12:16:59 +02:00
deajan
b541a7c98e WIP: detect conflict files 2017-05-30 11:14:11 +02:00
Orsiris de Jong
a32314c720 Merge branch 'master' into fix_options 2017-05-30 10:18:48 +02:00
deajan
520c20659f Added missing options to subprocess in daemon mode 2017-05-30 10:12:28 +02:00
deajan
908c9af888 Added --log-conflicts option 2017-05-30 09:29:16 +02:00
deajan
0b442e2bcf Updated work comments 2017-05-30 09:19:47 +02:00
deajan
a32b5f8321 Bumped version to next dev 2017-05-30 09:15:48 +02:00
deajan
2c1e688d8e Bumped dev versions to rc 2017-05-30 09:11:00 +02:00
deajan
78dc39b86f Change 23242 to 2017-05-30 09:09:25 +02:00
deajan
5677335c24 Removed WIP dev sleep command in treeList 2017-05-22 11:19:03 +02:00
deajan
762fd236a0 Bumped version to dev again 2017-05-22 09:32:34 +02:00
deajan
19c15d2265 Bumped version to v1.2 final 2017-03-23 23:02:43 +01:00
deajan
1404b81d56 Added initiator dir check before running monitor mode 2017-03-21 22:56:03 +01:00
deajan
baaf1a621a Bumped version to v1.2RC3 2017-02-10 11:53:01 +01:00
deajan
685d1d0bf1 Don't show failed commands in stdout, only log them 2017-02-10 11:15:41 +01:00
deajan
8c40e0c950 Removed unnecessary spaces 2017-02-10 10:35:17 +01:00
deajan
d539892188 Bumped to stable state 2017-02-08 16:27:01 +01:00
deajan
98d3cc99b8 Simplified ssh_filter 2017-02-08 15:28:41 +01:00
deajan
4135c59869 Added _REMOTE_TOKEN for ssh_filter 2017-02-08 13:52:04 +01:00
deajan
77e4a05613 Bumped version to v1.2RC2 2017-02-08 08:39:26 +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
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
69f8945806 Fix for escaped UTF-8 characters in log files 2017-02-03 14:09:14 +01:00
deajan
7e4400ba7a Fixed typo 2017-02-03 11:15:59 +01:00
deajan
d1e5a50c0d Update files 2017-02-03 09:52:24 +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
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
7039a8a16c Bumped version to v1.2-RC1 2016-12-13 20:41:25 +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
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
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
ded6203ae3 Removed unnecessary comments 2016-12-11 22:54:56 +01:00
deajan
23cac5cad6 Unexpanded all source files 2016-12-11 20:54:40 +01:00
deajan
882cd7099e Bootstrap test 2016-12-11 14:57:02 +01:00
deajan
8bce416b62 Fixed typo 2016-12-11 14:52:09 +01:00