Skip to content

use https for submodule

trinity-1686a requested to merge trinity-1686a/arti:submodule-https into main

from irc:

I am having issues pulling a Arti crate from cargo directly on the git (using https). It looks like it is caused by arti-corpora submodule's ssh url.

Would replacing .gitsubmodule's url
[submodule "arti-corpora"]
	path = arti-corpora
	url = git@gitlab.torproject.org:/tpo/core/arti-corpora.git

By "url = ../arti-corpora.git" do the job?

It appears when using git dependencies in Cargo.toml (arti_tor_client = { git = ... }), cargo also clone submodules, but have troubles with cloning over ssh. Using https submodule instead seems to work fine.

Merge request reports

Loading