Bug 423785

Summary: Unable to clone git repo with ssh
Product: [Applications] kdevelop Reporter: Mathias Homann <Mathias.Homann>
Component: VCS: GitAssignee: kdevelop-bugs-null
Status: ASSIGNED ---    
Severity: normal CC: david.narvaez
Priority: NOR    
Version First Reported In: 5.5.2   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

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...
Comment 1 Bug Janitor Service 2025-09-24 10:52:51 UTC
A possibly relevant merge request was started @ https://invent.kde.org/kdevelop/kdevelop/-/merge_requests/823