HashLoad / HashLoad/boss

Can not clone Repository via SSH from gitlab

Open
#169 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
626
Forks
103
Avg merge
7d 2h
Merged PRs (30d)
5

Description

I have logged in to my own hosted gitlab and try to download / install a dependency in a boss test project

But when I try to add the repository in the format:

boss install git@mygitlab.domain.de:delphi/libraries/mylib.git

I get the following error:

[INFO ] Installing modules in project path
[INFO ] Building cache files...
[INFO ] Updating cache of dependency gtrlib
[INFO ] Downloading dependency git@mygitlab.domain.de:delphi/libraries/mylib
[ERROR]   Cloning into 'X:\git_local\bosstest\modules\mylib'...
[ERROR]   fatal: unable to access 'https://mygitlab.domain.de:delphi/libraries/mylib/': URL rejected: Port number was not a decimal number between 0 and 65535
[ERROR] exit status 128

Why does it try to map the given repository path to a https:// path?
Is there another syntax on how to pass wht git@xxx/bla.git repository format?

Cloning the repositories manually on the command line using git directly works like a charm using ssh

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported boss install git@mygitlab.domain.de:delphi/libraries/mylib.git command and inspect how the dependency URL is handled before Git is invoked. Done means the SSH repository form is accepted and cloned without being rewritten into the malformed HTTPS URL shown in the error.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.