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