Commit Graph

  • 214af6ad83 Comment out the Source1 tar file by default in the spec file. Wayne Davison 2008-04-04 00:17:00 -07:00
  • 2551c47eb7 Fixed the code that removes old file versions for a final release. Wayne Davison 2008-04-04 00:05:44 -07:00
  • 83d22fd7f9 Bump the repository version to 3.0.2dev. Wayne Davison 2008-04-04 00:04:58 -07:00
  • 325c243210 Preparing for release of 3.0.1 v3.0.1 Wayne Davison 2008-04-03 22:37:01 -07:00
  • 4e90cfbfed A few more spec-file tweaks. Wayne Davison 2008-04-01 20:00:08 -07:00
  • 6fd2c27f38 Define a "srcdir" in the spec file and use it in the URLs for the source files so that they use the unchanging src or src-preview subdirectory location for the file. Wayne Davison 2008-04-01 12:19:36 -07:00
  • 19173d224a Tweaked rsync.spec to use "rsync" in place of "%{name}" in a few places (which allows for easier creation of adjunct RPMs). Wayne Davison 2008-03-31 14:10:07 -07:00
  • 5b83829669 A simple change to change_pathname() to ensure that the error output mentions the right path when dir == NULL. Wayne Davison 2008-03-31 07:46:47 -07:00
  • 8cd3c6dccf Preparing for release of 3.0.1pre3 v3.0.1pre3 Wayne Davison 2008-03-30 23:29:43 -07:00
  • 29a89172f7 Improved the chdir() code: - Renamed push_dir() to change_dir() and revised it a little so that it can chdir() to a relative path without an intervening chdir() back to the staring path. - Renamed push_pathname() to change_pathname() and revised it to take different args and to only call path_is_daemon_excluded() on a new path (not a revisit of a file's already-checked path). - Fixed change_pathname() to set the right pathname value when a chdir() call fails. - Set orig_dir once outside of the change_pathname() function. - Got rid of pop_dir(). Wayne Davison 2008-03-30 15:40:34 -07:00
  • 2089375179 Some argc-based actions in parse_arguments() shouldn't happen on the server side. Wayne Davison 2008-03-30 08:05:50 -07:00
  • f8949e7647 Fixed a path-exclusion glitch when checking more than one arg. Wayne Davison 2008-03-30 08:05:42 -07:00
  • 84ecaa0eca Improved the code that protects a '.' dir from exclusion. This fixed a glitch in the daemon-exclusion code that allowed an exclude rule such as ".*" or "*/" to affect a '.' dir. Wayne Davison 2008-03-29 22:53:03 -07:00
  • 3f2d8d683a Extended a test to ensure that hard-linked distant files continues to work in incremental-recursion mode. Wayne Davison 2008-03-28 10:40:17 -07:00
  • fd2598022c Allow the file-list sending code to set XMIT_SAME_UID/XMIT_SAME_GID when owner/group info isn't being preserved. This helps to ensure that the lower 8 bits of the xflags aren't 0, and is what older rsync versions did. Wayne Davison 2008-03-28 10:30:19 -07:00
  • b05c58cce6 Dump an extraneous empty line. Wayne Davison 2008-03-28 10:30:11 -07:00
  • 05805cd6b7 Preparing for release of 3.0.1pre2 v3.0.1pre2 Wayne Davison 2008-03-26 17:12:07 -07:00
  • a165be754b Mention two more NEWS items. Wayne Davison 2008-03-26 17:04:29 -07:00
  • af3172c148 Ensure that a per-dir merge file is also loaded from implied directories in the sender (was working in incremental mode). Wayne Davison 2008-03-26 16:49:12 -07:00
  • 487cb52615 Fixed the discovery of a prior finished hard-link when the entry is old enough that it is no longer in the flist data. Wayne Davison 2008-03-26 16:12:39 -07:00
  • 9793bbb364 Improved a length check in parse_merge_name(). Wayne Davison 2008-03-26 14:01:52 -07:00
  • f6f74b93ef Ensure that a per-dir merge file is also loaded from implied directories in the generator (for protocol 30, at least). Wayne Davison 2008-03-26 11:01:09 -07:00
  • 7568ff448a Fixed the way rsync handles iconv-conversion problems in the file-list: - If the sender cannot convert a name, the discarding of the entry now occurs soon enough to avoid affecting the sender's list (which was causing the file-list on the receiving side to be out of sync). - If the receiver cannot convert a name, its transformation of the name into an empty name (which indicates that the entry should be skipped) is no longer thwarted by the clean_fname() call (which was changing the name into a "."). Wayne Davison 2008-03-25 10:46:06 -07:00
  • 56158b7e04 Preparing for release of 3.0.1pre1 v3.0.1pre1 Wayne Davison 2008-03-24 21:15:51 -07:00
  • 798a9e4e74 Some more improvements for the packaging/release-rsync script: - Check early if the version tag already exists, so it aborts right away if the release script can't do its work. - Update the files in the "patches" dir while merging the master branch into the patch branches (done before creating the release patches for the rsync-patches tar file). - Allow the user to ask to visit each patch when updating them. - Pause after initial patch updating so that any extra patch changes can be done before the creating of the tar files. - Ask for the GPG signing passphrase once for all signing commands. Wayne Davison 2008-03-24 20:30:44 -07:00
  • c202b4fa96 Some improvements for support/patch-update: - Added a --shell option which starts a sub-shell on each patch branch. - Don't allow the user to exit a sub-shell if the branch is not clean. - If the sub-shell exited with a non-zero exit status, prompt to see if the user wanted to abort rather than assuming that. - Wait to start the new patch-file output until after the shell runs. - Always return to the starting branch on exit. Wayne Davison 2008-03-24 19:30:51 -07:00
  • 1df02d13d3 Don't send daemon-config filter-action messages back to the user. Wayne Davison 2008-03-24 10:09:00 -07:00
  • 73cb6738b3 Improved --dirs/--no-dirs/--list-only option handling: - Moved setting of list_only and xfer_dirs from main.c to options.c. - Fixed the ability of the user to force --no-dirs. - Added the --old-dirs/--old-d option to make it easier to interact in list-only mode with an older rsync. - Suggest the use of --old-d instead of "-r --exclude='/*/*'". Wayne Davison 2008-03-24 09:33:07 -07:00
  • ba8672dfab Added a couple more NEWS items. Wayne Davison 2008-03-23 10:06:53 -07:00
  • a5e0bf3579 Properly handle a new patch-branch that is only available locally. Wayne Davison 2008-03-23 07:33:24 -07:00
  • 99ba99c74c Changed the way version numbering of pre-releases will be done in the RPM spec file so that they order prior to the final release. Wayne Davison 2008-03-22 23:45:05 -07:00
  • 469ff84e29 More NEWS updates and improvements. Wayne Davison 2008-03-22 22:15:20 -07:00
  • b5daf5300f Made the filename arg-parsing code skip args that have excluded path components, returning the same errors that would occur if the path elements didn't actually exist. The glob_match() code was also changed to no longer truncate an arg with an excluded path element (it just omits excluded items from glob matching). Wayne Davison 2008-03-22 15:29:34 -07:00
  • f5aeb6ff9b Added XFLG_DIR2WILD3 flag that the daemon uses to transform any config-file dir/ exclude rule into a dir/*** rule. Wayne Davison 2008-03-22 12:34:03 -07:00
  • 4c74d44dab A couple fixes in add_rule() for XFLG_ABS_IF_SLASH: - Remove the trailing slash earlier, so that it doesn't affect the XFLG_ABS_IF_SLASH check. - Count the slashes earlier so that the XFLG_ABS_IF_SLASH can use it instead of using a strchr() all that could scan past the end of the input. Wayne Davison 2008-03-22 12:30:43 -07:00
  • 4a86fbcda0 Change ex_len to pre_len in add_rule(). Wayne Davison 2008-03-22 12:21:41 -07:00
  • bc267e0f57 Improved ENSURE_MEMSPACE() macro and use it in more places in glob code. Wayne Davison 2008-03-22 08:13:04 -07:00
  • fc05137846 Mention the most recent changes in the NEWS. Wayne Davison 2008-03-21 17:50:01 -07:00
  • c085ece623 Some RPM spec file improvements: - Added installation of new /etc/xinetd.d/rsync config file. - Added commented-out lines to demonstrate how to use rsync-patches. Wayne Davison 2008-03-21 16:28:20 -07:00
  • 91f625cee0 Make glob_expand() return an indicator if the glob had no matches. Wayne Davison 2008-03-21 15:00:28 -07:00
  • 27b067f87b Changed d_name() to be a static inline function. Wayne Davison 2008-03-21 07:26:25 -07:00
  • 987a546756 A couple improvements to the new arg-globbing code: - Put all the state variables into a single struct. - Reuse the buffer memory for each glob_expand() call until a final call with a NULL pointer tells us to free it. Wayne Davison 2008-03-21 07:11:37 -07:00
  • 4d30f17671 Changed the arg-globbing routine to use a custom arg-globbing algorithm that does not include any daemon-excluded items in the matches. It is also not subverted by the presence of one or more dot-dir elements in an arg. Wayne Davison 2008-03-20 22:51:03 -07:00
  • d48810ba5b Some improvements to the file-name cleaning code: - Removed the CFN_KEEP_LEADING_DOT_DIR flag for clean_fname(). - Explicitly add an implied dot-dir to the transfer rather than keeping a leading a "./" prefix as a part of a relative pathname. - Added the CFN_KEEP_DOT_DIRS flag for clean_fname(). - Added the SP_KEEP_DOT_DIRS flag for sanitize_path(). - Call clean_fname() a couple more times. Wayne Davison 2008-03-20 11:59:54 -07:00
  • 819bfe4599 Changed the name of the server_filter_list to be daemon_filter_list, for improved clarity. Wayne Davison 2008-03-20 10:42:43 -07:00
  • d2f6e19262 Fixed a bug in the truncating of daemon-excluded paths. Wayne Davison 2008-03-20 10:35:53 -07:00
  • e889e0c43b A couple more support/rrsync tweaks: - Die if the --server option is not first on the command-line. - Don't allow the --daemon option by default. Wayne Davison 2008-03-19 16:44:11 -07:00
  • 6e0bf4d840 Some more minor changes for the skip/missing/dry_run code. Wayne Davison 2008-03-19 08:57:41 -07:00
  • 83a8ca7b14 Unsnarl missing_below/dry_run logic. Matt McCutchen 2008-03-18 22:16:41 -04:00
  • 100200d0d2 Fix a poorly placed sentence in rsyncd.conf.yo. Matt McCutchen 2008-03-18 15:28:36 -04:00
  • f28bf7f401 My modified version of Matt's improvements to the sections on the various filter parameters. Wayne Davison 2008-03-18 11:41:00 -07:00
  • e0fd68f5ce Improved arg-path checking so that wildcards can't be used to avoid a daemon-exclude. Wayne Davison 2008-03-18 10:17:02 -07:00
  • cc12c488aa Use the missing_below code to make the daemon-exclusions work better. Wayne Davison 2008-03-18 10:10:13 -07:00
  • 99c3e591b2 Reject a daemon-excluded destination. Wayne Davison 2008-03-18 09:44:42 -07:00
  • 1aefb7ef73 Output a non-existent-file error for server-excluded files instead of silently ignoring them. Wayne Davison 2008-03-18 08:43:43 -07:00
  • d7b6774d82 More typo fixes. Matt McCutchen 2008-03-17 15:19:13 -04:00
  • d4c5cb2b01 A couple more changes for dealing with "checker" warnings. Wayne Davison 2008-03-17 10:50:11 -07:00
  • df476bfcff Fix typo in rsyncd.conf man page. Matt McCutchen 2008-03-17 11:30:08 -04:00
  • aa0e6b9977 Attempting to silence some more "checker" warnings. Wayne Davison 2008-03-17 07:34:22 -07:00
  • 1ba6468f1b Mention all the latest changes in the NEWS file. Wayne Davison 2008-03-16 22:43:35 -07:00
  • f490102454 If we're not compiling one or more major options (ACLs, xattrs, & iconv), try to turn off unused-parameter compiler warnings. Wayne Davison 2008-03-16 21:49:19 -07:00
  • 18f3cb6957 Changed stat() call to do_stat(). Wayne Davison 2008-03-16 21:43:27 -07:00
  • 7abcfd85b7 Moved declaration of "int i" outside the ifdef in send_protected_args(). Wayne Davison 2008-03-16 20:39:16 -07:00
  • 6de417d9d4 If the system's popt.h file is not found, use our provided popt code. Wayne Davison 2008-03-16 20:35:18 -07:00
  • ffe8feb265 Added "const" to a couple more char * args. Wayne Davison 2008-03-16 19:48:44 -07:00
  • c9b62cf375 Fixed hard-linking when some of the files can get skipped. This adds the FLAG_SKIP_HLINK flag, which gets set on any hard-linked file that the user wants to skip (e.g. via --ignore-existing, --append, etc.). The code in hlink.c now deals with the skipped files instead of triggering an assert() error. Wayne Davison 2008-03-16 18:06:47 -07:00
  • 7bc595785e Made the FLAG_MOUNT_DIR bit only honored on a directory. Wayne Davison 2008-03-16 17:52:01 -07:00
  • 022dec7aba Moved the --append check so that files that don't need to be transferred still get their non-content attributes updated, and combining --append with --hard-links will not prevent the discovery of unchanged files. Wayne Davison 2008-03-16 17:50:28 -07:00
  • ddaef70ced Make the --ignore-existing option not overwrite a regular file with a dir/symlink/device/special-file, just like it already refuses to overwrite a non-regular file with a regular file. Wayne Davison 2008-03-16 17:06:52 -07:00
  • 2357a51e09 A daemon no longer tries to refuse the iconv option when it is not enabled. Wayne Davison 2008-03-16 12:11:19 -07:00
  • 24ded29ff6 Fixed a hang when using --remove-source-files in dry-run mode. Wayne Davison 2008-03-16 06:56:26 -07:00
  • ddff23a7f9 Added missing $(CPPFLAGS) from the building of rounding.h. Wayne Davison 2008-03-15 14:09:20 -07:00
  • 53936ef935 Fixed the use of --protect-args (-s) with a daemon. Wayne Davison 2008-03-15 11:25:01 -07:00
  • 7f9bf6b710 Generate a helpful message when we get an option-error from a daemon while requesting a file-listing and we suspect that the remote rsync is complaining about the -d option. Wayne Davison 2008-03-15 08:51:07 -07:00
  • cfdb27b0c1 Another optimization of "bp" adding when creating a file_struct. Wayne Davison 2008-03-15 07:27:33 -07:00
  • fc3ca11040 Got rid of some useless uses of the -t option. Wayne Davison 2008-03-15 07:26:46 -07:00
  • d6c9c3319b - Fixed a crash bug when backing up files with ACLs enabled and we create a directory in the backup-path area. - Fixed a bug where make_file() was setting F_PATHNAME() on the receiving side. - A non-pool (temp-memory) file structure now stores the size of its extra_cnt value in the F_DEPTH() int so that unmake_file() can always be sure of how to free() the memory. - The ACL-preserving code no longer allocates 4 more bytes per file entry than it needs. - Got rid of a useless adding of the symlink length to "bp". Wayne Davison 2008-03-15 00:43:31 -07:00
  • 8afaef4219 Have configure check to see if /usr/include/popt/popt.h is around (rather than /usr/include/popt.h), and use the included popt lib if it is (to avoid a potential conflict due to our use of -I.). Wayne Davison 2008-03-14 22:55:59 -07:00
  • 11faa893ca (Matt) More itemize clarifications. Wayne Davison 2008-03-13 17:45:13 -07:00
  • 600b56b316 Clarify that the change/checksum itemize flag can be missing when talking to older rsync versions. Wayne Davison 2008-03-12 16:51:13 -07:00
  • ee39281d14 Fixed the 'T' itemized output for a symlink the right way this time. Wayne Davison 2008-03-11 14:50:21 -07:00
  • 0607c30700 - One more fix for the 'T' itemized output for a symlink when we're the client on the receiving side of a protocol-29 connection. Wayne Davison 2008-03-11 07:25:31 -07:00
  • 492ad04277 (Matt) Add missing --no-y option. Wayne Davison 2008-03-10 21:40:04 -07:00
  • 1ed9018e69 Fixed some itemized logging failures: - If a symlink/device/special-file changes its value without any attribute changes, the itemized event no longer gets dropped. - We put a 'c' into the checksum/change field now to indicate when a symlink/device/special-file changes its value without changing its type. This lets us properly interpret the --copy-links output to know which items are getting copied without changes and which are getting created with new content. - Fixed the 'T' itemized output for a symlink when rsync tries to set the right time but fails due to lack of OS/disk support. Wayne Davison 2008-03-10 21:15:37 -07:00
  • ff0e15804f Fixed the itemizing of perms with -E. Wayne Davison 2008-03-09 19:50:51 -07:00
  • 894e6299c1 Some popt improvements: - Fixed a bug in short-opt parsing when an abutting arg has an '='. - Allow a short-opt to be separated from its arg by an '='. - Avoid an IBM-checker warning about an impossible case in a switch and a warning about a potential NULL-pointer dereference. - Fixed a memory leak. Wayne Davison 2008-03-08 10:54:17 -08:00
  • c080190365 Fixed the latest xattrs tests on OS X. Wayne Davison 2008-03-07 17:13:38 -08:00
  • 26f0e56587 Restore a long-attribute test that was temporarily disabled. Wayne Davison 2008-03-07 16:45:26 -08:00
  • b4e6aac985 Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems. Wayne Davison 2008-03-07 16:41:09 -08:00
  • 7c21776e54 Handle the very latest spot for the nightly dir. Wayne Davison 2008-03-07 16:25:05 -08:00
  • d724dd186e Fixed the interaction of --fake-super with --link-dest & --xattrs. Fixed the munging of non-user namespace xattrs w/--fake-super. Fixed the sorting of received xattrs when name-munging occurs. Added xattr tests to verify that these things stay fixed. Wayne Davison 2008-03-07 16:16:29 -08:00
  • cbbd8e2e8b The --fake-super option conflicts with -XX (which copies internal rsync xattrs literally). Wayne Davison 2008-03-07 15:23:39 -08:00
  • af6241f7ad Simplify the description of what we're doing. Wayne Davison 2008-03-06 09:40:46 -08:00
  • 852e763b89 Added even more no-OPTION overrides. Wayne Davison 2008-03-06 09:38:48 -08:00
  • 0f71592015 Made the description of ignored symlink errors more accurate. Wayne Davison 2008-03-06 09:36:57 -08:00
  • e63d3a29e2 Updated nightly-rsync and release-rsync to handle the new ftp directory layout. Wayne Davison 2008-03-04 23:56:45 -08:00
  • 38cef641a5 Updated rrsync to deal with the latest 3.0.0's use of the -e option. Added a couple more long options that might get passed. Wayne Davison 2008-03-04 22:50:41 -08:00
  • 6226396c4a Don't call utimes() on a dir that doesn't need its mtime changed. Wayne Davison 2008-03-04 22:48:01 -08:00
  • 89b47d43de - Made the itemize test check for CAN_HARDLINK_SYMLINK define instead of running its own test using ln. - Made the merge test call checkit with absolute paths so that some folk's cd command won't foul things up with extra output. Wayne Davison 2008-03-04 21:46:00 -08:00
  • d1c06c2180 Fixing a problem with a NULL config_file pointer when accessing a single-use daemon without no --config option specified. Added a test to ensure that this doesn't break in the future. Wayne Davison 2008-03-03 18:33:11 -08:00