Bug 35164 - autoinstall: should support gzipped tar archives
Summary: autoinstall: should support gzipped tar archives
Status: RESOLVED DUPLICATE of bug 35163
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Chris Jerdonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-19 10:27 PST by Chris Jerdonek
Modified: 2010-02-24 14:47 PST (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jerdonek 2010-02-19 10:27:07 PST
Autoinstall currently supports autoinstalling .zip files but not .gz files.

pep8.py (necessary for bug 33639) is available for from pypi as a gzipped tar archive:

http://pypi.python.org/pypi/pep8/
http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz

Adding support for unzipping and extracting a tar file prior to importing is related to the following report:

https://bugs.webkit.org/show_bug.cgi?id=35163
Comment 1 Eric Seidel (no email) 2010-02-19 11:30:44 PST
We should let the Autoinstall guy (Daniel Krech) know:
http://code.google.com/p/pyautoinstall/
Comment 2 Eric Seidel (no email) 2010-02-19 11:31:42 PST
Autoinstall leans on python to do the actual "zip" reading.  There is a ZipImporter which knows how to import modules from zip files.  I don't think there is similar for gzip.

If pep8 is available as raw source or as an .egg file that would work too.
Comment 3 Eric Seidel (no email) 2010-02-19 11:44:06 PST
CCing the author of autoinstall.py
Comment 4 Chris Jerdonek 2010-02-24 14:46:44 PST
Marking as a duplicate since the patch for bug 35163 also takes care of this.

*** This bug has been marked as a duplicate of bug 35163 ***