sha256:b52b4f25dfc6ddf23d94607feb6ee9f5126ba4ab8323916731060acb78ebf2b7. curious if anyone else sees those same
@djberg96 So I think what you are trying to check for something like this being the case, right:
Rugged.features.include?(:ssh)is on the console?
miqtestansible repository for
helloworld-miqtestautomation service using the
miq.gitrepo had a
.gitmodulesfile including another repo in our
TEAMNAMEteam referencing it as
url = ../ANOTHERREPOvia relative path per this gitlab config doc. i wondered if
Ruggedwas possible being so thorough it was picking up the git submodule dependency and also trying to pul the url
../ANOTHERREPOrelative path which may explain the
unsupported urlerror we kept seeing.
git@gitlab.EXAMPLE.COM:TEAMNAME/miq.gitinto the working
git@gitlab.EXAMPLE.COM:TEAMNAME/miqtest.gitrepo and it also started failing with the same errors.
ruggeddoesn't support the cli equivalents of
git submodule initand
git submodule update
for some extended info: The
bare repo clone doesn't bother with submodules, and they are only handled on checkout:
But I don't think it would be unreasonable to at least provide some kind of check after a clone to provide some kind of info to the user that submodules aren't 100% supported.
Also, this probably won't be able to be a
"Would you still like to add?" sort of thing since the
sync actually does happen aync after a save, and the repo might not exist on the
MiqServer that is serving the request. So I think it is something that will have to be a combination of a
Notification and an extra database boolean column that can be queried against, and then brought up as a warning when viewing the repo.
@djberg96 there is a
Rugged::Submodule, which we do use, but it only really looks at the what the sub modules are configured as, and doesn't do a really good job of providing a
.fetch mechanism, specifically with
So I basically had to make one up myself using
.clone for each one. And it has to do a full clone to since
Rugged also doesn't support shallow clones...
GitHubteam backing it