2
0
mirror of https://github.com/deajan/osync synced 2024-11-15 12:12:56 +00:00
Commit Graph

1195 Commits

Author SHA1 Message Date
deajan
02d0024df9 Rebuilt targets 2019-05-20 18:18:20 +02:00
deajan
3accf5f254 Improved --summary output 2019-05-20 18:18:00 +02:00
deajan
bd8fc2f043 Rebuilt targets 2019-05-20 17:53:04 +02:00
deajan
40c44368ec Fixed deletion logging in unidirectional sync 2019-05-20 17:52:43 +02:00
deajan
7331612a11 Rebuilt targets 2019-05-20 17:35:05 +02:00
deajan
e12d30d9c5 Minor code tweaks 2019-05-20 17:15:27 +02:00
deajan
c18977bcef Added target helper to install script 2019-05-20 14:55:59 +02:00
deajan
3d6ec17f27 Rebuilt targets 2019-05-20 14:30:04 +02:00
deajan
44d8635042 Added --sync-type for unidirectional sync, implements #147 2019-05-20 14:28:26 +02:00
deajan
71f857f9c8 Added --syncÃ-type for unidirectional sync 2019-05-20 14:26:59 +02:00
deajan
de99f0efdf Removed work output 2019-05-20 14:06:21 +02:00
deajan
0d501209fa Fixed litteral 'synced' state instead of step 2019-05-20 12:13:24 +02:00
deajan
efeb665818 Fixed typo generating bogus resume actions 2019-05-20 12:11:30 +02:00
deajan
7e945197c2 WIP SYNC_TYPE 2019-05-20 12:11:04 +02:00
deajan
a52068dec0 Fixed possible issues with spaces 2019-05-20 11:50:58 +02:00
deajan
c96bdfe5ce Rebuilt targets 2019-05-20 11:37:55 +02:00
deajan
8018871168 Minor code improvements 2019-05-20 11:37:37 +02:00
deajan
826ebe1c2c Fix potential quick_sync parameter issues 2019-05-20 11:32:55 +02:00
deajan
4b90ac3a27 WIP --sync-type 2019-05-20 11:19:38 +02:00
deajan
0e7f969588 Fixed summary counters should be global 2019-05-20 11:11:12 +02:00
deajan
aa92531b99 Rebuilt targets 2019-05-19 17:22:07 +02:00
deajan
4542f62fce Fix subshell variables not propagated 2019-05-19 17:21:32 +02:00
deajan
020f674932 Rebuilt targets 2019-05-19 17:12:53 +02:00
deajan
22fe557c54 Typo fixes 2019-05-19 17:12:12 +02:00
deajan
1339e6463a Rebuilt targets 2019-05-19 17:02:20 +02:00
deajan
99a7c932f7 Quick typo fix 2019-05-19 17:01:50 +02:00
deajan
932ecd93fd Rebuilt targets 2019-05-19 17:01:02 +02:00
deajan
201aadd33d Update summary 2019-05-19 17:00:22 +02:00
deajan
5eecb719d3 Rebuilt targets 2019-05-19 16:42:32 +02:00
deajan
76d80b17f6 Deprecat LOG_CONFLICTS as experimental feature 2019-05-19 16:42:08 +02:00
deajan
094d1538bb More --summary statistics 2019-05-19 16:39:19 +02:00
deajan
c2f0b41076 Rebuilt targets 2019-05-18 13:40:29 +02:00
deajan
e8470218f6 Bumped build 2019-05-18 13:40:03 +02:00
deajan
3a9c427855 Improve deletion tests to address #165 2019-05-18 13:39:32 +02:00
Ingo Weinhold
56c0197b6b fix several quoting/escaping issues
... reproducible when the remote target sync dir contains spaces.
2019-04-05 14:25:15 +02:00
deajan
5b0c40f3f0 Rebuilt targets 2019-03-15 12:10:27 +01:00
deajan
61a9aa6a91 Bumped version 2019-03-15 12:10:06 +01:00
deajan
8a57b568e9 Improved version check 2019-03-15 12:09:40 +01:00
deajan
5e42a088d0 Rebuilt targets 2019-03-15 11:58:45 +01:00
deajan
0f5bed992f Fixed bogus config file revision check on error 2019-03-15 11:54:40 +01:00
deajan
51dded275b Mailer fixes and semantic fixes 2019-03-01 10:41:09 +01:00
deajan
61f6593cbe Ported fixes from backup_tool_script 2019-03-01 09:28:36 +01:00
deajan
8fe0afae56 Fixed typo 2019-02-26 12:10:13 +01:00
deajan
5477ed96fe Rebuilt targets 2019-02-26 12:07:57 +01:00
deajan
c15f9ea4a2 Removed bogus SIMPLE log calls 2019-02-26 12:07:35 +01:00
deajan
39feb76d2e Simpler current log 2019-02-14 10:02:37 +01:00
Orsiris de Jong
8e8ed101bb
Merge pull request #163 from deajan/osync2-compat
Osync2 compat
2019-02-08 13:10:46 +01:00
deajan
d9b587fd4a Fixed email RFC822 check 2019-02-07 17:04:41 +01:00
deajan
027422b014 Cosmetic changes 2019-01-29 10:04:27 +01:00
deajan
e44bdee73e Fixed more boolean replacements 2019-01-22 18:11:18 +01:00
deajan
22bd6181f1 Removed debug log line 2019-01-12 11:46:42 +01:00
deajan
e850f8f792 Fixed boolean conversion after init 2019-01-12 10:49:30 +01:00
deajan
2da2109229 Fixed conflict backup multiple unit test 2019-01-11 23:56:48 +01:00
deajan
f1cf7eb8e2 Updated config file structure, checks and upgrade script 2019-01-11 00:34:12 +01:00
deajan
f3bbaceb73 Reenabled local and remote tests 2019-01-02 20:54:57 +01:00
deajan
88491d0fee Disabled conflictList test 2019-01-02 20:19:24 +01:00
deajan
1c9db7136f No conflictlist file will not trigger an error 2018-12-29 18:41:12 +01:00
deajan
71942082f8 Added config file version check 2018-12-21 19:07:56 +01:00
deajan
6e56e2b63e Removed extra tabs 2018-12-21 18:51:34 +01:00
deajan
3931b7b771 Improved log readability from ExecTasks command output 2018-12-21 14:35:11 +01:00
deajan
9e64753569 Removed extra tabs 2018-12-21 12:44:41 +01:00
deajan
98201cf615 Fixed possible deadlock in ExecTasks 2018-12-17 22:43:34 +01:00
deajan
6ac45eea02 Added comment to variable 2018-12-17 20:07:22 +01:00
deajan
cae3bb73f7 Improved command output logging 2018-12-17 19:37:09 +01:00
deajan
fad217447d Rebuilt targets 2018-11-05 12:14:03 +01:00
deajan
5857d8200b Added patch from Vladimirek 2018-11-05 12:13:07 +01:00
deajan
a466e94b9c Some exit logs should be flagged as errors 2018-11-05 12:10:22 +01:00
deajan
08af105dd9 Added busybox-w32 detection 2018-10-26 12:28:31 +02:00
deajan
3314f947b0 Improved SetConfFileValue 2018-10-26 12:25:11 +02:00
deajan
27d6b80fad Minor fixes 2018-10-18 22:33:46 +02:00
deajan
34724352f7 Update texte files 2018-10-18 00:02:23 +02:00
deajan
27f6d2a948 Rebuilt targets 2018-10-17 23:53:13 +02:00
deajan
b8f18ac860 Update coding conventions 2018-10-17 23:52:46 +02:00
deajan
01e4ec9ef1 Update tests 2018-10-17 23:33:52 +02:00
deajan
fb1fd00f0e Fixed multiple race conditions 2018-10-17 23:33:30 +02:00
deajan
569048c19b Fixed bogus WAIT_FOR_TASK_COMPLETION_ return from ExecTasks 2018-10-15 19:23:48 +02:00
deajan
efd8dca58e Fixed another batch of wrong ExecTaks ids 2018-10-14 23:15:38 +02:00
deajan
92dbd6b2fc Fixed partial WAIT_FOR_TASK_COMPLETION_ output 2018-10-14 23:10:34 +02:00
deajan
7e7388a9eb Fixed variable leak 2018-10-14 23:08:03 +02:00
deajan
109f0a0887 Fixed bogus ExecTasks id checks 2018-10-14 23:06:19 +02:00
deajan
54a665fe7e Removed debugging code 2018-10-14 22:51:01 +02:00
deajan
255be72c43 Removed diagnostic lines 2018-10-14 22:41:18 +02:00
deajan
04f11fcab8 Reactivated all tests 2018-10-14 19:14:22 +02:00
deajan
39e5bb92f0 Removed travis debug lines 2018-10-14 19:13:04 +02:00
deajan
0f0ba9b001 Change remote RUN_DIR for unit tests only 2018-10-14 19:12:16 +02:00
deajan
330495b1e8 Prevent variable leak in Logger 2018-10-14 16:35:34 +02:00
deajan
203400000f Minor code cleanup 2018-10-14 16:17:58 +02:00
deajan
85ac20080b ExecTasks debug __CheckArguments should happen before debug log 2018-10-14 16:06:07 +02:00
deajan
a28c20d9bd Fixed variable mismatch 2018-10-14 10:51:11 +02:00
deajan
c9bc7f4b6c Change all occurences of '-' in ExecTasks id 2018-10-13 23:41:13 +02:00
deajan
17cf11eb0b ExecTasks ids may not include dots 2018-10-13 17:20:18 +02:00
deajan
39053f59e3 More precise ExecTasks ids 2018-10-13 17:05:53 +02:00
deajan
295c74ca58 More logging for ExecTasks 2018-10-13 17:02:02 +02:00
deajan
1896ec793e Removed empty line making missing shebang 2018-10-13 10:43:11 +02:00
deajan
5c6132dd2c Moved rsyncCmd background execution to eval 2018-10-13 10:36:31 +02:00
deajan
438c85b777 Removed unnecessary ExecTasks from _getFileCtimeMtimeRemote function 2018-10-12 19:42:39 +02:00
deajan
bbc960d566 No more ping/ping between initiator/target daemons 2018-10-10 20:58:28 +02:00
deajan
c963d71ecd Fixing ping/pong between initiator and targets 2018-10-10 20:57:48 +02:00
deajan
1b8f2ea7fc Added daemon mode known issue 2018-10-10 20:57:22 +02:00
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
dfe09f2fa3 Rebuilt targets 2018-10-10 02:19:59 +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
ae64a967f6 Continuing isolating ConflictLog detection issue 2018-10-08 22:40:41 +02:00
deajan
2ca8803b3a No need for paranoia debug in CleanUp for remote exec 2018-10-08 21:53:30 +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
0e2189c441 Added RUN_DIR subset 2018-10-08 21:29:47 +02:00
deajan
1ab6042a62 Fixed typo in _getFileCtimeMtimeRemote 2018-10-08 21:17:36 +02:00
deajan
a5f5b3a800 Rebuilt targets 2018-10-08 20:12:59 +02:00
deajan
b95474a8e6 Updated expr to not use extended regular expressions 2018-10-08 20:11:39 +02:00
deajan
e3855c4256 Revert work on _getCtimeMtimeFileRemote error detection 2018-10-07 17:51:15 +02:00
deajan
51f6dcbd71 Trying to identify concurrency issue with ConflictDetection 2018-10-07 17:50:37 +02:00
deajan
3d68a135a4 Conflict detection random bug isolation 2018-10-07 14:43:31 +02:00
deajan
9e17e114f7 Rebuilt targets 2018-10-07 14:42:41 +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
fa5cf2de57 Another set of conflictLog issue isolation 2018-10-07 12:25:53 +02:00
deajan
9eb29c3454 Rebuilt targets 2018-10-07 12:25:27 +02:00
deajan
4129dfff37 Typo fix 2018-10-07 12:25:07 +02:00
deajan
c452bd45e6 Increased TSTAMP randomization 2018-10-07 12:24:35 +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
e0f177f5c2 Added comment about unit file verification 2018-10-06 21:57:11 +02:00
deajan
6bd5862702 Removed unused argument from conflictList 2018-10-06 21:41:58 +02:00
deajan
eb8c780d84 Rebuilt targets 2018-10-06 20:03:58 +02:00
deajan
58e5c654d3 Isolate conflict detect bug 2018-10-05 00:51:20 +02:00
deajan
e411c81f3d Removed double debug logs 2018-10-05 00:46:11 +02:00
deajan
57647b8960 Isolate ConflictDetection function 2018-10-05 00:39:48 +02:00
deajan
5b395b3c04 Travis debug can fail 2018-10-02 23:37:33 +02:00
deajan
4bd4bbc247 Reverted travis debug lines 2018-10-02 23:26:04 +02:00
deajan
4de784d90f Added default umask 2018-10-02 23:20:26 +02:00
deajan
6c1b7a541b Fixed bogous CreateDir rights 2018-10-02 23:06:33 +02:00
deajan
6e7b99debb IsInteger should be part of ofunctions micro/mini 2018-10-02 23:00:54 +02:00
deajan
996e6251e1 Added missing IsInteger function 2018-10-02 22:43:24 +02:00
deajan
a265ca4eef Travis here and travis there 2018-10-02 22:38:57 +02:00
deajan
306d5ff1ad Added permissions on CreateDir 2018-10-02 22:36:30 +02:00
deajan
74271d220c I f*cking hate travis 2018-10-02 21:27:12 +02:00
deajan
8a350333a8 Travis debug... 2018-10-02 19:32:21 +02:00
deajan
e9daf2b2bf Removed unused code 2018-10-02 19:30:36 +02:00
deajan
d58071c898 Why is travis so bad... 2018-10-02 19:29:15 +02:00
deajan
b07ee4a645 Fixed installer directive 2018-10-02 19:26:57 +02:00
deajan
9537b92bf6 Rebuilt targets 2018-10-02 19:02:31 +02:00
deajan
2c857a1e83 Fixed removing directories on soft deletion 2018-10-02 19:01:44 +02:00
deajan
6f2e1af3d7 Added release policy 2018-10-02 18:24:40 +02:00
deajan
0b7b6808d5 Add shellcheck exclusions 2018-10-02 18:22:36 +02:00
deajan
7eab6df734 Better log message 2018-10-02 18:19:32 +02:00
deajan
bc6ebdb80e Fixed merge paths and removed unused code 2018-10-02 18:13:48 +02:00
deajan
0d6f7e0ca0 Merge cleanup 2018-10-02 18:11:01 +02:00
deajan
49948dd637 Fixed installer 2018-10-02 18:09:21 +02:00
deajan
f35d5841c2 Added cleanup routine 2018-10-02 18:09:12 +02:00
deajan
81148db1fa Fixed merge producing rogue logs 2018-10-02 18:08:03 +02:00
deajan
250ac48ed6 Indentation fix 2018-10-02 11:41:46 +02:00
deajan
65d4c3c3ff Random generator improvements 2018-10-02 11:37:46 +02:00
deajan
bbfa4c9d3b Rebuilt targets 2018-10-02 10:52:25 +02:00
deajan
25070032c4 Typo fix 2018-10-02 10:51:45 +02:00
deajan
4f76bb4ad2 Simpler merge process 2018-10-02 10:49:28 +02:00
deajan
465a3b9b80 IsNumeric and IsNumericExpand are now busybox compatible 2018-10-02 10:49:16 +02:00
deajan
a9434e605b Removed unused dummy function 2018-10-02 10:09:40 +02:00
deajan
06004ac05d Function reorganisation 2018-10-02 10:07:01 +02:00
deajan
b2463d2e08 Added includes to batcher 2018-10-02 09:37:25 +02:00
deajan
13286c2720 [WIP] Merge simplifications 2018-10-02 09:35:48 +02:00
deajan
a734dadfde Don't dev at night kids... 2018-10-02 09:24:15 +02:00
deajan
c694580ae5 Yet another typo fix 2018-10-02 09:22:41 +02:00
deajan
4f3e6a11d2 Fixed typo 2018-10-02 09:17:59 +02:00
deajan
f028f3b6d2 Added preprocessing to batch runner 2018-10-02 09:07:19 +02:00
deajan
2e6e17962c Removed space 2018-10-01 21:04:41 +02:00
deajan
52cf42a53c Add TSTAMP and SCRIPT_PID variables 2018-10-01 21:03:00 +02:00
deajan
5bc77dfe76 Add PoorMansRandomGenerator subset 2018-10-01 21:02:47 +02:00
deajan
1869b1e82f Added Trapquit to trigger CleanUp 2018-10-01 20:49:53 +02:00
deajan
3532b50c38 Added CleanUp subset 2018-10-01 20:46:55 +02:00
deajan
d0b40257fa Added cleanup function to installer 2018-10-01 20:46:21 +02:00
deajan
59b7562a3e Fixed Logger missing RUN_DIR 2018-10-01 20:43:27 +02:00
deajan
c99a1293c7 Debug conflictLog in travis 2018-10-01 20:28:46 +02:00
deajan
eb609f7faa Some release details 2018-10-01 20:13:58 +02:00
deajan
7e678b6480 Debug output for travis conflictDetect tests 2018-10-01 20:01:26 +02:00
deajan
b4cd0834cd Fixed shellcheck SC2027 in RsyncPatterns 2018-10-01 14:13:05 +02:00
deajan
55534e0669 Fixed shellcheck SC2053 in Vercomp 2018-10-01 14:10:16 +02:00
deajan
2eba91a58f Removed unused variables 2018-10-01 14:09:20 +02:00
deajan
01864e4980 Rebuilt targets 2018-10-01 14:03:09 +02:00
deajan
87cdc8eb98 Removed extra output from PoorMansRandomGenerator 2018-10-01 14:02:44 +02:00
deajan
740d5277cc Rebuilt targets 2018-10-01 11:31:22 +02:00
deajan
a230d32042 Improve PoorMansRandomGenerator function 2018-10-01 11:27:01 +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