Commit Graph

  • ddcba3f075 Changed the fix_basis_dirs() function to only remove a single ../ prefix from each --*-dest option's path. Wayne Davison 2006-10-10 23:44:59 +00:00
  • db3ae95cac Made some of the --link-dest tests use a relative destination directory, and made one of those do a --dry-run test before the regular test. Wayne Davison 2006-10-09 03:06:50 +00:00
  • 1a05de2bff - If a finished link came from a link-dest dir and --dry-run is in effect, we now stat the link-dest file instead of the non-existent destination file. - Use int32 for the index variables. Wayne Davison 2006-10-09 03:05:19 +00:00
  • d9163a4cf5 If the combination of --dry-run, --link-dest, and -H finds a matching file in on of the extra basis dirs, make a note of which basis dir we would have used in the hard-link with the destination file. Wayne Davison 2006-10-09 02:59:23 +00:00
  • 44885a398f Added link_dest_used unsigned short to struct hlink and made the other values explicitly 32-bit so that the total size can't be larger than the other struct we're in a union with. Wayne Davison 2006-10-09 02:57:04 +00:00
  • dfe1ed5e97 Another tweak to the --chmod summary. Wayne Davison 2006-10-09 00:55:04 +00:00
  • 242f6052c2 Mention the latest bug fix. Wayne Davison 2006-10-08 22:17:39 +00:00
  • 519d55a950 Make the daemon's "incoming chmod" tweaks happen last, as documented. Wayne Davison 2006-10-08 22:02:13 +00:00
  • b6008dc645 Clarify the short description of --chmod. Wayne Davison 2006-10-08 22:00:31 +00:00
  • 6f3684ffb5 Call push_dir() with its new boolean arg. Wayne Davison 2006-10-08 20:57:01 +00:00
  • 615a5415c9 - Call push_dir() with its new boolean arg, including the spot in get_local_name() where we need push_dir() to skip the chdir() because the destination dir does no yet exist and --dry-run was specified. - Added fix_basis_dirs(), which will combine the dest-dir with each non- absolute basis_dir arg to make sure that they end up being relative to the right dir when --dry-run was specified and the dest dir does not yet exist. Wayne Davison 2006-10-08 20:56:56 +00:00
  • ba081be327 Made the push_dir() function take an option to skip the actual chdir() call. Used when the dest-dir doesn't exist and --dry-run was specified. Wayne Davison 2006-10-08 20:56:52 +00:00
  • 3e88414e4e Moved some of the variable setup from "make check" into the runtest.sh script. Wayne Davison 2006-10-07 14:54:56 +00:00
  • 0888952768 Moved some variable setup here from the Makefile and made it possible to specify extra rsync options for the test. Wayne Davison 2006-10-07 14:54:14 +00:00
  • 5dcd9a2b70 Changed the -o to -a in the "if". Wayne Davison 2006-10-07 14:39:01 +00:00
  • 6ce9432d75 A bug-fix for die_on_unsafe_path() when the path doesn't exist. Wayne Davison 2006-10-07 14:19:00 +00:00
  • 6c8507724b Added exception-checking to a couple select() calls, as suggested by Hugh Daschbach. Wayne Davison 2006-09-30 22:11:20 +00:00
  • d04e95e968 Document that --ignore-times thwarts all --link-dest linking. Wayne Davison 2006-09-30 15:21:25 +00:00
  • b06050f9ad I decided that combining --link-dest with -I doesn't make much sense (without some kind of a post-transfer identicality check, at least) so I'm removing the code that tried to make the two play nice. Wayne Davison 2006-09-30 15:20:17 +00:00
  • ad75d18d2e Mention that the --backup-dir option is a receiver-side path. Wayne Davison 2006-09-26 16:44:27 +00:00
  • ed4b8da048 Mention the latest bugfix. Wayne Davison 2006-09-24 03:36:04 +00:00
  • 2cd421d809 Output the who_am_i() info in out-of-memory() and overflow_exit(). Wayne Davison 2006-09-24 03:12:24 +00:00
  • ea0ea357f4 Provide the who_am_i() function. Wayne Davison 2006-09-24 03:11:41 +00:00
  • 0480a946f5 Some more testing based on Matt's recent patch. Wayne Davison 2006-09-23 23:49:20 +00:00
  • 67f8a41be5 Matt tracked down a bug in the daemon option "incoming chmod" where a newly created directory would get the chmod permissions that were specified for a file (via the F previx). Wayne Davison 2006-09-23 23:15:11 +00:00
  • 5e1f082d0c Improvments by Matt for the --progress option, including updating the examples to look like the actual output in a modern rsync. (I did a little rewording too...) Wayne Davison 2006-09-23 00:07:28 +00:00
  • a633351962 Mention the current limitation of the RSYNC_EXIT_STATUS value. Wayne Davison 2006-09-20 14:04:19 +00:00
  • 2edfe52230 Mention the new --remove-s*-files error. Wayne Davison 2006-09-20 01:54:40 +00:00
  • acee1ad853 Complain if a --remove-s*-files option is set and we can't remove the source file. Wayne Davison 2006-09-20 01:53:32 +00:00
  • 8f4ae68ca7 The [ & ] are now removed from a literal IPv6 hostname passed to the remote shell. Wayne Davison 2006-09-18 17:39:13 +00:00
  • ff1b9344c9 When parsing a literal IPv6 address in square brackets, pass the whole string (including the brackets) to the remote shell. (The old code stripped the leading '[' but left the trailing ']'.) Wayne Davison 2006-09-18 01:19:26 +00:00
  • a923437bc0 Added a missing '-' to the string "-rsh". Wayne Davison 2006-09-18 01:15:19 +00:00
  • dde698c2e8 Mention the permission bug-fix for new files created by --inplace. Wayne Davison 2006-09-18 00:47:56 +00:00
  • c2b47e31a5 Mention the adding of the --remove-source-files option. Wayne Davison 2006-09-18 00:38:20 +00:00
  • 4e0bf97716 Mention the --server and --sender option as being internal, not-for use by a normal user options. Also mention the support/rrsync script in this context. Wayne Davison 2006-09-18 00:19:04 +00:00
  • 174e51b5bf Added parsing for all the latest options. Wayne Davison 2006-09-18 00:16:31 +00:00
  • 30cd7ec1cf The --min-size arg doesn't need to be path-checked either. Wayne Davison 2006-09-18 00:13:50 +00:00
  • 48459ba15c The --inplace option now notices when the basis data is not coming from the destination file (or an identical copy) and always writes out the data (instead of seeking when at an identical offset). Wayne Davison 2006-09-17 23:28:19 +00:00
  • 48ecccce2d The --delete-excluded code now also drops any merge file that was marked as MATCHFLG_NO_PREFIXES because they can only contain include/exclude rules. Wayne Davison 2006-09-09 18:59:10 +00:00
  • a739128df9 Document the new RSYNC_PID environment variable. Wayne Davison 2006-09-09 18:56:13 +00:00
  • 2c1775620a Try various long, long-long, etc. types for a 64-bit integer before trying off64_t. Wayne Davison 2006-09-09 18:53:23 +00:00
  • 40f910c43a Mention the latest changes. Wayne Davison 2006-09-09 18:31:45 +00:00
  • 503114a782 Added the RSYNC_PID environment variable for the pre-/post-xfer commands so that the pre-xfer command has a unique ID it can use to cache information for the post-xfer command. Wayne Davison 2006-09-09 17:59:02 +00:00
  • 71f9e4673e A slight simplification to the last change. Wayne Davison 2006-09-02 20:05:08 +00:00
  • 176e8e94c3 An even better way to un-backslash-escape the filenames from find. Wayne Davison 2006-09-02 19:57:56 +00:00
  • 814b340c27 Improved the --delete-excluded test based on Matt's input and another corner case I noticed. Wayne Davison 2006-09-01 00:43:52 +00:00
  • f167879035 Matt pointed out that the code was not properly dropping excludes that were read from a per-dir merge file when --delete-excluded is enabled. This additional code fixes that. Wayne Davison 2006-09-01 00:42:39 +00:00
  • 4187572616 Fixed handling of filenames with an embedded $, @, or %. Wayne Davison 2006-08-31 20:30:16 +00:00
  • ff43d8b449 Added Matt's --delete-excluded test for merge-file correctness. Wayne Davison 2006-08-31 17:19:26 +00:00
  • 97bf86f8ee Make sure that --delete-excluded does not elide a per-dir merge filter file, while still dumping the .cvsignore file from -C. Wayne Davison 2006-08-31 17:18:24 +00:00
  • 8c449e6285 When we're cleaning up a path of "/" in relative mode, we must make the name "/." (as it was of old) so that there is a filename for us to send. Fixes a problem with --delete --relative when copying from the root (/) of the filesystem. Wayne Davison 2006-08-26 16:02:17 +00:00
  • 29930a9fd2 Fixed an exclude bug with --relative excluding "/". Wayne Davison 2006-08-12 16:22:03 +00:00
  • c98ad3df96 Check return value of asprintf() in full_fname(), as pointed out by Ilja van Sprundel. Wayne Davison 2006-07-29 21:04:35 +00:00
  • 9c3c30e5c7 Assign datarootdir=@datarootdir@ so that a modern autoconf doesn't complain about our Makefile.in. Wayne Davison 2006-07-21 13:58:52 +00:00
  • b4a09b72ee Use new MAKEDEV() macro instead of makedev() directly. Wayne Davison 2006-07-10 04:25:53 +00:00
  • 5a3810b463 Define MAKEDEV() based on the MAKEDEV_TAKES_3_ARGS define. Wayne Davison 2006-07-10 04:25:10 +00:00
  • e8d97006e5 If makedev() takes 3 args, define MAKEDEV_TAKES_3_ARGS. Wayne Davison 2006-07-10 04:24:07 +00:00
  • 8adc22e362 Mention the "munge symlinks" daemon setting. Wayne Davison 2006-07-03 22:35:41 +00:00
  • dcebf78fe0 Obey the new "munge symlinks" dameon setting. Wayne Davison 2006-07-03 22:35:00 +00:00
  • 651c8510e8 Document "munge symlinks". Wayne Davison 2006-07-03 22:33:56 +00:00
  • 1ed3f5ed61 Added the "munge symlinks" setting. Wayne Davison 2006-07-03 22:33:49 +00:00
  • 70c81b0c07 Fixed the indentation on a few lines. Wayne Davison 2006-07-03 22:30:13 +00:00
  • 47c1197534 Decided that I like remove-source-files better than remove-sender-files. Wayne Davison 2006-06-30 15:52:52 +00:00
  • fb41a3c669 Changed --remove-sent-files into --remove-sender-files. Wayne Davison 2006-06-30 15:42:41 +00:00
  • 2700069d5a Added --remove-sender-files and deprecated --remove-sent-files. Wayne Davison 2006-06-30 15:42:36 +00:00
  • 044ccbaacf The remove_sent_files var was renamed to remove_sender_files. Wayne Davison 2006-06-30 15:42:32 +00:00
  • 841d943651 Handle the --remove-sender-files option by sending MSG_SUCCESS for any file that is being hard-linked. Wayne Davison 2006-06-30 15:42:29 +00:00
  • 04cd8789cb Handle the --remove-sender-files option by sending MSG_SUCCESS for any up-to-date file (non-dir). Wayne Davison 2006-06-30 15:42:26 +00:00
  • 9578783a71 Changed the name of the nightly symlink. Wayne Davison 2006-06-30 14:26:01 +00:00
  • 4cff5fa462 Make use of module_dirlen in full_fname(). Wayne Davison 2006-06-30 14:24:25 +00:00
  • cc1b4f776a Allow --with-nobody-group=GROUP (patch from Olivier Thauvin). Wayne Davison 2006-06-19 19:30:51 +00:00
  • 72d1b262ac Mention the latest bug-fix. Wayne Davison 2006-06-16 09:05:21 +00:00
  • 6fb7cc38a2 Make sure that the %f escape always has the full path info when receiving files. Wayne Davison 2006-06-16 09:01:31 +00:00
  • 8a7b8400e7 Updated the "use chroot" section with the latest symlink info. Wayne Davison 2006-06-16 08:56:26 +00:00
  • d2ab094dec Mention the latest log-file improvements. Wayne Davison 2006-06-07 23:06:18 +00:00
  • ccd2966da9 Moved the "log file" and "syslog facility" sections into the per-module options and improved them a little. Wayne Davison 2006-06-07 23:05:27 +00:00
  • 6dc9b74bc6 Call log_init() with its new "restart" (0 or 1) arg. Wayne Davison 2006-06-07 23:05:24 +00:00
  • 04c841190f - Pass "module_id" to the two log-related settings that are no longer global. - Added a "restart" arg to log_init() that lets us request that logging be reinitialized if the log-file/syslog-facility params changed. Wayne Davison 2006-06-07 23:05:17 +00:00
  • d20ce6e144 Made "log file" and "syslog facility" per-module settings. Wayne Davison 2006-06-07 23:05:14 +00:00
  • a7d461fccd Improved some comments in get_local_name() and improved the error checking a little more. Wayne Davison 2006-06-05 22:50:52 +00:00
  • 4c5a2da65f Mention the latest bug-fix. Wayne Davison 2006-06-05 17:00:47 +00:00
  • caff33228e If we fail to create a new directory, skip trying to update everything that is inside that dir. Wayne Davison 2006-06-05 16:56:50 +00:00
  • f38f6f80b7 Added FLAG_MISSING. Wayne Davison 2006-06-05 16:52:34 +00:00
  • e848e06618 Got rid of an unused extern. Wayne Davison 2006-06-05 16:17:33 +00:00
  • eece5fe32c Mention the temp-file fix. Wayne Davison 2006-06-01 08:40:55 +00:00
  • 8590993185 Got rid of the FNAME logcode enum. Wayne Davison 2006-06-01 08:04:50 +00:00
  • b64ee91a41 Changed rprintf() messages that started with a newline into two rprintf() calls (the first of which just outputs an empty line). Wayne Davison 2006-06-01 08:04:47 +00:00
  • d0133e6eba - Got rid of the FNAME logcode enum. - rwrite() no longer supports newlines at the start of the string. - maybe_log_item() avoids outputting a non-significant update to the log file if the log-file-format doesn't include %i. Wayne Davison 2006-06-01 08:04:43 +00:00
  • 1925c3448c - Got rid of the FNAME logcode enum. - We no longer output " is uptodate" messages to the log file. Wayne Davison 2006-06-01 08:04:40 +00:00
  • 19b8587654 Fixed a typo that set stdout_format_has_i instead of logfile_format_has_i. Wayne Davison 2006-06-01 06:49:15 +00:00
  • 051f5df526 Mention the latest --log-* option changes. Wayne Davison 2006-05-30 18:35:36 +00:00
  • e525519509 Authorize the current host in the rsyncd.conf file in addition to localhost and 127.0.0.1 (which will hopefully fix the failing of the daemon tests on FreeBSD). Wayne Davison 2006-05-30 18:26:17 +00:00
  • 4b90820d9f - Added the --log-file-format option to the daemon section. - Updated and improved the --out-format section. - Moved and improved the description of the non-daemon --log-file and --log-file-format options. Wayne Davison 2006-05-30 17:47:20 +00:00
  • 2873603ab5 If the user specifies --log-file-format without --log-file, ignore the useless value. Wayne Davison 2006-05-30 17:41:54 +00:00
  • ec52c3b9da Skip transfer logging if the logfile_format string is empty. Wayne Davison 2006-05-30 17:41:04 +00:00
  • 10ae3406ee Allow the --log-file-format=FMT option (if given when starting a daemon) to override the "log format" setting. Wayne Davison 2006-05-30 17:15:24 +00:00
  • 232658d9d3 - Allow the --log-file-format option to override the "log format" setting when starting a daemon. - Make a daemon refuse all --log-file* options. - Don't use refuse logic on daemon-mode options given to a daemon module -- reject them via their own message. Wayne Davison 2006-05-30 17:14:17 +00:00
  • c000002f46 Document the new --log-file-format option and renamed --log-format to --out-format. Wayne Davison 2006-05-29 22:57:05 +00:00
  • 2fedf3d596 - Use the renamed stdout_format_has_i variable. - Call log_item() with its new arg (and call it more often). Wayne Davison 2006-05-29 22:57:01 +00:00
  • 887d745549 Turn off the --log-file option on the server side for a local transfer. Wayne Davison 2006-05-29 22:56:58 +00:00