Re: [S3tools-general] FW: Patch for using Xattr for checksums

2013-05-23 Thread Matt Domsch
In talking with Michal last night, he wants a different approach to the xattr work, based on using xattrs as alternate storage for what's currently stored externally in HashCache pickles, but offering the same kind of protection (e.g. detection of file changes which cause the md5 to be recalculated

Re: [S3tools-general] FW: Patch for using Xattr for checksums

2013-05-14 Thread Matt Domsch
Jay - thanks for the patch. I've made some stylistic changes, as well as simplifies testing for xattr module import success, passes the result into the Config object, and ensures the correct namespace is used. Also added a test to the test suite, and the entry on the manpage. I gave

[S3tools-general] FW: Patch for using Xattr for checksums

2013-05-14 Thread Jay McCanta
My apologies for cutting/pasting/posting without proofing.  This patch allows s3cmd to utilize md5sums stored in the extended attributes of files.  If for any reason, that doesn’t work, the usual md5sum mechanisms are used.  This option only has impact if checkmd5 is enabled. The last patch