sources: add the local source handler
Metadata
Current evaluation
Merged PR #38 via 0f3c434b, adding pull/update support for host-filesystem sources with a Snapcraft-derived implementation and tests.
Resolution: closed resolved
Reason: PR #38 was merged into the mainline as merge commit 0f3c434b, following implementation commit f57f6ac8. It added a local source handler and tests for sources already present on the host filesystem.
Evaluated by: mr-cal-bot
No scores available.
Issue body
The local source handler implements pull and update for sources that
are already in the host filesystem.
Note: the source handler implementation and accompanying tests are a
direct port of the corresponding files in snapcraft and may be revisited and
refactored in the future.
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 |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #38 via 0f3c434b, adding pull/update support for host-filesystem sources with a Snapcraft-derived implementation and tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #38 added the local source handler for pulling and updating sources already on the host filesystem; implemented in commit f57f6ac8. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #38, adding pull and update support for sources already present in the host filesystem; the implementation and tests were ported from Snapcraft. | |
| qwen/qwen3.6-35b-a3b | — | — | 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. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Adds a local source handler for host filesystem pull and update operations. Tests and implementation are ported from snapcraft and may be refactored later. Maintainer-authored with CLA signed. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #61 sources: add snap source handler | craft-parts | merged | Merged in canonical/craft-parts#61 via commit 47fbdb86, adding a Snapcraft-derived handler and tests to download and extract files from snap packages. | |
| #1126 feat: source handler snap support | craft-parts | merged | Merged #1126 via commit df7c82f0, adding source-handler support for declaring snaps required to process source types (CRAFT-4561). | |
| #1792203 Add support for snap/local directory | snapcraft (launchpad) | closed | snap/local support was merged in canonical/snapcraft#2268 via commit 10bdb0473, allowing snap-specific local-source files and adding tests. | |
| #1352 Allow source-type to specify local | snapcraft | merged | Merged PR #1352 restored local as a valid source-type, allowing snapcraft.yaml overrides to switch remote parts to local sources; regression coverage accompanied the change. |