dwrensha / gitlab-sandstorm

GitLab as a Sandstorm app
20 stars 8 forks source link

Cannot clone repo with non-standard port #14

Open Abraxos opened 8 years ago

Abraxos commented 8 years ago

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 "techreference". 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.

dwrensha commented 8 years ago

Looks like this is the same problem as was reported in #7. For now, I recommend keeping the default name for the repository.

Abraxos commented 8 years ago

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.

xet7 commented 6 years ago

This issue was moved to sandstormports/gitlab-sandstorm#9