From: Raman G. <roc...@fa...> - 2008-02-12 03:13:20
|
I posted a message on the users list about this, however I'd like to know if the developers believe the following is a good idea -- if there is general agreement I can look into creating a patch for it. I think it would be useful if the "Do not edit these!" rsync parameters were separate from the other rsync arguments. Something like: $Conf{RsyncBaseArgs} = [ # # Do not edit these! # '--numeric-ids', '--perms', '--owner', '--group', '-D', '--links', '--hard-links', '--times', '--block-size=2048', '--recursive', # # Rsync >= 2.6.3 supports the --checksum-seed option # which allows rsync checksum caching on the server. # Uncomment this to enable rsync checksum caching if # you have a recent client rsync version and you want # to enable checksum caching. # #'--checksum-seed=32761', ]; $Conf{RsyncArgs} = [ # # Add additional arguments here # '-v', ]; This would allow users to easily override just the relevant "additional arguments" for rsync on a per-host basis, instead of copying all of the basic "Do not edit these" parameters as well (and losing any changes to these parameters on updates for example). It would also be much cleaner in the web interface, since the basic parameters would generally not be shown to a user. Cheers, Raman Gupta |