Add support for zip files
Bug #1577062 reported by
Thomi Richards
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Fix Released
|
Wishlist
|
Sergio Schvezov | ||
snapcraft (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Yakkety |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
* Snapcraft does not work with sources of type zip. This adds support for setting a zip file as a source and allowing to force file handler to be zip (through source-type).
[Test Case]
1. Create a snapcraft project with a zip source.
2. Run `snapcraft pull`.
3. zip files should have been extracted in `parts/
[Regression Potential]
* Very low. This is a new feature orthogonal feature. Minimal risk of breaking uri detection for sources (tests should already cover this).
Changed in snapcraft: | |
milestone: | none → 2.9 |
summary: |
- add support for zip files + Add support for zip files |
Changed in snapcraft: | |
milestone: | 2.9 → 2.10 |
description: | updated |
Changed in snapcraft: | |
status: | In Progress → Fix Committed |
Changed in snapcraft (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
Changed in snapcraft: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
El 30/04/16 a las 18:45, Thomi Richards escribió:
> Public bug reported:
>
> Several software vendors release their product as .zip files. To date I
> can't find any support for downloading and extracting zips (the tar
> plugin seems tar-specific).
>
> Am I missing something?
Yes, support :-)
This seems something that can happen sooner than later. Will triage with
the team during the week.