← Back to issue list

sources: add 'git+ssh:' for 'git' source-type

View original Github issue

Metadata

Project
craft-parts
Number
#408
Type
pull request
State
merged
Author
AristoChen
Labels
Created
Updated
Closed

Current evaluation

Merged. Added git+ssh: support to the git source-type, resolving cloning failures for Launchpad repositories. Approved by a reviewer, passed CI, and includes a new test case.

Suggested action:

No scores available.

Issue body

By default, the launchpad instruction for clone will contain `git+ssh` When cloning launchpad repo without defining source-type, I will get `Failed to pull source: unable to determine source type of git+ssh://git.launchpad.net/<TEAM>/<PROJECT>+git/<REPO>` - [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. Added git+ssh: support to the git source-type, resolving cloning failures for Launchpad repositories. Approved by a reviewer, passed CI, and includes a new test case.
qwen3.6-35b-a3b-mtp-q6 Added git+ssh: support to the git source-type, resolving Launchpad cloning failures. The change was merged after the contributor added a requested test case.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#61 Added 'git@' to the automatic identification of the source snapcraft merged Merged a one-line change adding 'git@' to automatic source identification, improving SSH git repository detection. Approved and merged by sergiusens.
72%
#422 Support .git extension detection snapcraft merged Implemented automatic .git extension detection to set source_type as git, enabling http/https git repository distribution without explicit snapcraft.yaml configuration. Merged after adding Launchpad bug reference and rebasing to master.
72%