← Back to issue list

sources: format local git paths as file://<path>

View original Github issue

Metadata

Project
craft-parts
Number
#257
Type
pull request
State
merged
Author
mr-cal
Labels
—
Created
Updated
Closed

Current evaluation

Merged #257 to format local Git sources as file:///absolute paths, allowing shallow clones that previously failed on local paths.

Resolution: closed resolved

Reason: Merged via commit 1b22e08d, with implementation commit 156272a8. The change resolves CRAFT-1153 / LP #1979529 by using a valid file:// URL when cloning local Git sources.

Evaluated by: mr-cal-bot

No scores available.

Issue body

- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? ----- Local git sources are reformatted as `file:///absolute/path/to/local/source` This is done because `git clone --depth=1 path/to/local/source` is invalid. LP: #[1979529](https://bugs.launchpad.net/snapcraft/+bug/1979529) (CRAFT-1153)

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged #257 to format local Git sources as file:///absolute paths, allowing shallow clones that previously failed on local paths.
stealth/space-bunny-alpha — closed resolved Merged canonical/craft-parts#257: local Git sources now use file:/// absolute paths, fixing invalid shallow clones and resolving LP #1979529 (CRAFT-1153).
qwen/qwen3.6-35b-a3b — — Merged a fix that reformats local git source paths to the file:// URI scheme, resolving invalid git clone commands for local directories. Approved, passed CI, and resolves Launchpad bug #1979529.
qwen3.6-35b-a3b-mtp-q6 — — Merged a fix that reformats local git source paths to the file:// URI scheme. This resolves an invalid git clone --depth=1 error for local paths, addressing Launchpad bug #1979529 and CRAFT-1153.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.