git clone user@host:repo works but not as url in playbook
Hi,
antora complains with Content repository not found (url: user@host:repo)
but I can clone the repository with git clone user@host:repo
.
This is the output with --stacktrace
:
FATAL (antora): Content repository not found (url: user@host:repo)
Cause: Error
at transformGitCloneError (/path/node_modules/@antora/content-aggregator/lib/aggregate-content.js:987:22)
at /path/node_modules/@antora/content-aggregator/lib/aggregate-content.js:220:17
at async loadRepository (/path/node_modules/@antora/content-aggregator/lib/aggregate-content.js:209:7)
at async Promise.all (index 0)
at async Promise.all (index 0)
at async generateSite (/path/node_modules/@antora/site-generator/lib/generate-site.js:17:5)
at async Command.parseAsync (/path/node_modules/commander/lib/command.js:935:5)
Caused by: HttpError: HTTP Error: 404 Not Found
at GitRemoteHTTP.discover (/path/node_modules/isomorphic-git/index.cjs:6760:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async _fetch (/path/node_modules/isomorphic-git/index.cjs:7410:22)
at async _clone (/path/node_modules/isomorphic-git/index.cjs:7787:42)
at async Object.clone (/path/node_modules/isomorphic-git/index.cjs:7910:12)
at async loadRepository (/path/node_modules/@antora/content-aggregator/lib/aggregate-content.js:209:7)
at async Promise.all (index 0)
at async Promise.all (index 0)
at async generateSite (/path/node_modules/@antora/site-generator/lib/generate-site.js:17:5)
at async Command.parseAsync (/path/node_modules/commander/lib/command.js:935:5)
FYI:
- All previous tests where using local absolute file paths as url (instead of gitolite based server repositories) and that worked.
- Unfortunatelly I don't have https access alternatively to the repository to test against that.
- The component version is set to
main
(branch name) everywhere.
I am probably missing something trivial.