Hello
How can I pass https-credentials for git submodules?
I'm using relative URLs for submodules on the same server.
I'm testing this with the dagger interactive shell:
⋈ git https://my.gitea.com/proj/repo --http-auth-token TOKEN | head | tree
or:
$ git config --global credential.https://my.gitea.com.username ignored
$ git config --global credential.https://my.gitea.com.helper '!f() { test "$1" = get && echo "password=${TOKEN}"; }; f'
$ dagger -d -vvv
⋈ git https://my.gitea.com/proj/repo | head | tree
Dagger v0.18.12 seems to fetch the main repo but can't authenticate for submodules.
│ fatal: Authentication failed for 'https://.....git/'
│ fatal: clone of 'https://.....git' into submodule path '/var/lib/dagger/worker/snapshots/snapshots/91/fs/data' failed
│ Failed to clone 'data' a second time, aborting