← Back to issue list

Support zip files as source

View original Github issue

Metadata

Project
snapcraft
Number
#523
Type
pull request
State
merged
Author
sergiusens
Labels
—
Created
Updated
Closed

Current evaluation

Merged PR #523 (commit c9fe15076) adding zip file support as a part source handler, resolving LP bug #1577062. Retroactively approved by kyrofa.

Resolution: closed resolved

Reason: The PR was merged into master as commit c9fe15076 ("Support zip files as source (#523)"), implementing the feature described in the body for LP: #1577062. Zip source handling remains in the codebase today, later refined by PR #970 (db2a6fb6a) and PR #1862 (a8ff01a43) for non-Unix zip support.

Evaluated by: mr-cal-bot

No scores available.

Issue body

LP: #1577062 Signed-off-by: Sergio Schvezov sergio.schvezov@ubuntu.com

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged PR #523 (commit c9fe15076) adding zip file support as a part source handler, resolving LP bug #1577062. Retroactively approved by kyrofa.
stealth/space-bunny-alpha — closed resolved Added zip-file source support and merged PR #523 at c9fe15076, resolving LP #1577062.
qwen/qwen3.6-35b-a3b — — Added zip file support as a source. Merged after retroactive approval by @kyrofa. Changes modify six files (+167/-22) to resolve LP #1577062.
qwen3.6-35b-a3b-mtp-q6 — — Merged. Added support for zip files as a source type. Approved retroactively by @kyrofa. Enables archive extraction during source resolution.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#970 (confidence 85%)

    Follow-up refactor extracting the Zip source handler into sources/_zip.py (db2a6fb6a), building on this feature.

  • Related To: snapcraft#1862 (confidence 80%)

    Follow-up fix preventing 0o000 permissions when extracting ZIPs created on non-Unix systems (a8ff01a43).

Related issues

Issue Project State Summary Similarity
#212 sources: add zip file source handler craft-parts merged Merged PR #212 (merge commit 043b3da8, implementation a9b32b31) adding a ZipSource handler in craft_parts/sources/zip_source.py so parts can use 'source-type: zip', with unit tests and docs.
73%
#970 sources: refactor zip source into module. snapcraft merged Merged PR #970 as commit db2a6fb6a, extracting the Zip source handler into sources/_zip.py as progress on LP bug #1648906.
72%