exodus icon indicating copy to clipboard operation
exodus copied to clipboard

Allow passing a directory to repo.url

Open reda-alaoui opened this issue 5 years ago • 3 comments

Hi,

It is currently impossible to pass a local git directory to repo.url. Is there a particular reason?

reda-alaoui avatar Dec 19 '19 15:12 reda-alaoui

Error: file:///srv/projects/poc.git must be valid git url

reda-alaoui avatar Dec 19 '19 15:12 reda-alaoui

Hi @reda-alaoui, if you don't have an external url, I suggest you simulate one: [email protected]/[org-name]/[repo-name].git. the url is not used for cloning.

The Migrator was originally built with multi-repo dependencies in mind (external bazel dependencies are denoted with @repo_name/... notation). and this git url was intended as a way to avoid noting internal dependencies as external ones...

natansil avatar Dec 20 '19 18:12 natansil

Looking at the source, it requires a colon, so this does work: [email protected]:org/repo.git

anders-er-at-tink avatar May 10 '21 07:05 anders-er-at-tink