https://bugs.winehq.org/show_bug.cgi?id=35533
--- Comment #5 from François Gouget fgouget@codeweavers.com --- On the JobDetails page one can download two types of files: * Patches * The resulting Windows executables (or those uploaded by the developer).
GetFile.pl used to indiscriminately return application/octet-stream. Now it sets the MIME type to test/plain for patches so the browser typically offers opening them in a text editor (at least that's what happens in Firefox).
It's maybe not quite as nice as viewing the patch inline but it's still better than the previous situation.
commit 6dde8de8257a1333a8951a0e6cd11f5f41e01d80 Author: Francois Gouget fgouget@codeweavers.com Date: Tue Jun 26 13:40:47 2018 +0200
testbot/web: Adjust the GetFile MIME type based on Step->FileType.
This lets the browser offer to open the patches in a text editor instead of systematically suggesting to save them to disk.
Signed-off-by: Francois Gouget fgouget@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org