Axel Kittenberger
4133489f2e
update changelog date
2008-12-14 14:07:46 +00:00
Axel Kittenberger
3e9f6d9fe5
updated AUTHORS to all who submitted packages (that went into the source)
2008-12-14 01:39:08 +00:00
Axel Kittenberger
bb9956cc7a
moved manpage stuff into doc subdir to less confuse users, fixed some warnings on intrepid ubuntu, fixed some non documented return codes
2008-12-13 22:14:58 +00:00
Axel Kittenberger
040ca04cb6
cleanup xml parser after config file read. distribute compiled manpages.
2008-12-13 18:06:11 +00:00
Axel Kittenberger
fa40f4c1c0
introducing --stubborn, to startup regardless if startup rsyncs work or not.\nsmall fixes
2008-12-13 17:30:52 +00:00
Axel Kittenberger
5c9785b32e
"fix" some tabbing
2008-12-05 23:54:13 +00:00
Axel Kittenberger
24d027e0b7
error messages
2008-12-05 23:46:26 +00:00
Axel Kittenberger
cfd444f361
applied remove-direname patch +cosmetics
2008-12-05 23:37:38 +00:00
Axel Kittenberger
be6e5fc121
update doc
2008-12-05 22:41:09 +00:00
Axel Kittenberger
1083fa1337
applied multi target patch
2008-12-05 22:27:03 +00:00
Axel Kittenberger
cbe571267d
fix text
2008-12-05 22:26:03 +00:00
Axel Kittenberger
6b0998093a
cosmetic
2008-12-05 06:50:43 +00:00
Axel Kittenberger
a987c7ab53
oops forgot before to commit the new manpage for the config file.
2008-12-04 21:57:39 +00:00
Axel Kittenberger
4cd49fbbad
updated/improved manpage documentation
2008-12-04 21:54:56 +00:00
Axel Kittenberger
0271c2e8e1
wont ever be done. got something better already.
2008-12-04 20:29:18 +00:00
Axel Kittenberger
559fd1d18f
fix-removed-watch-index.patch
2008-11-26 12:23:29 +00:00
Axel Kittenberger
101d89610a
dynamic use of tosync stack.
2008-11-24 18:40:44 +00:00
Axel Kittenberger
d5c65b03bd
terrible mistake, terrible default.
2008-11-24 17:59:01 +00:00
Axel Kittenberger
9271d6374e
lsyncd is freed from my "scanhome" hack forever, without insource replacement. will explain it on the discussion group.
2008-11-24 17:55:54 +00:00
Axel Kittenberger
d963f4c993
oops forgot the template...
2008-11-21 13:14:14 +00:00
Axel Kittenberger
f6ce4de561
...
2008-11-21 10:06:37 +00:00
Axel Kittenberger
e387b4b658
dist the conf.xml file
2008-11-21 10:04:18 +00:00
Axel Kittenberger
7e85ff1bdb
fixes for reiserfs.
2008-11-21 09:47:28 +00:00
Axel Kittenberger
a6fcd748d1
errors go out on stderr, check source/target in config file
2008-11-21 09:41:42 +00:00
Axel Kittenberger
91a296805f
yay, some TODO are TODONE
2008-11-20 22:13:11 +00:00
Axel Kittenberger
5176ae0d54
Introduction lsyncd.conf.xml
2008-11-20 21:38:58 +00:00
Axel Kittenberger
c09dcd1775
for older boxes this can be useful to pick the right automake binary.
2008-11-05 18:56:24 +00:00
Axel Kittenberger
441e1488b6
reintroducing %userwww (for all i care as undocumented feature in future), it works well in our setting, and we are currently restarting to actually use lsyncd in my office.
2008-11-05 18:55:44 +00:00
Axel Kittenberger
32f4b88b9c
big changes: introduced tosync_stack, now a lot of race conditions should be helped. cp -r works, mv works without workaround. Everything a bit more shinny.
2008-11-05 15:37:21 +00:00
Junichi Uekawa
445292cf4e
cp -r failure case test.
...
Axel reported that lsyncd will break with cp -r.
2008-11-05 11:37:35 +00:00
Junichi Uekawa
63417731b7
Disambiguate fork/exec failure with rsync failure.
...
Use a different exit code to rsync to know that execv of rsync failed.
2008-11-05 11:37:26 +00:00
Axel Kittenberger
47b38c3711
added debug output for inotify events before they are processed. Added some comments on ideas how to fix cp -r and mv problems.
2008-11-04 21:41:07 +00:00
Junichi Uekawa
39fce4949e
use PATH_MAX from limits.h insetad of self-defined MAX_PATH.
...
Use PATH_MAX+1 for C buffers, since PATH_MAX does not include terminating '0'.
2008-11-03 13:13:29 +00:00
Junichi Uekawa
b85f94bf43
Revert "move rsync actions into a script, this way rsync options are easily configureable, and the admin can freely change rsync behavior as well as add additional actions after rsyncs."
...
This reverts commit e4727016c88bce6330cb944b8fa7e15a20ddea48.
2008-11-03 13:09:40 +00:00
Junichi Uekawa
4820dbbc49
Revert "minni cleanups."
...
This reverts commit a83f5dcfba72d787f11bc3518ec0e48f54351ce9.
2008-11-03 13:09:32 +00:00
Junichi Uekawa
7a517789db
Remove AC_PROG_LIBTOOL from configure.in.
...
we don't use libtool to generate shared libraries, and that should mean we don't need it.
2008-11-03 13:04:05 +00:00
Axel Kittenberger
964e4fc847
minni cleanups.
2008-11-02 21:21:53 +00:00
Axel Kittenberger
ad0a7398dd
move rsync actions into a script, this way rsync options are easily configureable, and the admin can freely change rsync behavior as well as add additional actions after rsyncs.
2008-11-02 20:54:02 +00:00
Junichi Uekawa
e1e6940146
Revise test to handle different exit code.
...
test for exit code 3 instead of 255.
2008-11-02 12:26:45 +00:00
Junichi Uekawa
c35c712791
Made more error code outputs.
...
It will give 0 when successful, 1-5 when there is some error.
Document the error codes in the manpage too.
2008-11-02 12:23:37 +00:00
Junichi Uekawa
c04d167c76
refactor code to use execv instead of execl.
2008-10-23 14:07:57 +00:00
Junichi Uekawa
e6782df02d
remove %userwww
...
It doesn't work, so remove this feature.
2008-10-23 14:07:50 +00:00
Junichi Uekawa
ba73b1cc5e
autogenerate files using autoconf/automake.
...
These files are not VCS controlled, but available on releases. To
help ease check-out -> build flow, add a script to run the commands
for autogenerating the build scripts.
2008-10-13 23:51:50 +00:00
Junichi Uekawa
cabd55bce0
add error checking with rsync, and re-run rsync from the parent
...
directory if possible.
userwww handling seems broken, but at least check for breakages.
2008-10-13 02:06:19 +00:00
Junichi Uekawa
e21b43fd31
Get version string from autoconf macros.
2008-10-13 02:06:12 +00:00
Junichi Uekawa
0060b65929
remove config.h.in; it is auto-generated also
2008-10-13 02:06:06 +00:00
Junichi Uekawa
82302ad03e
testsuite to move directory and remove a directory.
...
lsyncd1.0 doesn't handle this case very well, and lsyncd does not copy
the files, and does not detect an error condition, or simply dies.
2008-10-08 04:09:02 +00:00
Junichi Uekawa
03a32b6e1e
add sanity checking in filenames and paths.
...
Check files exist, and check paths are specified absolute.
I am relying on paths starting from '/' when they are absolute.
daemon() will chdir to /, and that means giving relative paths to this
program will give unexpected (to the user) results.
2008-10-08 04:08:56 +00:00
Junichi Uekawa
f62c1f3cc2
make --pidfile option for handling pids.
...
Add manpage on the way
2008-10-08 04:08:52 +00:00
Junichi Uekawa
673570ea06
add tabstop specifier for emacs editing.
2008-10-08 04:08:46 +00:00