Closed
Bug 1287599
Opened 8 years ago
Closed 8 years ago
mozharness archive extraction could be more convenient
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1258539
People
(Reporter: gbrown, Assigned: gbrown)
References
Details
Attachments
(1 file)
7.76 KB,
patch
|
Details | Diff | Splinter Review |
Sometimes when I am experimenting with new archives - like a new android emulator archive - I accidentally use a different archive format (like zip vs tar) or a different filename extension (like .tgz instead of .tar.gz) and that almost always results in a failed try push - what a waste!
We can make mozharness archive extraction more forgiving / more convenient.
Assignee | ||
Comment 1•8 years ago
|
||
This adds download_unpack(), which will handle either .zip or .tar-based archives. unpack() is expanded to allow for ".tgz" and ".tar" in addition to ".tar.gz" and ".tar.bz2".
The existing download_unzip() is restructured but is functionally unchanged.
I use download_unpack() from the android emulator installation only, for now. If download_unpack() works well for the emulator, we may expand its use to other contexts in future.
Attachment #8772166 -
Flags: review?(kmoir)
Comment 2•8 years ago
|
||
Please also see bug 1258539 which has a patch referenced Armen wants to get finished and landed soon.
See Also: → 1258539
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8772166 [details] [diff] [review]
introduce download_unpack
I wasn't aware of whimboo's work -- let's wait and see how that works out.
Attachment #8772166 -
Flags: review?(kmoir)
Comment 4•8 years ago
|
||
Given that with my upcoming patch on bug 1258539 we do no longer check for file extensions but actually file types this won't be a problem anymore for you. I will mark this bug as duplicate.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•