X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/40564811ee6c9c67bb3a0852ff2f031ed6d879c3..f5aeb6ff9b04432a84b5c79f5baac26be1f3f4e9:/NEWS diff --git a/NEWS b/NEWS index 8d3ea67f..0a48551a 100644 --- a/NEWS +++ b/NEWS @@ -1,115 +1,114 @@ -NEWS for rsync 2.6.3 (UNRELEASED) -Protocol: 28 (unchanged) -Changes since 2.6.2: +NEWS for rsync 3.0.1 (UNRELEASED) +Protocol: 30 (unchanged) +Changes since 3.0.0: BUG FIXES: - - Fixed a crash bug that might appear when --delete was used and - multiple source directories were specified. + - Fixed a crash bug when a single-use rsync daemon (via remote shell) was + run without specifying a --config=FILE option. - - The --backup code no longer attempts to create some directories - over and over again (generating warnings along the way). + - Fixed a crash when backing up a directory that has a default ACL. - - Fixed a bug in the reading of the secrets file (by the daemon) and - the password file (by the client): the files no longer need to be - terminated by a newline for their content to be read in. + - Fixed a bug in the handling of xattr values that could cause rsync to + not think that a file's extended attributes are up-to-date. - - If a file has a read error on the sending side, the receiver will - no longer keep the resulting file unless the --partial option was - specified. (Note: both sides must be running 2.6.3 for this to - work -- older receivers always keep the file, and older senders - don't tell the receiver that the file was not read correctly.) + - Fixed the working of --fake-super with --link-dest and --xattrs. - - If a file gets resent in a single transfer and the --backup option - is enabled, rsync no longer performs a duplicate backup (losing the - original file in the process). + - Fixed a hang when combining --dry-run with --remove-source-files. - - Fixed an age-old crash problem with --read-batch on a local copy - (rsync was improperly assuming --whole-file for the local copy). + - Fixed the building of the rounding.h file on systems that need custom + CPPFLAGS to be used. Also improved the error reporting if the building + of rounding.h fails. - - Files specified in the daemon's "exclude" or "exclude from" config - items are now excluded from being uploaded (assuming that the module - allows uploading at all) in addition to the old download exclusion. + - Fixed the use of the --protect-args (-s) option when talking to a daemon. - - Got rid of a potential hang in the receiver when near the end of a - phase. + - Fixed the --ignore-existing option's protection of files on the receiver + that are non-regular files on the sender (e.g. if a symlink or a dir on + the sender is trying to replace a file on the receiver). The reverse + protection (protecting a dir/symlink/device from being replaced by a + file) was already working. - - When using --backup without a --backup-dir, rsync no longer preserves - the modify time on directories. This avoids confusing NFS. + - Fixed an assert failure if --hard-links is combined with an option that + can cause a file in a set of hard-linked files to be skipped (i.e. if + --append, --ignore-existing, etc. affects one or more files in a hard- + linked set of files, but not all of them). - - When --copy-links (-L) is specified, we now output a separate error - for a symlink that has no referent instead of claiming that a file - "vanished". + - Avoid setting the time on a directory that already has the modify time + that we're setting. This avoids tweaking the dir's ctime. - - Error messages from the daemon server's option-parsing (such as - refused options) now get sent back to the client (the server used - to just exit because the socket wasn't in the right state to send - the message). + - Improved the daemon-exclude handling to do a better job of excluding + a wider range of path entries. It also sends the user an error about + "missing" files instead of silently ignoring them. - - Most errors that occur during a daemon transfer are now returned to - the user in addition to being logged (some messages are intended to - be daemon-only). + - Fixed some glitches with the dry-run code's missing-directory + handling, including a problem when combined with --fuzzy. - - Fixed a bug in the daemon authentication code when using one of the - batch-processing options. + - Fixed some glitches with the skipped-directory handling. - - We try to work around some buggy IPv6 implementations that fail to - implement IPV6_V6ONLY. This should fix the "address in use" error - that some daemons get when running on an OS with a buggy IPv6 - implementation. Also, if the new code gets this error, we might - suggest that the user specify --ipv4 or --ipv6 (if we think it will - help). + - Fixed the 'T'-flag itemizing of symlinks when --time isn't preserved. - ENHANCEMENTS: + - Fixed a glitch in the itemizing of permissions with the -E option. - - Added --keep-dirlinks (-K), which allows you to symlink a directory - onto another partition on the receiving side and have rsync treat it - as matching a normal directory from the sender. + - Added the 'c'-flag to the itemizing of non-regular files so that the + itemized output doesn't get hidden if there were no attribute changes, + and also so that the itemizing of a --copy-links run will distinguish + between copying an identical non-regular file and the creation of a + revised version with a new value (e.g. symlink referent, device + numbers). - - Added the "write only" option to the daemon's config file. + - The --append option's restricting of transfers to those that add data no + longer prevents the updating of non-content changes to otherwise up-to- + date files (i.e. those with the same content but differing permissions, + ownership, xattrs, etc.). - - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6) - and documented all these options in the man page. + - Don't allow --fake-super to be specified with -XX (double --xattrs) + because they conflict. If a daemon has "fake super" enabled, it + automatically downgrades a -XX request to -X. - - Improved the handling of the --bwlimit option so that it's less - bursty, more accurate, and works properly over a larger range of - values. + - A daemon doesn't try to auto-refuse the "iconv" option if iconv-support + wasn't compiled in to the daemon (avoiding a warning in the logs). - - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and - SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address. + - Fixed the support/rrsync script to work with the latest options that + rsync sends (including its flag-specifying use of -e to the server). - - Added the --checksum-seed=N option for advanced users. + ENHANCEMENTS: - INTERNAL: + - When getting an error while asking an older rsync daemon for a file + listing, rsync will try to notice if the error is a rejection of the + --dirs (-d) option and let the user know how to work around the issue. - - Some cleanup in the exclude code has saved some per-exclude memory - and made the code easier to maintain. + - Added a few more --no-OPTION overrides. - - Use rsyserr() in the various places that were still calling - rprintf() with strerror() as an arg. + - Improved the documentation of the --append option. - - If an rsync daemon is listening on multiple sockets (to handle both - IPv4 and IPv6 to a single port), we now close all the unneeded file - handles after we accept a connection (we used to close just one of - them). + - Improved the documentation of the filter/exclude/include daemon + parameters. - BUILD CHANGES: + INTERNAL: - - Added a "gen" target to rebuild most of the generated files, - including configure, config.h.in, the man pages, and proto.h. + - Fixed a couple minor bugs in the included popt library (ones which I + sent to the official popt project for inclusion in the 1.14 release). - - If "make proto" doesn't find some changes in the prototypes, the - proto.h file is left untouched (its time-stamp used to always be - updated). + - Fixed a stat() call that should have been do_stat() so that the proper + normal/64-bit stat() function gets called. (Was in an area that should + not have caused problems, though.) - - The variable $STRIP (that is optionally set by the install-strip - target's rule) was changed to $INSTALL_STRIP because some systems - have $STRIP set in the environment. + - Changed the file-glob code to do a directory scan without using the + "glob" and "glob.h". This lets us do the globbing with less memory + churn, and also avoid adding daemon-excluded items to the returned + args. DEVELOPER RELATED: - - The scripts in the testsuite dir were cleaned up a bit. + - The configure script tries to get the user's compiler to not warn about + unused function parameters if the build is not including one or more of + the ACL/xattrs/iconv features. + + - The configure script now has better checks for figuring out if the + included popt should be used or not. - - Some new diffs were added to the patches dir, and some accepted - ones were removed. + - The RPM spec file was updated to have (1) comments for how to use the + rsync-patch tar file, and (2) an /etc/xinetd.d/rsync file. + - Updated the build scripts to work with a revised FTP directory + structure.