Commit Graph

915 Commits

Author SHA1 Message Date
Daniel Poelzleithner 4c3cf2e6af Use local ssh server for tests 2021-12-02 17:51:32 +01:00
Daniel Poelzleithner 564d54be76 Allow and default to relative paths for binaries executed 2021-12-02 17:51:15 +01:00
Daniel Poelzleithner 9b2b3ad6e6 Add flake.nix file for easy building 2021-11-24 14:28:46 +01:00
A. Jesse Jiryu Davis 7bb8715bfd Remove /System/Volumes/Data from fsevent paths on macOS
Apparently, beginning with macOS 10.15 Catalina, fsevent paths are prefixed
with "/System/Volumes/Data". Remove it to restore event notification feature
on macOS.

Fixes #587
2020-09-25 15:36:25 -04:00
Thomas Nixon c4b5465622 allow deleting excluded files with rsync
This option can't be added to both init and action, because the rsync
exclude mechanism is used to select the files to send, so would delete
all non-changed files. It's only relevant during init anyway, as after
that no excluded files will be made on the destination.
2020-03-17 00:01:46 +00:00
Taylor Dean cd9672699e
Enable ssh._extra args
ssh._extra args are currently ignored and never actually appended
to the rsh arg. This PR addresses this issue (#402 which is closed
despite never being properly resolved)
2019-11-13 03:19:31 -05:00
Torben Jaeger c02ee3b6d7 unsetting vars and cleanup 2019-08-08 17:58:15 +02:00
Torben Jaeger 5e08ea2cef fix different version format in lua.h 2019-08-08 17:58:15 +02:00
Dan Rose 390de3dbaa
Expose rsync's copy_unsafe_links
As per the rsync docs: "This tells rsync to copy the referent of symbolic links that point outside the copied tree. Absolute symlinks are also treated like ordinary files, and so are any symlinks in the source path itself when --relative is used. This option has no additional effect if --copy-links was also specified."
2019-08-06 18:09:52 -05:00
Bernard Gray a57b80f9c8 make indenting consistent 2018-12-06 08:41:53 +11:00
Bernard Gray 188b691bea add onepass option to exit after initial sync 2018-12-05 17:05:18 +11:00
Lucas Gabriel Schneider d32957d5a2
Update README.md 2018-10-06 11:51:07 -03:00
Axel Kittenberger 42413cabbe some older glibc still need this it seems 2018-05-22 09:11:09 +02:00
Axel Kittenberger 13bdd9075f
Merge pull request #500 from yokogawa-k/fix-search-non-versioned-lua
Fix for non-versioned lua not being searched in Cmake
2018-03-26 11:36:26 +02:00
yokogawa-k 0af99d8d5b fix non-versioned lua not search in cmake
"FOREACH" ignore empty elements, but "FOREACH IN LISTS" include emoty elements.
https://cmake.org/cmake/help/latest/command/foreach.html
2018-03-26 17:11:29 +09:00
Axel Kittenberger 9b47a1f8fe cleanups 2018-03-09 15:41:16 +01:00
Axel Kittenberger a26eb6f94a releasing 2.2.3 2018-03-09 13:39:11 +01:00
Axel Kittenberger f77df7f3e2 cleanups 2018-03-09 13:32:58 +01:00
Axel Kittenberger 465deb1549 prefer Lua 5.2 over 5.3 (due to second missing supportlibs like posix on debian) 2018-03-09 13:11:16 +01:00
Axel Kittenberger 1094759975 adding filter to testsuite, removing #! from testsuite 2018-03-09 13:05:45 +01:00
Axel Kittenberger ff0f4fbd7a fixing table.unpack issue in testsuite 2018-03-09 11:07:53 +01:00
Axel Kittenberger c0a31c215d fixing loadstring() Lua5.3 issue 2018-03-09 10:42:40 +01:00
Axel Kittenberger 99b6b18ac2 fixing loadstring() Lua5.3 issue 2018-03-09 10:42:10 +01:00
Axel Kittenberger a23426d8a4 preparing 2.2.3 2018-03-09 10:27:41 +01:00
Axel Kittenberger f3d65770cd Merge branch 'master' of github.com:axkibe/lsyncd 2018-03-09 10:13:47 +01:00
Axel Kittenberger 4bc456b544 preparing 2.2.3 2018-03-09 10:13:29 +01:00
Axel Kittenberger 2e5f4462b4 preparing 2.2.3 2018-03-09 10:08:21 +01:00
Axel Kittenberger 2dc8dc665b preparing 2.2.3 2018-03-09 10:04:50 +01:00
Axel Kittenberger 8904710acb preparing 2.2.3 2018-03-09 10:04:48 +01:00
Axel Kittenberger ebd2600914 cleanups 2018-03-09 10:03:08 +01:00
Axel Kittenberger faa582e259 cleanups 2018-03-01 15:19:30 +01:00
Axel Kittenberger ba52ee1a6f cleanups 2018-03-01 15:08:26 +01:00
Axel Kittenberger a78f239fa2 apply filters before inotify watching dirs, actually filter events 2018-03-01 14:14:28 +01:00
Axel Kittenberger 465e173983 cleanups 2018-03-01 11:26:12 +01:00
Axel Kittenberger 1e0d867f80 adding inclusion filters 2018-02-27 17:14:36 +01:00
Axel Kittenberger c50aa7c9c1 Changelog 2018-02-27 10:14:57 +01:00
Axel Kittenberger d72a59e70f do not append a '/' to targets when there it ends with a ':' 2018-02-27 10:09:28 +01:00
Axel Kittenberger bbe9c5f38c Merge pull request #463 from danielkza/aws-s3-example
Add example config for syncing with an AWS S3 bucket
2017-08-22 15:57:08 +02:00
Daniel Miranda 62093f609f
Add authorship information to S3 example 2017-08-22 10:36:13 -03:00
Daniel Miranda 1dfff8d13a
Add example config for syncing with an AWS S3 bucket
It requires the official AWS CLI to be available, and that credentials
be set up through some external method, such as environment variables,
IAM profiles, the AWS SDK configuratin.

The AWS CLI sync exclude rules are not as powerful as the ones supported by
lsyncd. Hence, some of the do not translate perfectly. For example, '*'
(asterisk) matches slashes, while it does not in lsyncd. Hence it is a good
idea to only use exclude patterns for full directories, either by using a
trailing / (slash) or ** (double asterisk), as those will be correctly
translated.

An initialSync options is provided as a convenience, since it's not easy to
make sure exclusion rules match when doing it manually. It will *pull* from
the target bucket to the local dir (the opposite of the regular behavior)
then exit immediately.
2017-08-21 23:19:08 -03:00
Axel Kittenberger fb4301d515 Merge pull request #459 from gsouf/patch-1
config file url
2017-08-07 14:39:21 +02:00
Soufiane Ghzal ee51e3edd9 Update lsyncd.1 2017-07-29 18:02:27 +02:00
Soufiane Ghzal 1460b5795c doc config-file url 2017-07-29 18:00:05 +02:00
Axel Kittenberger ea068b4014 reverting to rsync filter useage, until rysnc bug is fixed 2017-02-16 12:17:37 +01:00
Axel Kittenberger 24d58f7741 ChangeLog 2017-02-06 17:10:27 +01:00
Axel Kittenberger 785a7dd503 fixing again setting with new delay objects, cleanups 2017-02-06 17:00:39 +01:00
Axel Kittenberger 544f6066b7 write pid of forked process 2017-01-09 13:13:05 +01:00
Axel Kittenberger 3f78514273 fix exclusion tests 2017-01-09 11:43:23 +01:00
Axel Kittenberger 288f09ad01 a 2017-01-09 11:14:23 +01:00
Axel Kittenberger a0ab850ec0 readme 2017-01-05 19:18:23 +01:00