gitlab-sandstorm
gitlab-sandstorm copied to clipboard
Cannot clone repo with non-standard port
I have sandstorm configured to use HTTPS on port 44344 (I dont know whether this is actually the cause of the issue, its merely a suspcicion). When I first create a repo it tells me to use the following commands:
echo url=https://<random id>:<random data>@api.marvin.sandcats.io:44344/gitlab/repo.git | git -c credential.helper=store credential approve
git clone -c credential.helper=store https://<random id>@api.marvin.sandcats.io:44344/gitlab/repo.git repo_<random id>_RENAME_ME
Note that this is what it outputs, including the repo.git whereas the actual name of the repo is "tech_reference". The only thing that was changed was the ID and key.
I tried to execute the exact commands above and I get the following error:
Cloning into 'repo_<random id>_RENAME_ME'...
fatal: repository 'https://<random id>@api.marvin.sandcats.io:44344/gitlab/repo.git/' not found
Or if I try to use the repo's actual name I get:
Cloning into 'repo_<random id>_RENAME_ME'...
fatal: repository 'https://<random id>@api.marvin.sandcats.io:44344/gitlab/tech_reference.git/' not found
I don't know if this is a coding issue or whether I have a misconfiguration, but please advise.
Looks like this is the same problem as was reported in #7. For now, I recommend keeping the default name for the repository.
That should work for now. Thanks!
Are there any plans to fix this issue though? If not then maybe a friend of mine and I could take a look at it.
This issue was moved to sandstormports/gitlab-sandstorm#9