Commit | Line | Data |
---|---|---|
ac1541f4 | 1 | NEWS for rsync 2.6.4 (UNRELEASED) |
a8fd4161 | 2 | Protocol: 29 (changed) |
ac1541f4 WD |
3 | Changes since 2.6.3: |
4 | ||
fd8571c2 WD |
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. | |
da1b6eea | 10 | |
e30b1fb8 WD |
11 | - The --stats output will contain file-list time statistics if both |
12 | sides are 2.6.4, or if the local side is 2.6.4 and the files are | |
13 | being pushed (since the stats come from the sending side). | |
fd8571c2 | 14 | |
ac1541f4 WD |
15 | BUG FIXES: |
16 | ||
17 | - Restore the list-clearing behavior of "!" in a .cvsignore file (2.6.3 | |
18 | was only treating it as a special token in an rsync include/exclude | |
19 | file). | |
20 | ||
e30b1fb8 WD |
21 | - The --dry-run option (-n) now mentions changes in directories (w/-v). |
22 | It also now includes the normal uptodate output information for -vv. | |
23 | ||
1ed55e3e WD |
24 | - Avoid a mkdir warning when removing a directory in the destination |
25 | that already exists in the --backup-dir. | |
26 | ||
ac1541f4 WD |
27 | - An OS that has a binary mode for its files (such as cygwin0 needed |
28 | setmode(fd, O_BINARY) called on the temp-file we opened with | |
da1b6eea | 29 | mkstemp(). (Fix derived from the cygwin's rsync package.) |
4a888ae6 WD |
30 | |
31 | - Fixed a potential hang when verbosity is high, the client side is | |
32 | the sender, and the file-list is large. | |
ac1541f4 WD |
33 | |
34 | - We now check if the OS doesn't support using mknod() for creating | |
35 | FIFOs and sockets, and compile-in using mkfifo() and socket() when | |
36 | necessary. | |
37 | ||
740bab94 WD |
38 | - Fixed an off-by-one error in the handling of --max-delete=N. |
39 | ||
22f5bd5e | 40 | - One place in the code wasn't checking if fork() failed. |
5d54f339 | 41 | |
5b2f48da WD |
42 | - The "ignore nonreadable" daemon parameter no longer affects symlinks |
43 | that are being copied, even if they point nowhere. | |
44 | ||
ae09fb1f WD |
45 | - If the OS does not have lchown() and its chown() tries to set the |
46 | referent of a symlink (as it should), we no longer try to set the | |
47 | user and group of a symlink. | |
fbe2aba2 | 48 | |
ec626b3f WD |
49 | - The generator now properly runs the hard-link loop and the dir-time |
50 | rewriting loop after we're sure that the redo phase is complete. | |
51 | ||
da1b6eea WD |
52 | - When --backup was specified with --partial-dir=DIR (where DIR is a |
53 | relative path), the backup code was erroneously trying to backup a | |
54 | file that was put into the partial-dir. | |
ec626b3f | 55 | |
e30b1fb8 WD |
56 | - One call to flush_write_file() was not being checked for an error. |
57 | ||
58 | - The --no-relative option was not being sent from the client to a | |
59 | server sender. | |
60 | ||
61 | - If an rsync daemon specified "dont compress = ..." for a file and the | |
62 | client tried to specify --compress, the libz code was not handling a | |
63 | compression level of 0 properly. This could cause a transfer failure | |
64 | if the block-size for a file was large enough (i.e. rsync might have | |
65 | exited with an error for large files). | |
66 | ||
ac1541f4 WD |
67 | ENHANCEMENTS: |
68 | ||
8f1b4f36 WD |
69 | - Rsync now supports popt's option aliases, which means that you can |
70 | use /etc/popt and/or ~/.popt to create your own option aliases. | |
71 | ||
da1b6eea WD |
72 | - Added the --delete-during (--del) option which will delete files |
73 | from on the receiving side incrementally as each directory in the | |
74 | transfer is being processed (which makes it more efficient than the | |
75 | default, before-the-transfer behavior of --delete). Note that the | |
76 | --del option is implemented as an internally-defined popt alias, so | |
77 | an rsync daemon that refuses "delete" (which, for safety's sake, | |
78 | really matches "delete*") will still refuse all delete options. | |
79 | ||
7a1b73b9 | 80 | - Added the --copy-dest option, which works like --link-dest except |
c3131af9 | 81 | that it includes copies of identical files. |
7a1b73b9 | 82 | |
22f5bd5e WD |
83 | - Added support for specifying multiple --compare-dest, --copy-dest, or |
84 | --link-dest options, but only of a single type. (Promoted from the | |
c3131af9 | 85 | patches dir and enhanced.) |
22f5bd5e | 86 | |
c3131af9 | 87 | - Added the --max-size option. (Promoted from the patches dir.) |
7a1b73b9 | 88 | |
18ea5dc0 | 89 | - The daemon-mode options were separated from the normal rsync options |
22f5bd5e WD |
90 | so that they can't be mixed together. This makes it impossible to |
91 | start a daemon that had improper default option values that could | |
92 | cause problems (such as a hang or an abort) when a client connects. | |
18ea5dc0 | 93 | |
8f1b4f36 | 94 | - The --bwlimit option may now be used in combination with --daemon |
e30b1fb8 | 95 | to specify both a default value for the daemon side and a value |
8f1b4f36 WD |
96 | that cannot be exceeded by a user-specified --bwlimit option. |
97 | ||
c3131af9 | 98 | - Added the "port" parameter to the rsyncd.conf file. (Promoted from |
e30b1fb8 | 99 | the patches dir.) Also added "address". |
c3131af9 | 100 | |
ac1541f4 WD |
101 | - In _exit_cleanup(): when we are exiting with a partially-received |
102 | file, we now flush any data in the write-cache before closing the | |
103 | partial file. | |
104 | ||
a8fd4161 WD |
105 | - The --inplace support was enhanced to work with --compare-dest, |
106 | --link-dest, and (the new) --copy-dest options. | |
107 | ||
9624b864 | 108 | - Added the --dirs (-d) option for an easier way to copy directories |
859fdaad WD |
109 | without recursion. |
110 | ||
111 | - Added the --list-only option which is mainly a way for the client to | |
112 | put the server into listing mode without needing to resort to any | |
113 | option kluges (e.g. the age-old use of "-r --exclude="/*/*" for a | |
e30b1fb8 WD |
114 | non-recursive listing). This option is used automatically when a |
115 | modern rsync speaks to a modern daemon, but may also be specified | |
116 | manually if you want to force the use of the --list-only option over | |
117 | a remote-shell connection. | |
859fdaad | 118 | |
9624b864 | 119 | - Added the --omit-dir-times (-O) option which will avoid updating the |
e30b1fb8 WD |
120 | modified time for directories when --times was specified. This |
121 | option will avoid an extra pass through the file-list at the end of | |
122 | the transfer (to tweak all the directory times), which can result in | |
123 | an appreciable speedup for a really large transfer. | |
90fdd89a | 124 | |
9624b864 WD |
125 | - Added the --filter (-f) option and its helper option, -F. Filter |
126 | rules are an extension to the existing include/exclude handling | |
127 | that also supports nested filter files as well as per-directory | |
128 | filter files (like .cvsignore, but with full filter-rule parsing). | |
129 | This new option was chosen in order to ensure that all existing | |
130 | include/exclude processing remained 100% compatible with older | |
131 | versions. | |
132 | ||
da1b6eea WD |
133 | - Added the --delay-updates option that puts all updated files into |
134 | a temporary directory (by default ".~tmp~", but settable via the | |
135 | --partial-dir=DIR option) until the end of the transfer. This | |
136 | makes the updates a little more atomic for a large transfer. | |
137 | ||
e30b1fb8 WD |
138 | - If rsync is put into the background, any output from --progress is |
139 | reduced. | |
140 | ||
da1b6eea WD |
141 | SUPPORT FILES: |
142 | ||
cc17fbfe WD |
143 | - Added support/atomic-rsync -- a perl script that will transfer some |
144 | files using rsync, and then move the updated files into place all at | |
145 | once at the end of the transfer. Only works when pulling, and uses | |
da1b6eea WD |
146 | --link-dest and a parallel hierarchy of files to effect its update. |
147 | ||
148 | - Added support/mnt-excl that takes the /proc/mounts file and | |
149 | translates it into a set of excludes that will exclude all mount | |
150 | points (even mapped mounts to the same disk). The excludes are made | |
151 | relative to the specified source dir and properly anchored. | |
152 | ||
153 | - Added support/savetransfer.c -- a C program that can make a copy of | |
154 | all the data that flows over the wire. This lets you test for data | |
155 | corruption (by saving the data on both the sending side and the | |
156 | receiving side) or provides a way to help debug a protocol error. | |
157 | ||
158 | - Added support/rrsync -- my version of Joe Smith's restricted rsync | |
159 | perl script. This helps to ensure that only certain rsync commands | |
160 | can be run by an ssh invocation. | |
cc17fbfe | 161 | |
a8fd4161 WD |
162 | INTERNAL: |
163 | ||
e30b1fb8 | 164 | - Added better checking of the checksum-header values that come over |
a8fd4161 WD |
165 | the socket. |
166 | ||
e30b1fb8 WD |
167 | - Merged the various delete-file functions into a single function so |
168 | that it is easier to maintain. | |
169 | ||
170 | - Improved the type of some variables (particularly blocksize vars) for | |
171 | consistency and proper size. | |
172 | ||
173 | - Got rid of the uint64 type (which we didn't need). | |
a8fd4161 | 174 | |
ac1541f4 WD |
175 | BUILD CHANGES: |
176 | ||
87ba7282 | 177 | - Handle an operating system that use mkdev() in place of makedev(). |
e30b1fb8 WD |
178 | |
179 | - Improved configure to better handle cross-compiling. |