Bug 2996

Summary: bake tar.xz files not extracted
Product: bake Reporter: Steven Smith <smith84>
Component: bakeAssignee: ns-bugs <ns-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, pdbarnes, tomh
Priority: P3    
Version: unspecified   
Hardware: All   
OS: All   
Attachments: Patch to swap .xz and .tar.xz file extention ordering

Description Steven Smith 2018-10-02 15:15:50 UTC
Created attachment 3190 [details]
Patch to swap .xz and .tar.xz file extention ordering

The rules in bake ModuleSource.py are setup to process .xz files before .tar.xz files so the 'unzx' utility is invoked on xz compressed tar archive files.  The tar file is not extracted.

Changing the ordering of extraction rules to process .tar.xz file extensions before .xz files correctly extracts .tar.xz files using tar.

Simple patch to swap ordering is attatched.
Comment 1 Peter Barnes 2018-10-02 19:26:35 UTC
Daniel or Tom:  this is somewhat urgent for us, since it blocks us from using bake unmodified.
Comment 2 Tom Henderson 2018-10-03 10:40:30 UTC
fix pushed in changeset 426:1b29c11c9789