← Back to issue list

sources: refactor zip source into module.

View original Github issue

Metadata

Project
snapcraft
Number
#970
Type
pull request
State
merged
Author
kyrofa
Labels
Created
Updated
Closed

Current evaluation

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.

Suggested action:

No scores available.

Issue body

This PR makes more progress on LP: [#1648906](https://bugs.launchpad.net/snapcraft/+bug/1648906) by extracting the Zip source into `sources/_zip.py`.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b 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.
qwen3.6-35b-a3b-mtp-q6 Merged by maintainer kyrofa, the Zip source extraction logic was refactored into a dedicated module at sources/_zip.py. This change advances bug LP: #1648906 and increases overall code coverage by less than 0.01%.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Extracted Zip source logic into a dedicated sources/_zip.py module, advancing bug LP #1648906. The refactor maintains over 96% test coverage and slightly increases overall repository metrics.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#212 sources: add zip file source handler craft-parts merged 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.
72%