Add support for zip files
Metadata
Current evaluation
⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.
Implemented and merged zip file source support in Snapcraft. The feature extracts zip archives during the pull phase via the source-type parameter. Verification completed successfully.
Suggested action: —
No scores available.
Issue body
[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/<part-name>/src`
[Regression Potential]
* Very low. This is a new feature orthogonal feature. Minimal risk of breaking uri detection for sources (tests should already cover this).
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Implemented and merged zip file source support in Snapcraft. The feature extracts zip archives during the pull phase via the source-type parameter. Verification completed successfully. | |
| qwen/qwen3.6-35b-a3b | — | — | Implemented and verified zip file source support in Snapcraft. The update enables zip files as sources and forces the zip handler via source-type. Testing confirmed successful extraction to parts directories with minimal regression risk. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Added support for zip file sources, enabling Snapcraft to extract archives during the pull phase. The feature was verified and merged. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1126 feat: source handler snap support | craft-parts | merged | Added support for source types to specify required snaps for handling. Merged after approval by three reviewers and passing all CI checks. Changes span four files with 46 additions, resolving CRAFT-4561. |