← Back to issue list

sources: add zip file source handler

View original Github issue

Metadata

Project
craft-parts
Number
#212
Type
pull request
State
merged
Author
cmatsuoka
Labels
Created
Updated
Closed

Current evaluation

Merged after approval and CI checks. Adds a zip file source handler allowing parts to specify zip archives as sources. Changes span six files with 261 additions and 7 deletions. Co-authored by Kyle Fazzari, Sergio Schvezov, and Marius Gripsgard.

Suggested action:

No scores available.

Issue body

Allow parts to specify zip files as sources. Co-authored-by: Kyle Fazzari <kyle@canonical.com> Co-authored-by: Sergio Schvezov <sergio.schvezov@canonical.com> Co-authored-by: Marius Gripsgard <marius@ubports.com> Signed-off-by: Claudio Matsuoka <claudio.matsuoka@canonical.com> - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged after approval and CI checks. Adds a zip file source handler allowing parts to specify zip archives as sources. Changes span six files with 261 additions and 7 deletions. Co-authored by Kyle Fazzari, Sergio Schvezov, and Marius Gripsgard.
qwen3.6-35b-a3b-mtp-q6 Merged, adding a zip file source handler to allow parts to specify zip archives as sources. Co-authored by Kyle Fazzari, Sergio Schvezov, and Marius Gripsgard. Successfully integrated into the main branch with no additional comments or revisions.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#523 Support zip files as source snapcraft merged Added zip file support as a source. Merged after retroactive approval by @kyrofa. Changes modify six files (+167/-22) to resolve LP #1577062.
76%
#31 sources: add source handler base classes craft-parts merged Merged after approval by two reviewers and passing CI checks. Adds base classes for source handlers to manage copying, downloading, and unpacking files, introducing 507 lines across five files.
73%
#740 sources: add 7z source handler craft-parts merged Added a 7z source handler for parts. Supersedes #232, uses upstream 7zip, switches linting to Ruff, and updates subprocess calls. Merged after approval by three reviewers and CI fixes.
73%
#970 sources: refactor zip source into module. snapcraft merged Merged a refactoring that extracts the Zip source handler into a dedicated module at sources/_zip.py. The change improves code organization, passes all CI checks, and yields a minor increase in overall test coverage.
72%
#232 sources: add 7z source handler craft-parts closed Adding a 7z source handler was closed and superseded by PR #740. The original implementation was rebased on main but never merged, as a replacement PR handles the feature.
72%
#315 sources: add the plain file source handler craft-parts merged Merged after approval and passing CI checks. Added a plain file source handler exposing a file source type for files not requiring provisioning, resolving issue #136. Changes span 4 files with 220 additions.
71%
#45 sources: add the tar source handler craft-parts merged Added a tar source handler to enable tar files as a part source. Merged after approval by two reviewers, introducing 403 additions and 1 deletion across 10 files.
70%
#61 sources: add snap source handler craft-parts merged Merged. Added a snap source handler to download and extract snap package files, ported from Snapcraft. Approved by three reviewers, passed CI, and added 314 lines across eight files.
70%