← Back to issue list

mishandled private git+ssh repo url

View original Launchpad issue

Metadata

Project
snapcraft
Number
#2008502
Type
issue
State
open
Author
~ondrak
Labels
Created
2023-02-24 16:05:20.896207+00:00
Updated
2023-04-26 16:30:08.522514+00:00
Closed

Current evaluation

No evaluation has been recorded for this issue yet.

Issue body

when using a private git repository from Launchpad, snapcraft fails to fetch the repo content as it tries to convert url to the local path name: test-snap base: core22 parts: private-repo: plugin: dump source: git+ssh://git.launchpad.net/~my-team/me/+git/my-project source-type: git source-branch: main source-depth: 1 prime: - -* This example will result in the following error: Failed to pull source: command ['git', 'clone', '--recursive', '--branch', 'upstream', '--depth', '1', 'file:///home/ubuntu/test-snap/git+ssh://git.launchpad.net/~my-team/me/+git/my-project', PosixPath('/home/ubuntu/host/test-snap/parts/private-repo/src')] exited with code 128. snapcraft 7.2.8.post26+git15d684d5

Evaluation history

No evaluation history available.