I've submitted a patch for genkernel as an attachment to bug #435210. I've checked the appropriate checkbox. Unfortunately it seems like bugzilla didn't recognize the compression being used and can't display the patch properly. Reproducible: Always Steps to Reproduce: 1. Create an attachment to a bug. 2. Check the patch checkbox. 3. Upload xz compressed patch Actual Results: 1. The compressed and unreadable file patch shows up in the browser after clicking on the attachments summary on the bug page 2. The same happens after clicking on the "Diff" link. 3. Nothing shows up after clicking on the "Details" link. Expected Results: xz compressed patches being supported transparently as if the were not compressed at all.
Is this feature even available in stock Bugzilla? If not, this should probably be created upstream (bugzilla.org) as an enhancement request.
Actually I must admit after investigating Bugzilla sources at http://bzr.mozilla.org/bugzilla/trunk/files that there is no support for compressed patches at all. Somehow I was sure I uploaded gzipped patched somewhere (to Bugzilla of course) and they were handled properly. That's why I assumed unsupported XZ is a matter of configuration rather than development. In such case this bug probably should be forwarded upstream. Will you do it?
I am definitely interested in the functionality but I'm not sure I have the time to track it right now. If you do submit it, definitely add me to CC:
auto-detect option properly detects XZ. just isn't available in the drop down.
Transparent handling of compressed patches is something that really belongs upstream.