Renamed several exclude-related functions/variables using new
[rsync/rsync.git] / NEWS
1 NEWS for rsync 2.6.4 (UNRELEASED)
2 Protocol: 29 (changed)
3 Changes since 2.6.3:
4
5   OUTPUT CHANGES:
6
7     - When rsync deletes a directory and outputs a verbose message about
8       it, it now appends a trailing slash to the name instead of (only
9       sometimes) outputting a preceding "directory " string.
10   
11   BUG FIXES:
12
13     - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3
14       was only treating it as a special token in an rsync include/exclude
15       file).
16
17     - Avoid a mkdir warning when removing a directory in the destination
18       that already exists in the --backup-dir.
19
20     - An OS that has a binary mode for its files (such as cygwin0 needed
21       setmode(fd, O_BINARY) called on the temp-file we opened with
22       mkstemp().  (Fix picked up from the cygwin package.)
23
24     - Fixed a potential hang when verbosity is high, the client side is
25       the sender, and the file-list is large.
26
27     - We now check if the OS doesn't support using mknod() for creating
28       FIFOs and sockets, and compile-in using mkfifo() and socket() when
29       necessary.
30
31     - Fixed an off-by-one error in the handling of --max-delete=N.
32
33     - One place in the code wasn't checking if fork() failed.
34
35     - The "ignore nonreadable" daemon parameter no longer affects symlinks
36       that are being copied, even if they point nowhere.
37
38     - If the OS does not have lchown() and its chown() tries to set the
39       referent of a symlink (as it should), we no longer try to set the
40       user and group of a symlink.
41
42     - The generator now properly runs the hard-link loop and the dir-time
43       rewriting loop after we're sure that the redo phase is complete.
44
45     - When --backup was specified with --partial-dir=DIR, don't try to
46       backup a file in DIR when DIR is relative.
47
48   ENHANCEMENTS:
49
50     - Rsync now supports popt's option aliases, which means that you can
51       use /etc/popt and/or ~/.popt to create your own option aliases.
52
53     - Added the --copy-dest option, which works like --link-dest except
54       that it includes copies of identical files.
55
56     - Added support for specifying multiple --compare-dest, --copy-dest, or
57       --link-dest options, but only of a single type. (Promoted from the
58       patches dir and enhanced.)
59
60     - Added the --max-size option. (Promoted from the patches dir.)
61
62     - The daemon-mode options were separated from the normal rsync options
63       so that they can't be mixed together.  This makes it impossible to
64       start a daemon that had improper default option values that could
65       cause problems (such as a hang or an abort) when a client connects.
66
67     - The --bwlimit option may now be used in combination with --daemon
68       to specify a default value for the daemon side and also a value
69       that cannot be exceeded by a user-specified --bwlimit option.
70
71     - Added the "port" parameter to the rsyncd.conf file. (Promoted from
72       the patches dir.)
73
74     - In _exit_cleanup(): when we are exiting with a partially-received
75       file, we now flush any data in the write-cache before closing the
76       partial file.
77
78     - The --inplace support was enhanced to work with --compare-dest,
79       --link-dest, and (the new) --copy-dest options.
80
81     - Added the --dirs (-d) option for an easier way to copy directories
82       without recursion.
83
84     - Added the --list-only option which is mainly a way for the client to
85       put the server into listing mode without needing to resort to any
86       option kluges (e.g. the age-old use of "-r --exclude="/*/*" for a
87       non-recursive listing).
88
89     - Added the --omit-dir-times (-O) option which will avoid updating the
90       modified time for directories when --times was specified.  For a
91       really large transfer, this option will avoid an extra pass through
92       the file-list at the end of the transfer to tweak all the directory
93       times.
94
95     - Added the --delete-during (--del) option which will delete files
96       from on the receiving side incrementally as each directory in the
97       transfer is being processed (which makes it more efficient than
98       the default, before-the-transfer behavior of --delete).
99
100     - Added the --filter (-f) option and its helper option, -F.  Filter
101       rules are an extension to the existing include/exclude handling
102       that also supports nested filter files as well as per-directory
103       filter files (like .cvsignore, but with full filter-rule parsing).
104       This new option was chosen in order to ensure that all existing
105       include/exclude processing remained 100% compatible with older
106       versions.
107
108     - Added support/atomic-rsync -- a perl script that will transfer some
109       files using rsync, and then move the updated files into place all at
110       once at the end of the transfer.  Only works when pulling, and uses
111       --link-dest.
112
113   INTERNAL:
114
115     - Added better checking of the checksum header values that come over
116       the socket.
117
118     - Improved the type of some variables for consistency and proper size.
119
120   BUILD CHANGES:
121
122     - Handle an operating system that use mkdev() in place of makedev().