Note from Alberto Accomazzi that rsync urls are broken for upload
[rsync/rsync.git] / TODO
CommitLineData
46ef7d1d 1-*- indented-text -*-
a0365806 2
259c3e72
MP
3BUGS ---------------------------------------------------------------
4
f9b9e2f0
MP
5rsync-url barfs on upload
6
7 rsync foo rsync://localhost/transfer/
8
9 Fix the parser.
10
11
259c3e72
MP
12There seems to be a bug with hardlinks
13
14 mbp/2 build$ ls -l /tmp/a /tmp/b -i
15 /tmp/a:
16 total 32
17 2568307 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a1
18 2568307 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a2
19 2568307 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a3
20 2568310 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a4
21 2568310 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a5
22 2568310 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b1
23 2568310 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b2
24 2568310 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b3
25
26 /tmp/b:
27 total 32
28 2568309 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a1
29 2568309 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a2
30 2568309 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a3
31 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a4
32 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a5
33 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b1
34 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b2
35 2568311 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b3
36 mbp/2 build$ rm -r /tmp/b && ./rsync -avH /tmp/a/ /tmp/b
37 building file list ... done
38 created directory /tmp/b
39 ./
40 a1
41 a4
42 a2 => a1
43 a3 => a2
44 wrote 350 bytes read 52 bytes 804.00 bytes/sec
45 total size is 232 speedup is 0.58
46 mbp/2 build$ rm -r /tmp/b
47 mbp/2 build$ ls -l /tmp/b
48 ls: /tmp/b: No such file or directory
49 mbp/2 build$ rm -r /tmp/b && ./rsync -avH /tmp/a/ /tmp/b
50 rm: cannot remove `/tmp/b': No such file or directory
51 mbp/2 build$ rm -f -r /tmp/b && ./rsync -avH /tmp/a/ /tmp/b
52 building file list ... done
53 created directory /tmp/b
54 ./
55 a1
56 a4
57 a2 => a1
58 a3 => a2
59 wrote 350 bytes read 52 bytes 804.00 bytes/sec
60 total size is 232 speedup is 0.58
61 mbp/2 build$ ls -l /tmp/b
62 total 32
63 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a1
64 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a2
65 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a3
66 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a4
67 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a5
68 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b1
69 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b2
70 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b3
71 mbp/2 build$ ls -l /tmp/a
72 total 32
73 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a1
74 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a2
75 -rw-rw-r-- 3 mbp mbp 29 Mar 25 17:30 a3
76 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a4
77 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 a5
78 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b1
79 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b2
80 -rw-rw-r-- 5 mbp mbp 29 Mar 25 17:30 b3
46ef7d1d 81
33d213bb 82
e4724e5c
MP
83Progress indicator can produce corrupt output when transferring directories:
84
85 main/binary-arm/
86 main/binary-arm/admin/
87 main/binary-arm/base/
88 main/binary-arm/comm/8.56kB/s 0:00:52
89 main/binary-arm/devel/
90 main/binary-arm/doc/
91 main/binary-arm/editors/
92 main/binary-arm/electronics/s 0:00:53
93 main/binary-arm/games/
94 main/binary-arm/graphics/
95 main/binary-arm/hamradio/
96 main/binary-arm/interpreters/
97 main/binary-arm/libs/6.61kB/s 0:00:54
98 main/binary-arm/mail/
99 main/binary-arm/math/
100 main/binary-arm/misc/
101
102lchmod
e4724e5c
MP
103 I don't think we handle this properly on systems that don't have the
104 call.
105
5ba268ef
MP
106Cross-test versions
107 Part of the regression suite should be making sure that we don't
108 break backwards compatibility: old clients vs new servers and so
109 on. Ideally we would test the cross product of versions.
110
111 It might be sufficient to test downloads from well-known public
112 rsync servers running different versions of rsync. This will give
113 some testing and also be the most common case for having different
114 versions and not being able to upgrade.
115
f5e4eadb
MP
116--no-blocking-io might be broken
117
118 in the same way as --no-whole-file; somebody needs to check.
119
e4724e5c 120
3d90ec14
MP
121DAEMON --------------------------------------------------------------
122
123server-imposed bandwidth limits
124
125rsyncd over ssh
126
127 There are already some patches to do this.
128
129 BitKeeper uses a server whose login shell is set to bkd. That's
130 probably a reasonable approach.
131
132
133FEATURES ------------------------------------------------------------
33d213bb 134
33d213bb 135
642a979a
MP
136--dry-run is insufficiently dry
137
138 Mark Santcroos points out that -n fails to list files which have
139 only metadata changes, though it probably should.
140
141 There may be a Debian bug about this as well.
142
143
a2d2e5c0
MP
144use chroot
145
146 If the platform doesn't support it, then don't even try.
147
148 If running as non-root, then don't fail, just give a warning.
149 (There was a thread about this a while ago?)
150
151 http://lists.samba.org/pipermail/rsync/2001-August/thread.html
152 http://lists.samba.org/pipermail/rsync/2001-September/thread.html
153
642a979a 154
a2d2e5c0
MP
155--files-from
156
157 Avoids traversal. Better option than a pile of --include statements
158 for people who want to generate the file list using a find(1)
159 command or a script.
160
642a979a 161
595f2d4d
MP
162supplementary groups
163
164 Perhaps allow supplementary groups to be specified in rsyncd.conf;
165 then make the first one the primary gid and all the rest be
166 supplementary gids.
167
168
8f4455f2
MP
169File list structure in memory
170
171 Rather than one big array, perhaps have a tree in memory mirroring
172 the directory tree.
173
174 This might make sorting much faster! (I'm not sure it's a big CPU
175 problem, mind you.)
176
177 It might also reduce memory use in storing repeated directory names
178 -- again I'm not sure this is a problem.
0e5a1f83 179
a2d2e5c0
MP
180Performance
181
182 Traverse just one directory at a time. Tridge says it's possible.
a6a3c3df
MP
183
184 At the moment rsync reads the whole file list into memory at the
185 start, which makes us use a lot of memory and also not pipeline
186 network access as much as we could.
187
0e5a1f83
MP
188
189Handling duplicate names
190
b3e6c815 191 We need to be careful of duplicate names getting into the file list.
d2e9d069
MP
192 See clean_flist(). This could happen if multiple arguments include
193 the same file. Bad.
b3e6c815
MP
194
195 I think duplicates are only a problem if they're both flowing
196 through the pipeline at the same time. For example we might have
197 updated the first occurrence after reading the checksums for the
198 second. So possibly we just need to make sure that we don't have
199 both in the pipeline at the same time.
200
201 Possibly if we did one directory at a time that would be sufficient.
202
203 Alternatively we could pre-process the arguments to make sure no
58379559
MP
204 duplicates will ever be inserted. There could be some bad cases
205 when we're collapsing symlinks.
b3e6c815
MP
206
207 We could have a hash table.
208
d2e9d069
MP
209 The root of the problem is that we do not want more than one file
210 list entry referring to the same file. At first glance there are
211 several ways this could happen: symlinks, hardlinks, and repeated
212 names on the command line.
213
214 If names are repeated on the command line, they may be present in
215 different forms, perhaps by traversing directory paths in different
216 ways, traversing paths including symlinks. Also we need to allow
217 for expansion of globs by rsync.
218
219 At the moment, clean_flist() requires having the entire file list in
220 memory. Duplicate names are detected just by a string comparison.
221
222 We don't need to worry about hard links causing duplicates because
223 files are never updated in place. Similarly for symlinks.
224
225 I think even if we're using a different symlink mode we don't need
226 to worry.
227
0e5a1f83
MP
228 Unless we're really clever this will introduce a protocol
229 incompatibility, so we need to be able to accept the old format as
230 well.
231
232
a6a3c3df
MP
233Memory accounting
234
235 At exit, show how much memory was used for the file list, etc.
236
b3e6c815
MP
237 Also we do a wierd exponential-growth allocation in flist.c. I'm
238 not sure this makes sense with modern mallocs. At any rate it will
239 make us allocate a huge amount of memory for large file lists.
240
0e5a1f83 241
a6a3c3df
MP
242Hard-link handling
243
244 At the moment hardlink handling is very expensive, so it's off by
245 default. It does not need to be so.
246
0e5a1f83
MP
247 Since most of the solutions are rather intertwined with the file
248 list it is probably better to fix that first, although fixing
249 hardlinks is possibly simpler.
250
a6a3c3df
MP
251 We can rule out hardlinked directories since they will probably
252 screw us up in all kinds of ways. They simply should not be used.
253
254 At the moment rsync only cares about hardlinks to regular files. I
255 guess you could also use them for sockets, devices and other beasts,
256 but I have not seen them.
257
258 When trying to reproduce hard links, we only need to worry about
259 files that have more than one name (nlinks>1 && !S_ISDIR).
260
261 The basic point of this is to discover alternate names that refer to
262 the same file. All operations, including creating the file and
263 writing modifications to it need only to be done for the first name.
264 For all later names, we just create the link and then leave it
265 alone.
266
267 If hard links are to be preserved:
268
269 Before the generator/receiver fork, the list of files is received
270 from the sender (recv_file_list), and a table for detecting hard
271 links is built.
272
273 The generator looks for hard links within the file list and does
274 not send checksums for them, though it does send other metadata.
275
276 The sender sends the device number and inode with file entries, so
277 that files are uniquely identified.
278
279 The receiver goes through and creates hard links (do_hard_links)
280 after all data has been written, but before directory permissions
281 are set.
282
283 At the moment device and inum are sent as 4-byte integers, which
284 will probably cause problems on large filesystems. On Linux the
285 kernel uses 64-bit ino_t's internally, and people will soon have
286 filesystems big enough to use them. We ought to follow NFS4 in
287 using 64-bit device and inode identification, perhaps with a
288 protocol version bump.
289
290 Once we've seen all the names for a particular file, we no longer
291 need to think about it and we can deallocate the memory.
292
293 We can also have the case where there are links to a file that are
294 not in the tree being transferred. There's nothing we can do about
295 that. Because we rename the destination into place after writing,
296 any hardlinks to the old file are always going to be orphaned. In
297 fact that is almost necessary because otherwise we'd get really
298 confused if we were generating checksums for one name of a file and
299 modifying another.
300
301 At the moment the code seems to make a whole second copy of the file
302 list, which seems unnecessary.
303
304 We should have a test case that exercises hard links. Since it
305 might be hard to compare ./tls output where the inodes change we
306 might need a little program to check whether several names refer to
307 the same file.
a2d2e5c0
MP
308
309IPv6
310
c33e3e39
MP
311 Implement suggestions from http://www.kame.net/newsletter/19980604/
312 and ftp://ftp.iij.ad.jp/pub/RFC/rfc2553.txt
313
314 If a host has multiple addresses, then listen try to connect to all
315 in order until we get through. (getaddrinfo may return multiple
c10b0bdd 316 addresses.) This is kind of implemented already.
c33e3e39
MP
317
318 Possibly also when starting as a server we may need to listen on
319 multiple passive addresses. This might be a bit harder, because we
320 may need to select on all of them. Hm.
321
a2d2e5c0
MP
322 Define a syntax for IPv6 literal addresses. Since they include
323 colons, they tend to break most naming systems, including ours.
324 Based on the HTTP IPv6 syntax, I think we should use
325
326 rsync://[::1]/foo/bar
327 [::1]::bar
328
329 which should just take a small change to the parser code.
330
b17dd0c4 331
5aafd07b
MP
332Errors
333
334 If we hang or get SIGINT, then explain where we were up to. Perhaps
335 have a static buffer that contains the current function name, or
336 some kind of description of what we were trying to do. This is a
337 little easier on people than needing to run strace/truss.
338
339 "The dungeon collapses! You are killed." Rather than "unexpected
340 eof" give a message that is more detailed if possible and also more
341 helpful.
342
89b0a3d9
MP
343 If we get an error writing to a socket, then we should perhaps
344 continue trying to read to see if an error message comes across
345 explaining why the socket is closed. I'm not sure if this would
346 work, but it would certainly make our messages more helpful.
347
b17dd0c4
MP
348 What happens if a directory is missing -x attributes. Do we lose
349 our load? (Debian #28416) Probably fixed now, but a test case
350 would be good.
351
352
5575de14
MP
353File attributes
354
355 Device major/minor numbers should be at least 32 bits each. See
356 http://lists.samba.org/pipermail/rsync/2001-November/005357.html
357
358 Transfer ACLs. Need to think of a standard representation.
359 Probably better not to even try to convert between NT and POSIX.
360 Possibly can share some code with Samba.
5aafd07b 361
28a69e25
MP
362Empty directories
363
364 With the current common --include '*/' --exclude '*' pattern, people
365 can end up with many empty directories. We might avoid this by
366 lazily creating such directories.
367
c6e27b60 368
28a69e25
MP
369zlib
370
c6e27b60
MP
371 Perhaps don't use our own zlib.
372
373 Advantages:
374
375 - will automatically be up to date with bugfixes in zlib
376
377 - can leave it out for small rsync on e.g. recovery disks
378
379 - can use a shared library
380
381 - avoids people breaking rsync by trying to do this themselves and
382 messing up
383
384 Should we ship zlib for systems that don't have it, or require
385 people to install it separately?
386
387 Apparently this will make us incompatible with versions of rsync
388 that use the patched version of rsync. Probably the simplest way to
389 do this is to just disable gzip (with a warning) when talking to old
390 versions.
391
5ba268ef
MP
392
393logging
394
395 Perhaps flush stdout after each filename, so that people trying to
396 monitor progress in a log file can do so more easily. See
397 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48108
398
399 At the connections that just get a list of modules are not logged,
400 but they should be.
401
402 If a child of the rsync daemon dies with a signal, we should notice
403 that when we reap it and log a message.
404
405 Keep stderr and stdout properly separated (Debian #23626)
406
595f2d4d
MP
407 After we get the @RSYNCD greeting from the server, we know it's
408 version but we have not yet sent the command line, so we could just
409 remove the -z option if the server is too old.
410
411 For ssh invocation it's not so simple, because we actually use the
412 command line to start the remote process. However, we only actually
413 do compression in token.c, and we could therefore once we discover
414 the remote version emit an error if it's too old. I'm not sure if
415 that's a good tradeoff or not.
416
28a69e25 417
5ba268ef
MP
418rsyncd over ssh
419
420 There are already some patches to do this.
421
92325ada
MP
422proxy authentication
423
424 Allow RSYNC_PROXY to be http://user:pass@proxy.foo:3128/, and do
425 HTTP Basic Proxy-Authentication.
426
427 Multiple schemes are possible, up to and including the insanity that
428 is NTLM, but Basic probably covers most cases.
429
430SOCKS
431
432 Add --with-socks, and then perhaps a command-line option to put them
433 on or off. This might be more reliable than LD_PRELOAD hacks.
434
5ba268ef
MP
435FAT support
436
437 rsync to a FAT partition on a Unix machine doesn't work very well
438 at the moment. I think we get errors about invalid filenames and
439 perhaps also trying to do atomic renames.
440
441 I guess the code to do this is currently #ifdef'd on Windows; perhaps
442 we ought to intelligently fall back to it on Unix too.
443
444
27741d9f
MP
445Better statistics:
446
447 <Rasmus> mbp: hey, how about an rsync option that just gives you the
448 summary without the list of files? And perhaps gives more
449 information like the number of new files, number of changed,
450 deleted, etc. ?
451 <mbp> Rasmus: nice idea
452 <mbp> there is --stats
453 <mbp> but at the moment it's very tridge-oriented
454 <mbp> rather than user-friendly
455 <mbp> it would be nice to improve it
456 <mbp> that would also work well with --dryrun
457
e53fe9a2
MP
458TDB:
459
460 Rather than storing the file list in memory, store it in a TDB.
461
462 This *might* make memory usage lower while building the file list.
463
464 Hashtable lookup will mean files are not transmitted in order,
465 though... hm.
466
467 This would neatly eliminate one of the major post-fork shared data
468 structures.
469
470
97e1254a
MP
471chmod:
472
473 On 12 Mar 2002, Dave Dykstra <dwd@bell-labs.com> wrote:
474 > If we would add an option to do that functionality, I would vote for one
475 > that was more general which could mask off any set of permission bits and
476 > possibly add any set of bits. Perhaps a chmod-like syntax if it could be
477 > implemented simply.
478
479 I think that would be good too. For example, people uploading files
480 to a web server might like to say
481
482 rsync -avzP --chmod a+rX ./ sourcefrog.net:/home/www/sourcefrog/
483
484 Ideally the patch would implement as many of the gnu chmod semantics
485 as possible. I think the mode parser should be a separate function
486 that passes back something like (mask,set) description to the rest of
487 the program. For bonus points there would be a test case for the
488 parser.
489
36692011
MP
490 (Debian #23628)
491
97e1254a 492
3c1edccb
MP
493--diff
494
495 Allow people to specify the diff command. (Might want to use wdiff,
496 gnudiff, etc.)
497
498 Just diff the temporary file with the destination file, and delete
499 the tmp file rather than moving it into place.
500
501 Interaction with --partial.
502
503 Security interactions with daemon mode?
504
505 (Suggestion from david.e.sewell)
506
507
a628b069
MP
508Incorrect timestamps (Debian #100295)
509
510 A bit hard to believe, but apparently it happens.
6d19c674
MP
511
512
513Check "refuse options works"
514
515 We need a test case for this...
516
517 Was this broken when we changed to popt?
6479c2ed
MP
518
519
bd0ad74f
MP
520PERFORMANCE ----------------------------------------------------------
521
522MD4 file_sum
523
524 If we're doing a local transfer, or using -W, then perhaps don't
525 send the file checksum. If we're doing a local transfer, then
526 calculating MD4 checksums uses 90% of CPU and is unlikely to be
527 useful.
528
529 Indeed for transfers over zlib or ssh we can also rely on the
530 transport to have quite strong protection against corruption.
531
532 Perhaps we should have an option to disable this, analogous to
533 --whole-file, although it would default to disabled. The file
534 checksum takes up a definite space in the protocol -- we can either
535 set it to 0, or perhaps just leave it out.
536
537MD4
538
539 Perhaps borrow an assembler MD4 from someone?
540
541 Make sure we call MD4 with properly-sized blocks whenever possible
542 to avoid copying into the residue region?
543
6479c2ed
MP
544String area code
545
546 Test whether this is actually faster than just using malloc(). If
547 it's not (anymore), throw it out.
a628b069
MP
548
549
a2d2e5c0
MP
550PLATFORMS ------------------------------------------------------------
551
552Win32
553
554 Don't detach, because this messes up --srvany.
555
556 http://sources.redhat.com/ml/cygwin/2001-08/msg00234.html
557
558 According to "Effective TCP/IP Programming" (??) close() on a socket
559 has incorrect behaviour on Windows -- it sends a RST packet to the
560 other side, which gives a "connection reset by peer" error. On that
561 platform we should probably do shutdown() instead. However, on Unix
562 we are correct to call close(), because shutdown() discards
563 untransmitted data.
564
5ba268ef 565
0e23e41d
MP
566DEVELOPMENT ----------------------------------------------------------
567
568Splint
569
570 Build rsync with SPLINT to try to find security holes. Add
571 annotations as necessary. Keep track of the number of warnings
572 found initially, and see how many of them are real bugs, or real
573 security bugs. Knowing the percentage of likely hits would be
574 really interesting for other projects.
575
f5a95bb5
MP
576Torture test
577
578 Something that just keeps running rsync continuously over a data set
579 likely to generate problems.
580
581Cross-testing
582
583 Run current rsync versions against significant past releases.
584
43a4dc10
MP
585Memory debugger
586
3a79260d 587 jra recommends Valgrind:
43a4dc10
MP
588
589 http://devel-home.kde.org/~sewardj/
590
25ff30e8
MP
591Release script
592
593 Update spec files
594
595 Build tar file; upload
596
597 Send announcement to mailing list and c.o.l.a.
598
599 Make freshmeat announcement
600
601 Update web site
602
603
604
e9c4c301
MP
605TESTING --------------------------------------------------------------
606
607Cross-test versions
608
609 Part of the regression suite should be making sure that we don't
610 break backwards compatibility: old clients vs new servers and so
25ff30e8
MP
611 on. Ideally we would test both up and down from the current release
612 to all old versions.
613
614 We might need to omit broken old versions, or versions in which
615 particular functionality is broken
e9c4c301
MP
616
617 It might be sufficient to test downloads from well-known public
618 rsync servers running different versions of rsync. This will give
619 some testing and also be the most common case for having different
620 versions and not being able to upgrade.
621
25ff30e8
MP
622
623Test on kernel source
624
625 Download all versions of kernel; unpack, sync between them. Also
626 sync between uncompressed tarballs. Compare directories after
627 transfer.
628
629 Use local mode; ssh; daemon; --whole-file and --no-whole-file.
630
631 Use awk to pull out the 'speedup' number for each transfer. Make
632 sure it is >= x.
633
634
e9c4c301
MP
635Test large files
636
637 Sparse and non-sparse
638
639Mutator program
640
641 Insert bytes, delete bytes, swap blocks, ...
642
643configure option to enable dangerous tests
644
645If tests are skipped, say why.
646
b73b51a9
MP
647Test daemon feature to disallow particular options.
648
599dc93c
MP
649Pipe program that makes slow/jerky connections.
650
76533c52
MP
651Versions of read() and write() that corrupt the stream, or abruptly fail
652
6479c2ed
MP
653Separate makefile target to run rough tests -- or perhaps just run
654them every time?
655
717eb9b8
MP
656Test "refuse options" works
657
658 What about for --recursive?
659
660 If you specify an unrecognized option here, you should get an error.
661
e9c4c301 662
7c583c73
MP
663DOCUMENTATION --------------------------------------------------------
664
665Update README
666
b73b51a9
MP
667Keep list of open issues and todos on the web site
668
669Update web site from CVS
670
5af50297
MP
671
672Perhaps redo manual as SGML
673
674 The man page is getting rather large, and there is more information
675 that ought to be added.
676
677 TexInfo source is probably a dying format.
678
679 Linuxdoc looks like the most likely contender. I know DocBook is
680 favoured by some people, but it's so bloody verbose, even with emacs
681 support.
682
683
a2d2e5c0
MP
684BUILD FARM -----------------------------------------------------------
685
686Add machines
687
688 AMDAHL UTS (Dave Dykstra)
689
690 Cygwin (on different versions of Win32?)
691
692 HP-UX variants (via HP?)
33d213bb 693
5aafd07b
MP
694 SCO
695
46ef7d1d 696
62b68c80 697LOGGING --------------------------------------------------------------
a2d2e5c0 698
62b68c80
MP
699 Perhaps flush stdout after each filename, so that people trying to
700 monitor progress in a log file can do so more easily. See
701 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=48108
a2d2e5c0 702
62b68c80
MP
703 At the connections that just get a list of modules are not logged,
704 but they should be.
705
706 If a child of the rsync daemon dies with a signal, we should notice
707 that when we reap it and log a message.
708
709 Keep stderr and stdout properly separated (Debian #23626)
710
711 Use a separate function for reporting errors; prefix it with
712 "rsync:" or "rsync(remote)", or perhaps even "rsync(local
713 generator): ".
a2d2e5c0 714
50f2f002
MP
715verbose output
716
717 Indicate whether files are new, updated, or deleted
718
d834adc1
MP
719 At end of transfer, show how many files were or were not transferred
720 correctly.
721
62b68c80
MP
722-vv
723
724 Explain *why* every file is transferred or not (e.g. "local mtime
725 123123 newer than 1283198")
726
727
8ff9d697
MP
728debugging of daemon
729
730 Add an rsyncd.conf parameter to turn on debugging on the server.
731
732
62b68c80
MP
733
734NICE -----------------------------------------------------------------
735
736--no-detach and --no-fork options
737
738 Very useful for debugging. Also good when running under a
739 daemon-monitoring process that tries to restart the service when the
740 parent exits.
741
742hang/timeout friendliness
3d90ec14 743
a2d2e5c0
MP
744internationalization
745
746 Change to using gettext(). Probably need to ship this for platforms
747 that don't have it.
748
749 Solicit translations.
750
3d90ec14
MP
751 Does anyone care? Before we bother modifying the code, we ought to
752 get the manual translated first, because that's possibly more useful
753 and at any rate demonstrates desire.
754
46ef7d1d
MP
755rsyncsh
756
757 Write a small emulation of interactive ftp as a Pythonn program
758 that calls rsync. Commands such as "cd", "ls", "ls *.c" etc map
759 fairly directly into rsync commands: it just needs to remember the
760 current host, directory and so on. We can probably even do
761 completion of remote filenames.
25ff30e8
MP
762
763
764RELATED PROJECTS -----------------------------------------------------
765
766http://rsync.samba.org/rsync-and-debian/
767
768rsyncable gzip patch
769
770 Exhaustive, tortuous testing
771
772 Cleanups?
773
774rsyncsplit as alternative to real integration with gzip?
775
776reverse rsync over HTTP Range
777
778 Goswin Brederlow suggested this on Debian; I think tridge and I
779 talked about it previous in relation to rproxy.