Bug 423785 - Unable to clone git repo with ssh
Summary: Unable to clone git repo with ssh
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: VCS: Git (show other bugs)
Version: 5.5.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-02 07:36 UTC by Mathias Homann
Modified: 2021-08-14 13:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathias Homann 2020-07-02 07:36:19 UTC
SUMMARY

I'm trying to import a git repo from invent.kde.org but it fails

STEPS TO REPRODUCE
1. start a new kdevelop session
2. click on "fetch project"
3. choose git
4. enter target folder, and git repo url as copied from gitlab
5. click fetch


OBSERVED RESULT
git clone fails, if the git url is for cloning via ssh. For some reason the url that is actually used has file://$HOME prepended:
/home/mathias> git clone --progress -- file:///home/mathias/git@invent.kde.org:mathiashomann/kompare.git /home/mathias/kompare

If i clone via http: it works, but I wouldn't be able to commit&push that way...

EXPECTED RESULT
I expect git to clone via ssh as it should.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Leap 15.1
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0
Kernel Version: 4.12.14-lp151.28.52-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4210U CPU @ 1.70GHz
Memory: 15.6 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4400

ADDITIONAL INFORMATION
I'm pretty sure the actual problem is somewhere way deeper than kdevelop, I have other plasma apps that seem to be creating a file: folder in my $HOME all the time...