sources: add source handler base classes
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
Source handlers take care of copying, downloading or unpacking files
specified as part sources. This change adds the base class for source
handlers and downloadable file source handlers.
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 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Successfully merged base classes for source handlers to manage file copying, downloading, and unpacking. The maintainer's implementation was integrated directly into the codebase without discussion. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #50 sources: add source handler integration | craft-parts | merged | Merged integration of source handlers with the state manager and executor to check for outdated sources during planning. Approved by two reviewers, modifying 9 files (+339/-37). | |
| #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. | |
| #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. | |
| #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. | |
| #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. | |
| #38 sources: add the local source handler | craft-parts | merged | Merged the local source handler for pull and update operations on host filesystem sources. Ported from snapcraft, the change was approved by two reviewers, passed CI, and added 522 lines across three files. |