I try to establish dagger.io in our group and tried to use a module that is stored in an internal on premise bitbucket instance. Whatever I try I get the following error:
failed to parse git ref string: failed to get repo root for import path: unrecognized import path
I've tried many variations of how to use remote repositories (https://docs.dagger.io/api/remote-repositories) but no success yet. Tried with a private but on gitlab.com hostet repo, and this worked right out of the box.
I read some code around the errors I got in dagger source repository and I find that it seems, a git repository might, depending on the hosting/type of server, is not equally well detected when using dagger.
The repository has the
This is the repo:
https://extranet.example.com/bitbucket/scm/~user/daggerverse
and the module is in /pvc_migrate
https://extranet.example.com/bitbucket/scm/~user/daggerverse.git/pvc_migrate@v0.1.0
https://extranet.example.com/bitbucket/scm/~user/daggerverse/pvc_migrate@v0.1.0
Any ideas? Thanks a lot
I tried also:
dagger core git -vvvvv --url extranet.example.com/bitbucket/scm/~user/daggerverse/pvc_migrate@v0.1.0
that lead to:
▼ git(url: "extranet.example.com/bitbucket/scm/~user/daggerverse/pvc_migrate@v0.1.0"): GitRepository! = xxh3:1234567812345678 0.2s
╰─● git(
┆ url: "https://extranet.example.com/bitbucket/scm/~user/daggerverse/pvc_migrate@v0.1.0"
┆ keepGitDir: true
┆ httpAuthUsername: "user"
┆ httpAuthToken: setSecret(name: "...."): Secret! = xxh3:1234567812345678
): GitRepository! = xxh3:1234567812345678 0.0s
● parsing command line arguments 0.0s
GitRepository@xxh3:1234567812345678
