Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435212 - gentoo's bugzilla does not support xz compressed patches
Summary: gentoo's bugzilla does not support xz compressed patches
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: Bugzilla (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bugzilla Admins
URL: https://bugs.gentoo.org/show_bug.cgi?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-16 14:37 UTC by Łukasz Stelmach
Modified: 2022-12-14 11:04 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Łukasz Stelmach 2012-09-16 14:37:00 UTC
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.
Comment 1 Sean McGovern 2012-09-17 13:06:34 UTC
Is this feature even available in stock Bugzilla?

If not, this should probably be created upstream (bugzilla.org) as an enhancement request.
Comment 2 Łukasz Stelmach 2012-09-17 18:56:48 UTC
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?
Comment 3 Sean McGovern 2012-09-17 21:28:17 UTC
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:
Comment 4 Rick Farina (Zero_Chaos) gentoo-dev 2013-04-08 01:08:06 UTC
auto-detect option properly detects XZ. just isn't available in the drop down.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-09-30 07:24:42 UTC
Transparent handling of compressed patches is something that really belongs upstream.