Skip to content

Issue with dependencies at local git server #103

@aescov

Description

@aescov

I am currently evaluating git-ws, but having issue with basic functionality when referring dependencies at local git server

In my project located at:

git@gitea-repos:aes/gitea-sample.git

I have the following manifest:

[[dependencies]]
name = "toolbox"
url = "git@gitea-repos:user/toolbox.git"

When running "git ws update" i get the following error:

d:\git-ws-projects\gitea-sample>git-ws update
===== . (MAIN 'gitea-sample', revision='develop') =====
Fetching.
Merging branch 'develop'.
Already up to date.
===== ..\toolbox ('toolbox') =====
WARNING: Clone toolbox has no revision!
Cloning 'git@gitea-repos:user/gitea-sample.git/git@gitea-repos:user/toolbox.git'.
Cloning into '..\toolbox'...
Gitea: Invalid repo name
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Error: "git clone -- git@gitea-repos:user/gitea-sample.git/git@gitea-repos:user/toolbox.git '..\toolbox'" failed.

Changing to https protocol seems to work, but i would expect git protocol to work as well, but why are the main and dependency url's concatenated ?

Repos can be cloned manually without any issues.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions