forked from lsyncd/lsyncd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
215 lines (192 loc) · 9.8 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
24-11-2012: 2.1.4
fix: making ssh custom port changes work with ssh and rsync
23-11-2012: 2.1.3
fix: fixed 2 crash conditions due to failure to read 'uSettings'
03-11-2012: 2.1.2
fix: added excludeFrom to checkgauge (thx to DavidWittman)
fix: fixed rsync option computation
enhancement: added password_file file option to rsync
27-10-2012: 2.1.1
fix: fix rsync.rsh, rsync.rsync_path, rsync.tmp_dir, rsync._extra parameters
thanks go to Birger Schmidt for this fix.
23-10-2012: 2.1.0
fix: fail startup if settings.inist is false and one of the target hosts fails
fix: in case of waiting for processes during restart only logs this state now once a minute
rather than filling the log crazy about it
enhancement: rsyncOpts has been replaced by rsync = {...} parameter lists
enhancement: default.rsyncssh has now a ssh = {...} parameter similar to default.rsync to
add option to ssh calls. Ditto for xargs = {...}
enhancement: the default.* implementations have a checkgauge erroring on any unknown
parameters to the sync{} call
enhancement: the delete parameter now takes: true, false, 'running' and 'startup'
improvement: Dennis Schridde provided various improvements for Lsyncd's autoconf building
change: Lsyncd is now Lua 5.2 compatible
change: Lsyncd now exits with exitcode 143 on TERM signal
change: settings is now be used as call like settings{...} instead of settings = {...}
04-04-2012: 2.0.7
fix: closed a memory leak due to not correct configured weak tables
fix: default.direct, do not use on OSX unrecognized option -t on modify
fix: default.direct, typo leading to compile error
fix: when using settings.inotifyMode = "Modify" events were longer ignored
fix: layer 3 function generator was messed up.
change: now uses a2x to generate the manpage (thus more compatible across distros)
change: removed --with-default-runner since it was broken, and will be replaced by something
more generic in future
16-02-2012: 2.0.6
fix: no longer stops syslogging on HUP signals
fix: OSX event watcher no longer misses moves into and out of the watch tree
fix: not refinding a relative path to the config file in case of HUP.
fix: rsync doing error 13 and killing Lsyncd.
see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=659941
fix: no event creation during shutdown (might loop before)
fix: no logging due to wrong log levels
fix: without-inotify compile option now works to compile on OSX
fix: in case of HUP-reset imply insist=true, since startup is known to be
configured correctly.
fix: a series of typos in comments, manpage etc.
fix: moves to and from deleted directories (deleted when Lsyncd gets notified)
were not correctly translated
fix: added --ignore-errors to rsync when deleting files, so it will not miss a delete
even when another part of the tree made an IO-error.
fix: default.direct now not using -p for mkdir since if the dir is not there it should fail
fix: default.direct now not using -t for cp since OSX binutils doesn't understand it
fix: some files might have been missed in splitting move events (especially on tests on OSX)
change: complain if any "rsyncOps" is given
change: splitted the default configurations in their own files.
more cleanly seperated from the Lsyncd runner, and highlights it are just
Layer 1 configurations that happen to be provided by default.
change: Beautified the code, no extra spaces at line end, ' instead of ",
supposing 100 char width to view,
change: Lsyncd now remembers the absolute path of its config file during HUPs
enhancement: Defaults now respect a 'delete=false' flag when set as parameter to sync{}
default.rsync: does not add --delete to rsync
default.rsyncssh: does not add --delete to rsync, and does not use rm via ssh tunnel
default.direct: does not add --delete to startup rsync and does not use rm
25-08-2011: 2.0.5
fix: Lsyncd will now terminate if it inotify watching exceeds
its preset limit.
fix: rsync error exit code 12 now results in retries.
fix: Lsyncd 2.0.5 should now compile better on a bit elder
GNU/Linux versions.
fix: examples are now installed in the configured document directory.
fix: partial transfers during startup are considered ok. Lsyncd will
rework the specified files anyway.
change: Layer 1 interface init() now receives an "Init" event instead
of an inlet.
change: builtin Lua code is now loaded via a c-array.
Now more portable and correct memory flags are set.
change: Lsyncd will now bail on unknown error codes.
enhancement: settings.maxProcesses can now be set as a global limit
of childprocesses
enhancement: Lsyncd will refuse to start when any startup rsync
does not work cleanly and returns "again" unless settings.insist or
--insist is specified, then Lsyncd will keep retrying until it works.
enhancement: option "rsyncBinary" determines which rsync Lsyncd calls.
Default is "/usr/bin/rsync"
enhancement: fsevents ("inotify for OSX") fixed for Snowleopard.
and is available to configure by default.
enhancement: settings.inotifyMode: the actualy Modification event
Lsyncd reacts to can now be configured. Default is to react on
file closing in write mode.
enhancement: readdir(path) is available to userscripts, reads the contents
of a directory.
27-03-2011: 2.0.4
enhancement: new setting options logident, logfacility
fix: moving filenames with spaces through ssh
fix: excludes containing chars % $ ( ) . [ ] + -
fix: various typos
change: api, settings.statusInterval instead of settings.statusIntervall
25-02-2011: 2.0.3
enhancement: new default target --direct using /bin/ binaries
to keep to local dirs in sync (and by default
not preserving ownership)
example: added a new example how to remotely execute a command
after each rsync operations
fix: possible crash with long rsyncOps table exceeding lua stack.
fix: excludes now properly match relative and absolute paths
fix: call to nil function when manually adding blanket delays
fix: on ReiserFS not delivering proper dir stats and when encountering
a symlink, aquire the node stat for the symlink instead from
the linked node.
change: leave lua apichecking enabled by default.
20-01-2011: 2.0.2
fix: exclude rules not terminated with '/' now match a file
or dir named exactly the same not starting with.
fix: pass exclude rules to the startup sync
fix: when matching exclusion to not add inotify use same
partial path than on syncs
fix: properly close pipes that needed more than one write.
11-01-2011: 2.0.1
fix: write pidfile after daemonize()
fix: fixed weak tables that allowed garbage collector to collect
event lists too eraly.
improvement: allow multiple arguments as table for rsyncOps
change: added OSX fsevents interface, disabled in autoconf by default
since still very experimental and limited to OSX 10.5 only.
02-12-2010: 2.0.0
a complete recoding!
change: format of command line arguments changed completly.
improvement: the config files format is not LUA instead of XML
allowing a range from easy configuration up until
complete scripts
enhancement: difference actions on different kind of events
effents are combined logically.
enhancement: allow moves to moved on the target (rsyncssh)
enhancement: excludes now allow simple file patterns (?, * and **)
enhancement: optionally there is now a statusfile
improvement: multiple target queues do not interfer with each other
improvement: Lsyncd2 will no longer wait for child processes to return
the monitor queue is constantly empties as long Lsyncd runs
improvement: Lsyncd2 can now retry operations on network failure and
queue events up.
improvement: There are now several debugging categories that can be
turned on individually.
change: manpage is now written in asciidoc
change: most more complex logic of Lsyncd is now written in Lua.
04-10-2010: 1.39
enhancement: call action for multiple targets simultanously
fix: correctly accept <file-filter/> from config xml
fix: correctly close and free the inotify file descriptor in case of restart
due to HUP signal or OVERFLOW condition
fix: when delay=0 a bug always called rsync file filter even when in
directory mode
01-09-2010: 1.38
enhancement: implemented file filters for singular operations
enhancement: added --singular parameter for single file calls
fix: fixed --dryrun messages
improvement: now restarts on an inotify OVERFLOW message, just like if
being kill -HUPed
internal: printout the actual binary called when --debug specified
05-08-2010: 1.37
enhancement: react on HUP signals (interpreted as complete restart)
enhancement: inotifies are configureable
enhancement: --no-startup skips the startup calls
fix : fixed delayed blocking handling.
improvement: made logging output better readable
internal: made all global variables local
internal: renamed "tackles" to "delays"
internal: removed the need of the "tosync" stack
internal: use more pointers instead of indexes
11-07-2010: 1.34
fix: logging segfault on 64bit systems
changed: man page location, spellings
05-06-2010: 1.33
fix: exlude file argument passing to rsync
fix: allow exlude files specified for individual sources
fix/enhancement: exlusions will be compared with extended
path files allowing sub dirs to be excluded.
enhancement: allow delays and call aggregation
05-01-2009: Release of lsyncd 1.26
fix: segfault on multitargets
changed meaning of "version" tag in lsyncd.conf.xml
14-12-2008: Release of lsyncd 1.25
fix: mv dir and cp -r working
fix: working with reiserfs
enhancement: config files
enhancement: multiple targets
enhancement: pidfiles
optimized: memory usage
improved documentation
lots of smaller stuff here and there ...
Thanks to all contributers!
05-12-2007: Release of lsyncd 1.0