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

335 Commits

Author SHA1 Message Date
deajan
3f204212ee Bugfixing remote sync attr updates 2016-04-03 00:32:15 +02:00
deajan
769e4fc7b0 Improved sync_attr function for UTF8 filenames 2016-04-02 14:47:28 +02:00
deajan
23b2347765 Removed typo file 2016-04-01 21:29:33 +02:00
deajan
757c53ca3a Merge branch 'master' into betterKillChilds
Conflicts:
	dev/debug_osync.sh
	dev/n_osync.sh
	osync.sh
2016-04-01 21:24:53 +02:00
deajan
99532149f0 Fixed some ambiguous redirection in get_ctime_mtime 2016-04-01 00:16:25 +02:00
deajan
c0f0a842a9 Sync attributes didn't honor dry argument 2016-03-31 23:23:23 +02:00
deajan
259b707cce Fixed local in non function remote heredoc 2016-03-31 23:18:06 +02:00
deajan
afaf960c5f Added missing pre-flight checks 2016-03-31 22:50:37 +02:00
deajan
5ae98f4fd4 Wronf ofunctions.sh uploaded 2016-03-31 22:41:51 +02:00
deajan
9a9d31ee66 Better time control and pid kill handling 2016-03-31 22:32:03 +02:00
deajan
433a72938f Reverted using eval in SendAlert 2016-03-31 12:01:10 +02:00
deajan
0a43c1a120 Fixed bogus SSH_OPTS 2016-03-31 10:17:50 +02:00
deajan
2d2d06278d Bumped osync.sh to stable state 2016-03-29 23:05:32 +02:00
deajan
fb53664877 Added systemd file, installer stats and ssh known host ignore option 2016-03-29 22:55:57 +02:00
deajan
b4f4a122c8 Added pfSense mail support and fixed FreeBSD install.sh 2016-03-22 12:43:01 +01:00
deajan
3a988bbfb7 Minor enhancement in os detection log 2016-03-20 16:53:18 +01:00
deajan
e41ddca8f7 Added cygwin to the list of supported OS 2016-03-20 16:47:51 +01:00
deajan
8428662d61 Added option to ignore unknown OS 2016-03-19 10:48:46 +01:00
deajan
d11bd61473 Some sanity code cleanup 2016-03-14 21:51:29 +01:00
deajan
dc0cc3561c Some more typo fixes 2016-03-10 22:16:59 +01:00
deajan
f652eb1fc1 Also fixed the typo in the other builds :) 2016-03-10 19:27:09 +01:00
deajan
b2b8539dff Reduced log level for 3rdparty pings 2016-03-10 10:27:03 +01:00
deajan
7a485bd784 Bug fix for in tree_list error log failing for WaitForCompletion 2016-03-08 23:54:25 +01:00
deajan
d0da1398d2 Fixed rsync option placement 2016-03-01 20:13:48 +01:00
deajan
efd3a4f8b3 Fixed daemon mode exiting when child execution gives warnings 2016-02-21 11:11:28 +01:00
deajan
3626c4d049 Bug fixing last code cleanup 2016-02-19 21:44:52 +01:00
deajan
5cdc840fab Added execution flag SYNC_ATTR=yes 2016-02-19 09:34:43 +01:00
deajan
a81d4eada0 Setting sync_attrs as experimental function 2016-02-19 09:28:57 +01:00
deajan
d7731b6a88 First working sync_attrs push 2016-02-19 01:13:17 +01:00
deajan
f061004f0b sleeping... commiting for sync_attrs too 2016-02-19 00:30:02 +01:00
deajan
8c95802fd7 More work on sync_attrs function 2016-02-19 00:13:22 +01:00
deajan
bb0562d3f0 More typo fixing here 2016-02-18 23:28:57 +01:00
deajan
d8513f545b More sanity fixing 2016-02-18 21:00:23 +01:00
deajan
5b15b19031 Fixed more typos 2016-02-18 20:54:07 +01:00
deajan
4ecddccde7 Environment check bugfix 2016-02-18 16:21:17 +01:00
deajan
5dd6f1d367 Close to sync_attr feature 2016-02-17 23:00:45 +01:00
deajan
48fcda968a Some code cleanup 2016-02-17 13:51:42 +01:00
deajan
5fc500afc9 Preparing sync_attrs function 2016-02-16 22:15:44 +01:00
deajan
47fbcfd817 WIP on attr sync function 2016-02-16 20:52:53 +01:00
deajan
39fef7ba50 Fixed typo 2016-02-08 13:00:57 +01:00
deajan
4a3d18b54f Reverted wrong permission check 2016-02-08 12:51:39 +01:00
deajan
b3969feb4d Fixed wrong permission check with remote deletion 2016-02-08 12:36:40 +01:00
deajan
0c0b86ab60 Fixed using return in non function on remote deletion 2016-02-08 11:41:03 +01:00
deajan
c8637adc38 Fixed rsync pattern functionload when quicksync mode enabled 2016-02-02 10:37:08 +01:00
deajan
cafa1347a4 Fixed quicksync trying to check config file 2016-02-02 10:32:13 +01:00
deajan
c2377fc2a5 Fixed wrong log function call in debug mode 2015-12-21 14:09:17 +01:00
deajan
93793ed7b4 Fixed more typos in cmdline options 2015-12-16 12:05:56 +01:00
deajan
3c6c115a4b Another typo bites the dust :( 2015-12-15 13:45:11 +01:00
deajan
7e0de0e5c0 Fixed more typos :( 2015-12-15 13:40:50 +01:00
deajan
03719ecb94 Upgrade script adds missing config file values 2015-12-15 13:18:46 +01:00
deajan
9fda36adb7 More fixes for GNU / non-GNU versions of mail command 2015-12-15 13:03:05 +01:00
deajan
941bf5bf08 Fixed subject in sendmail 2015-11-30 14:49:46 +01:00
deajan
0cc9667d64 Fixed some typos in include exclude functions 2015-11-28 12:57:23 +01:00
deajan
da37a9a4ac Fixed partial dir exclude order 2015-11-28 12:29:13 +01:00
deajan
1e71371c31 Added preflight checks for config file. 2015-11-28 12:03:28 +01:00
deajan
f7d22fc549 Fixed string typo. 2015-11-28 11:43:27 +01:00
deajan
b4159c1b02 Finished work on include / exclude lists 2015-11-28 11:39:10 +01:00
deajan
4398c02f9d Added rsync include patterns 2015-11-27 14:12:44 +01:00
deajan
9c2df9990f Merge script should take relative path for ofunctions 2015-11-19 23:07:02 +01:00
deajan
1677f1dd84 Error mismatch update 2015-11-16 10:07:41 +01:00
deajan
7875469a94 Initial upload of function merge 2015-11-13 20:16:20 +01:00
deajan
7dd48aa44e typo fixing 2015-09-28 14:10:53 +02:00
deajan
65b1f6d2d9 Fixed typo in stderr redirect 2015-09-25 11:40:31 +02:00
deajan
b34e53da71 Added WaitForTaskCompletion to remote connectivity checks 2015-09-24 20:37:40 +02:00
deajan
5bca46e3cf Decided to make upgrade script more manual. Leaves time for other dev 2015-09-23 22:27:08 +02:00
deajan
1e8216f2ba Fixed multiple typos 2015-09-23 16:51:30 +02:00
deajan
e4765d4b75 Typo fixind and improving code compliance 2015-09-23 16:10:11 +02:00
deajan
036e600d2c More debugging code compliance 2015-09-23 15:02:28 +02:00
deajan
7d69160979 Minor updates 2015-09-21 12:41:31 +02:00
deajan
ec274f18e5 Minor code compliance updates 2015-09-21 11:22:01 +02:00
deajan
76014dc749 Quick fix for paranoia debug messages in debug mode 2015-09-19 18:46:30 +02:00
deajan
9959b693ca Simple code compliance 2015-09-19 18:40:26 +02:00
deajan
2415a25626 New Killchilds function 2015-09-18 09:41:18 +02:00
Jody
5076bf2a93 Fix two typos in osync.sh 2015-09-14 23:57:32 -07:00
deajan
8337a8150c Initial TrapQuit rework 2015-09-14 09:23:24 +02:00
deajan
a918d89752 Latest typos fixed... works again. 2015-09-13 10:40:54 +02:00
deajan
6ba32c0e08 Fixing typo... again and again :) 2015-09-12 22:29:51 +02:00
deajan
7cb267d000 Fixing typos... again 2015-09-12 22:22:38 +02:00
deajan
4f799bf2e7 More debug functionnality 2015-09-12 22:09:05 +02:00
deajan
78814c11bc Other typos 2015-09-12 20:49:24 +02:00
deajan
a9ae4f50ad Fixed typos 2015-09-12 20:34:16 +02:00
deajan
c1235d2a55 More paranoia debugging 2015-09-12 19:33:53 +02:00
deajan
e534a7f537 Minor fixes 2015-09-12 19:02:12 +02:00
deajan
c44ebd094a Finishing refactor 2015-09-12 12:57:27 +02:00
deajan
fd98af1391 Cleanup before last refactor part 2015-09-11 19:39:57 +02:00
deajan
69226a75db Refactoring going on 2015-09-11 15:34:23 +02:00
deajan
8f373258ad More and more refactoring 2015-09-10 21:42:11 +02:00
deajan
5370f203b8 Some code refactoring 2015-09-10 17:48:57 +02:00
deajan
c81b2293e8 Some more code compliance 2015-09-10 09:13:02 +02:00
deajan
78f7fe3b9c Various coding style compliance changes 2015-09-09 18:59:23 +02:00
deajan
4a8b0131b1 Added some automatic code checks 2015-09-09 14:50:21 +02:00
deajan
d65eea5c73 More and more code compliance 2015-09-09 13:31:42 +02:00
deajan
1f4a6a2b11 Various coding style compliance changes 2015-09-09 11:23:47 +02:00
deajan
d3a43d825a Some more coding style changes 2015-09-09 09:38:05 +02:00
deajan
2e12882ade Still doing code compliance 2015-09-08 19:17:26 +02:00
deajan
c4388c242b Coding style compliance 2015-09-08 16:08:14 +02:00
deajan
4bfe74de59 function coding style compliance 2015-09-08 14:11:08 +02:00
deajan
ae8dd18fed Initial compliance with coding standards 2015-09-08 14:04:48 +02:00
deajan
2175468174 Added realpath emulation 2015-07-31 15:21:34 +02:00
deajan
cb970eba90 Release v1.00 2015-07-20 14:13:14 +02:00
deajan
5658b54249 Release v1.00 2015-07-20 14:12:30 +02:00
deajan
a3246d785c Improved error logging 2015-07-17 09:47:55 +02:00
deajan
a4c35ab806 Merged hotfix for #22 2015-06-27 22:39:21 +02:00
deajan
c472b47a73 Improved ssh uri recognition 2015-06-26 17:54:49 +02:00
deajan
7b7b31fbb0 Merge #19 and unuglify 2015-06-26 17:23:05 +02:00
deajan
dd37cf062e Merge branch 'ssh_user_opt_fix' of https://github.com/onovy/osync into onovy-ssh_user_opt_fix
Conflicts:
	osync.sh
2015-06-26 16:44:24 +02:00
deajan
54c13b85ef Hotfix #22 - Missing full path in soft deletion 2015-06-26 16:31:11 +02:00
Orsiris de Jong
9aa2e1166e Added missing slash 2015-06-24 21:50:46 +02:00
Orsiris de Jong
eb9625bddc Hotfix #22 added rm -rf if file already exists
Fix is only useful if deleted directories already exist and are not empty
2015-06-24 21:43:00 +02:00
Orsiris de Jong
adad3257b3 Hotfix #22 added -f to mv command 2015-06-24 14:07:00 +02:00
deajan
9815a7bff3 Fixed #21 for missing readlink on MacOS X & BSD 2015-05-18 10:53:11 +02:00
onovy
6830127f95 PR #16 fix. 2015-04-21 12:18:38 +02:00
deajan
0ea1a3e5de Fixed multiple log messages since lower sleep time 2015-04-20 14:11:09 +02:00
deajan
2f827f9246 Fixed typo in soft deletion and added paranoia checksum 2015-04-13 21:33:43 +02:00
deajan
737e13ddb9 Fixed #16 where remote user didn't work for elder config files 2015-04-01 15:37:41 +02:00
deajan
f870e9b1e6 Merge branch 'master' of github.com:deajan/osync
Merged v1.00pre into master
2015-04-01 11:02:26 +02:00
deajan
864894431c Merged v1.00pre into master after successfull testing 2015-04-01 11:02:03 +02:00
deajan
bf39522b23 Removed extra slash for soft deletion 2015-04-01 10:34:40 +02:00
deajan
f45086dad3 Refactored soft deletion code 2015-03-31 01:46:07 +02:00
onovy
b992f4277d Remote user is optional now in remote slaves. 2015-03-30 20:13:39 +02:00
deajan
41781aa0da Some more work on soft deletion 2015-03-30 19:51:31 +02:00
deajan
764b3f2914 Merged #11 with new build number 2015-03-30 18:24:31 +02:00
Orsiris de Jong
f2b4dbf75f Merge pull request #11 from onovy/lock-fix
Locking fix in SyncOnChanges mode.
2015-03-30 18:21:54 +02:00
deajan
2507a08b3c Fixed onovy's PR for same dir check 2015-03-30 18:18:05 +02:00
deajan
76f1fe4fa1 Changed build dates 2015-03-30 18:12:01 +02:00
Orsiris de Jong
9c02b4f38e Merge pull request #15 from onovy/param-check
Check scripts params.
2015-03-30 18:04:01 +02:00
Orsiris de Jong
a7820c083e Merge pull request #13 from onovy/lower_sleep
Lower sleep time per cycle.
2015-03-30 17:55:00 +02:00
onovy
0722b25c03 Check scripts params. 2015-03-29 17:57:06 +02:00
onovy
67f9e8b77d Check if master and slave dirs is not same. 2015-03-29 17:30:09 +02:00
onovy
a1fb4bc7de Lower sleep time per cycle. 2015-03-29 16:35:58 +02:00
Orsiris de Jong
60f242e2ae Fixing program build date.
Need to know which osync is run on servers. This is a good way to track version.
2015-03-29 13:41:37 +02:00
onovy
52f63f2e12 Run sync after timeout in inotify mode even when no changes detected. 2015-03-29 12:40:39 +02:00
onovy
906cd15436 Locking fix in SyncOnChanges mode. 2015-03-28 22:50:37 +01:00
deajan
e7af81de98 Reworked softdeletion code (WIP). Some other fixes too 2015-03-28 19:06:17 +00:00
deajan
f134ed35a3 Fixed infamous exclude bug introduced with no globbing 2015-03-20 20:40:57 +01:00
deajan
a1c29f62d5 Fixed some low severity bugs 2015-02-18 15:03:45 +01:00
deajan
46cf6a8b36 Updated serial 2015-02-12 10:38:31 +01:00
deajan
5ba7608af0 Prevent exclude pattern globbing 2015-02-12 10:34:42 +01:00
senorsmile
260311623f fix typo in trapquit logerror 2015-01-16 22:40:58 -08:00
senorsmile
802e87fab6 fix missing test bracket on if type -p sendemail 2015-01-16 22:40:17 -08:00
deajan
ec16450c05 Fixed some other missing child pids 2015-01-16 10:55:01 +01:00
senorsmile
5c0024bb24 Update osync.sh
update osync.sh to fix "function GetRemoteOS silently failing"
2015-01-15 18:03:10 -08:00
deajan
04cc1e9211 Minor fixes 2014-11-29 15:07:09 +01:00
deajan
47886c439d Minor fixesà 2014-11-28 12:10:00 +01:00
deajan
3bf66be267 Final partial-dl upload 2014-11-26 11:25:58 +01:00
deajan
6462f87457 Updated documentation 2014-11-25 00:38:03 +01:00
deajan
2733c72fdc Fixed typo 2014-11-24 19:28:35 +01:00
deajan
13f055090f Fix process test command gets expanded too soon 2014-11-24 19:26:17 +01:00
deajan
727ae303c2 Moved msys specific code 2014-11-24 10:12:48 +01:00
deajan
f882af77ff Fixed typo 2014-09-22 21:41:52 +02:00