Commit Graph

372 Commits

Author SHA1 Message Date
Axel Kittenberger
78fa6208bf adding a settings('string') get call, so a upstart again operation works again, adding archive to the checkgauge, adding keep_dirs 2012-11-09 20:15:42 +01:00
Axel Kittenberger
fe41e18f7b release 2.1.2 2012-11-03 13:57:53 +01:00
Axel Kittenberger
b1257b0d48 release 2.1.1 2012-10-27 21:25:32 +02:00
Axel Kittenberger
beaa258ad0 do not flood log about waiting for processes. Fixing retry startup of rsyncssh 2012-10-23 14:31:54 +02:00
Axel Kittenberger
4a7bf07f4f 2.1.0 release 2012-10-23 09:09:50 +02:00
Axel Kittenberger
f09ac240a7 properly reconstruct settings variable in case of backward compatibly accepting it as deprecated variable 2012-10-09 18:06:46 +02:00
Axel Kittenberger
a82f4da7cd making settings{} a function 2012-10-08 09:10:03 +02:00
Axel Kittenberger
23dbbe5ecd allowing command line delay override the config file again 2012-10-07 21:40:05 +02:00
Axel Kittenberger
a6b49c8650 working on the new rsync config system 2012-10-06 14:22:08 +02:00
Axel Kittenberger
6f90c19196 working on new inheritance, chechgauge system 2012-10-06 13:43:55 +02:00
Axel Kittenberger
1bf1d13eaa new inheritance mechanics, code beautifications 2012-10-05 09:41:46 +02:00
Axel Kittenberger
899077ccd7 code beautifications 2012-10-03 17:37:49 +02:00
Axel Kittenberger
698c5c3e4d code beautifications 2012-10-03 09:23:18 +02:00
Axel Kittenberger
e0c1b25a1b code beautifications 2012-10-02 22:02:09 +02:00
Axel Kittenberger
cccf5d6a73 code beautifications 2012-10-02 08:35:31 +02:00
Axel Kittenberger
a694e0c55c Working on the 2.1 rsync configure API. Beautifing code 2012-10-02 08:17:12 +02:00
Roman Ovchinnikov
6ae28d8350 adding spaces into log entries 2012-06-15 14:12:16 +04:00
Axel Kittenberger
1847fd7cd4 changed asciidoc generation to a2x. removed currently broken feature --with-default-runner. preparing 2.0.7 2012-04-04 13:15:33 +02:00
Axel Kittenberger
79198366b7 fixed function writer 2012-03-22 19:52:14 +01:00
Axel Kittenberger
559936fe84 changed e2d logic to be unlucky garbage collector safe 2012-03-22 09:39:15 +01:00
Axel Kittenberger
8ff50c0a48 removed e2s to reduce weak tables logic complexity 2012-03-21 11:39:52 +01:00
Axel Kittenberger
e34c182b9f fixing memory leak 2012-03-16 16:05:16 +01:00
Axel Kittenberger
d6688fc8ab just some superficial cleanup 2012-02-17 09:12:01 +01:00
Axel Kittenberger
5e4fdba53a fixing creation recursing 2012-02-16 16:49:34 +01:00
Axel Kittenberger
e2681c0088 Fixing all kind of quirks in tests for Created dirctories by moving recursing logic into delay() 2012-02-16 16:05:33 +01:00
Axel Kittenberger
83e1d22b2f move recursive Create creation on dirs into delays 2012-02-16 15:36:28 +01:00
Axel Kittenberger
541bee5cf6 preparing 2.0.6 2012-02-16 08:30:53 +01:00
Axel Kittenberger
770d1880d6 Added 'delete=false' flag. if deleting set rsync to force it (otherwise this could result in some deletes not being transfered in the tests 2012-02-16 08:28:40 +01:00
Axel Kittenberger
f172c69dee fixing moved from/into deleted directories 2012-02-16 00:28:03 +01:00
Axel Kittenberger
80baea16e0 improved comments 2012-02-15 20:10:50 +01:00
Axel Kittenberger
af237aa691 splittet default configs into seperated files 2012-02-15 20:00:28 +01:00
Axel Kittenberger
b762b6f608 removed extra spaces 2012-02-15 16:47:18 +01:00
Axel Kittenberger
d667b90864 comment typos (by Pavel Gulchouck) 2012-02-15 14:45:46 +01:00
Axel Kittenberger
8f3ae7d0a1 code beautification, message normalization 2012-01-31 15:01:11 +01:00
Axel Kittenberger
13861fcadc fix fsevents for real; code beautify 2012-01-30 15:01:18 +01:00
Axel Kittenberger
28d1ea4627 Merge branch 'master' of github.com:axkibe/lsyncd 2012-01-30 14:24:33 +01:00
Axel Kittenberger
f191dc20e1 but now fix fsevents 2012-01-30 14:23:54 +01:00
Axel Kittenberger
1b6db3f093 fix what i broke 2012-01-27 15:52:42 +01:00
Axel Kittenberger
3ae6c8fb77 code beautification 2012-01-27 15:19:17 +01:00
Axel Kittenberger
64525826dd fixing fsevents Move 2012-01-27 14:12:58 +01:00
Axel Kittenberger
af00d1eb8e code beautifications 2012-01-27 14:01:00 +01:00
Axel Kittenberger
e869bbc1ca code beautification 2012-01-27 12:08:10 +01:00
Axel Kittenberger
3b5786a6a0 just some spacing 2011-11-23 11:05:42 +01:00
Axel Kittenberger
c7d11e4eef imply --insist on reset 2011-08-29 09:21:40 +00:00
Axel Kittenberger
eb6df1bed4 accept default values for rsyncOpts as overrideable by rsyncOps 2011-08-29 07:53:15 +00:00
Axel Kittenberger
1ebbc229f3 no events if shutting down 2011-08-26 20:42:36 +00:00
Axel Kittenberger
ce35d4ac77 Docs. Preparing 2.0.5 2011-08-25 11:34:44 +00:00
Axel Kittenberger
4de8c935c2 reworked exitcodes 2011-08-25 10:47:15 +00:00
Axel Kittenberger
41f5d23459 beta 2.0.5 2011-08-18 13:59:25 +00:00
Axel Kittenberger
dec35304dc added global maxProcesses limit, invoking delays has now a round-robin scheduler, changed syntax of init 2011-08-18 13:29:18 +00:00
Axel Kittenberger
09a0af3495 fixing Issue 57. Errorcode 12 is 'again'. Fail startup on again if not settings.insist 2011-08-17 09:46:36 +00:00
Axel Kittenberger
d8c03fe17e repaired inotify configure again 2011-08-16 16:53:03 +00:00
Axel Kittenberger
c5f3a17827 + The called rsync binary is now configureable through rsyncBinary
+ Fsevents MAC Os X 10.6 64-bit support (thanks to Demian Steward)
+ fixed some "make clean" oversights
+ worked on library-set feature macros to include everything lsyncd needs on various systems (old Linux'es, new Linux'es, OSX)
+ internally called "rsyncOpts" as the right spelling, rsyncOps is recognized tough */
2011-08-16 14:25:30 +00:00
Axel Kittenberger
4c56100dd0 some header changes to work with older systems. expose readdir to user scripts. write examples into doc dir 2011-07-19 13:29:19 +00:00
Axel Kittenberger
a71edbbd29 added inotifyMode 2011-06-11 16:38:47 +00:00
Axel Kittenberger
fe2226c702 also allow rsyncOpts with t 2011-06-11 14:22:16 +00:00
Axel Kittenberger
a86dd04011 preparing 2.0.4 2011-03-27 08:25:56 +00:00
Axel Kittenberger
4d07452ef9 fix % chars in excludes 2011-03-26 08:45:02 +00:00
Axel Kittenberger
f17e82ce5c escape filenames for mv commands 2011-03-24 06:42:00 +00:00
Axel Kittenberger
9a065476d1 fix pattern translation 2011-03-22 13:08:01 +00:00
Axel Kittenberger
76e3bbe2bd spawnShell comment fix 2011-03-21 08:33:37 +00:00
Axel Kittenberger
f06dc066be fixing syslog settings 2011-03-03 10:55:04 +00:00
Axel Kittenberger
26f0583dca added configurable logging facility / ident 2011-03-01 14:57:26 +00:00
Axel Kittenberger
08ede998ba Statusinterval instead of Statusintervall 2011-02-28 14:36:23 +00:00
Axel Kittenberger
e8e142b876 actually do local moves for -direct 2011-02-25 15:03:48 +00:00
Axel Kittenberger
547562f6ec preparing 2.0.3, removed fanotify stubs, not coming soon 2011-02-25 14:53:06 +00:00
Axel Kittenberger
cbe9d5c03b finished new -direct option 2011-02-25 14:39:08 +00:00
Axel Kittenberger
79e182cefe removed call to nonexisting func, comments, when mv fails on direct, rm -rf origin 2011-02-25 14:16:22 +00:00
Axel Kittenberger
9096fc9686 trying to fix, not working yet 2011-02-08 16:38:55 +00:00
Axel Kittenberger
70f880384b adding direct default configuration 2011-02-08 14:14:07 +00:00
Axel Kittenberger
7188748d64 bail when calling spawn{} on nonactive/blocked events 2011-02-08 10:34:39 +00:00
Axel Kittenberger
5a0117a9d7 Do not slurp Blanket events when generating lists 2011-02-06 20:42:44 +00:00
Axel Kittenberger
ea065d5286 mark startup events as startup event, so scripts can use it to destinguish to their own blanketevents 2011-02-01 10:05:47 +00:00
Axel Kittenberger
1a1391dbc5 fixing excludes 2011-01-26 12:02:43 +00:00
Axel Kittenberger
6c1a3edeb0 working on excludes 2011-01-26 11:49:15 +00:00
Axel Kittenberger
f5fc8c3bd2 working on excludes 2011-01-26 11:05:53 +00:00
Axel Kittenberger
71bd7a2905 fixing absolute exludes, writing an exclusion test. 2011-01-26 10:22:19 +00:00
Axel Kittenberger
d79ce6da50 allow to configure xargs 2011-01-25 11:33:14 +00:00
Axel Kittenberger
15d680b79b preparing 2.0.2 2011-01-20 19:26:57 +00:00
Axel Kittenberger
117a64d7e1 use excludes on startup rsyncs 2011-01-19 15:30:19 +00:00
Axel Kittenberger
7835de7c7b fixing excludes on startup 2011-01-19 15:17:11 +00:00
Axel Kittenberger
a996c1ae1a fixed to excludes, match only part for inotify tests 2011-01-19 13:28:44 +00:00
Axel Kittenberger
cb277f630e proposing change to exclude patterns 2011-01-19 10:55:17 +00:00
Axel Kittenberger
1ada13486e used wrong i/pairs 2011-01-18 18:41:09 +00:00
Axel Kittenberger
ad1392691c Preparing 2.0.1 2011-01-12 15:54:19 +00:00
Axel Kittenberger
e4d815b770 propose fix for garbage collecting, updated comments 2011-01-07 17:11:17 +00:00
Axel Kittenberger
83136fc6cd rsyncssh has to be recursive as well, since a move might have been split. fixed a classical wrong errno issue 2010-12-16 12:56:46 +00:00
Axel Kittenberger
fb177b3126 fix data inconsistency, create recursively 2010-12-15 13:33:48 +00:00
Axel Kittenberger
93c7f5ceab simple improvement? 2010-12-11 23:34:17 +00:00
Axel Kittenberger
22e4b27a45 optimized delay lists 2010-12-11 23:00:33 +00:00
Axel Kittenberger
bd6e753fbc optimized Queues 2010-12-11 20:00:48 +00:00
Axel Kittenberger
917d2d8873 new Queue for optimizing delays 2010-12-11 19:31:26 +00:00
Axel Kittenberger
e152564185 fixing new concern inotfy optimization 2010-12-11 18:54:10 +00:00
Axel Kittenberger
774f99bc21 fixing fsevents 2010-12-10 16:12:15 +00:00
Axel Kittenberger
52ebb96641 working fsevents\! 2010-12-10 15:30:45 +00:00
Axel Kittenberger
21b355ef75 working on fsevents 2010-12-10 13:28:10 +00:00
Axel Kittenberger
44e0e45594 working on fsevents 2010-12-07 15:42:46 +00:00
Axel Kittenberger
851280af4f allow false values to be inherited 2010-12-05 08:08:29 +00:00
Axel Kittenberger
a9eab69298 check for excludes if adding inotify watches 2010-12-04 12:17:07 +00:00
Axel Kittenberger
f6182cb9f6 fixed exclude param 2010-12-03 21:16:39 +00:00
Axel Kittenberger
07e35ffe60 allow tables as arguments to spawn/exec, so e.g. rsyncOpts can include several options 2010-12-03 19:47:33 +00:00
Axel Kittenberger
1ada503074 release 2.0.0 2010-12-02 11:57:04 +00:00
Axel Kittenberger
a20658487c indeed fix from Duncan 2010-12-01 15:19:12 +00:00
Axel Kittenberger
903649d3aa fixing alarms 2010-12-01 13:39:11 +00:00
Axel Kittenberger
b5fb18cda5 ok do not store nil in local values 2010-12-01 13:25:05 +00:00
Axel Kittenberger
288cf4ae61 upvalue save alarm comparison 2010-12-01 13:17:04 +00:00
Axel Kittenberger
ded00765c6 working on user access for observe_fd 2010-12-01 12:19:17 +00:00
Axel Kittenberger
84bc9de865 back the original alarm interface 2010-11-30 23:14:17 +00:00
Axel Kittenberger
5bc66eb1f9 Every Sync has now its own inlet. 2010-11-30 22:56:34 +00:00
Axel Kittenberger
3a04de8215 changed alarm interface. 2010-11-30 17:08:15 +00:00
Axel Kittenberger
aee59ea5c7 added user custom alarms 2010-11-29 20:32:54 +00:00
Axel Kittenberger
cfc233f37e working on OSX port 2010-11-29 17:45:04 +00:00
Axel Kittenberger
0656296463 fixing lbash 2010-11-29 16:37:46 +00:00
Axel Kittenberger
80d55b0708 timestamps / jiffies are now easier to handle in Lua as userdata */ 2010-11-29 10:56:39 +00:00
Axel Kittenberger
19c697b28d and another one, failed moves on the host need at least to delete the move origin. 2010-11-29 00:21:17 +00:00
Axel Kittenberger
15cde269c4 another obscure event turned up by churn tests
do not collapse create upon delete into a create if its a directory
so subcontents get deleted.
2010-11-29 00:12:55 +00:00
Axel Kittenberger
0025a16f51 dont do nullifications, not safe if file was already there 2010-11-28 23:57:29 +00:00
Axel Kittenberger
331d472d41 fixing log message 2010-11-28 23:41:36 +00:00
Axel Kittenberger
fc70d4c3ed rewritten event combiner, now clearly not part of user script 2010-11-28 23:39:18 +00:00
Axel Kittenberger
ed43c5c68a * use zero instead of \n delimiter in rsyncd / rsyncssh
* allowed zeros in pipes
* allow overriding delay values
* use a layer ^ in layer 3 scripts to force shell instead of
  direct binary calls
* escape ?*[] for rsync PATTERNS
2010-11-28 20:16:56 +00:00
Axel Kittenberger
67381778d8 disabled fanotify, no moves 2010-11-28 10:47:57 +00:00
Axel Kittenberger
45df73c4c0 multi monitor support 2010-11-28 09:37:43 +00:00
Axel Kittenberger
9a1c297017 rename of Inotifies->Inotify 2010-11-26 16:19:56 +00:00
Axel Kittenberger
c051e15750 made inotify (currently pseudo) optimal 2010-11-26 16:17:36 +00:00
Axel Kittenberger
82f80b5d7d fixed lbash example, default delay is 5 seconds 2010-11-26 12:52:05 +00:00
Axel Kittenberger
5519e2be8e cleanup of filedescriptors, added dryrun option 2010-11-25 22:10:24 +00:00
Axel Kittenberger
134f570ac4 activated moves 2010-11-25 07:21:35 +00:00
Axel Kittenberger
6870d83001 back to default delay 15 after testing 2010-11-24 21:32:59 +00:00
Axel Kittenberger
c604285f63 fixing rsyncssh 2010-11-24 21:26:41 +00:00
Axel Kittenberger
1994035a2e fixing rsyncssh 2010-11-24 20:34:56 +00:00
Axel Kittenberger
062adc5f19 turned of 'error' message, happens continously and perfectly normal 2010-11-24 19:29:03 +00:00
Axel Kittenberger
26b4b65976 fixed watch descriptor mixups 2010-11-24 19:21:43 +00:00
Axel Kittenberger
83aed80aa7 removed enum 2010-11-24 18:19:13 +00:00
Axel Kittenberger
20cadd6a5d working on an rsync config that works 2010-11-24 16:18:48 +00:00
Axel Kittenberger
39471bd8aa do not repeat on rsync exitcode 12 2010-11-24 10:49:29 +00:00
Axel Kittenberger
45c7f3665f splitted inotify into own c-file to be optional later. 2010-11-22 20:09:52 +00:00
Axel Kittenberger
ea0fce13e3 splitted a header file 2010-11-22 14:54:50 +00:00
Axel Kittenberger
38dc3c1d2f fixed moves from deleted dirs 2010-11-22 10:04:04 +00:00
Axel Kittenberger
5575d63bc0 trying to find a short err testcase 2010-11-21 00:02:49 +00:00
Axel Kittenberger
338dac95b4 yes better now 2010-11-20 22:51:53 +00:00
Axel Kittenberger
e6443f8515 does it work now? 2010-11-20 22:43:12 +00:00
Axel Kittenberger
6b596553b3 fixing rsync delete 2010-11-20 22:32:25 +00:00
Axel Kittenberger
ea7a42cf39 fixed relative paths 2010-11-20 18:49:00 +00:00
Axel Kittenberger
306d117959 fixing masterloop 2010-11-20 14:21:55 +00:00
Axel Kittenberger
58b4f21d56 new inotifies work now 2010-11-20 13:42:27 +00:00
Axel Kittenberger
c3b15c2aef working on it 2010-11-20 13:22:47 +00:00
Axel Kittenberger
ec336e0ed1 simplifying runners Notifies implementation 2010-11-20 13:10:52 +00:00
Axel Kittenberger
1baed5c949 fixing 2010-11-19 19:56:52 +00:00
Axel Kittenberger
c3b071d759 test working, lsyncd fixing 2010-11-19 19:16:53 +00:00
Axel Kittenberger
5c35e88f2e beta2 2010-11-17 19:20:07 +00:00