Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow passing a directory to repo.url #29

Open
reda-alaoui opened this issue Dec 19, 2019 · 3 comments
Open

Allow passing a directory to repo.url #29

reda-alaoui opened this issue Dec 19, 2019 · 3 comments

Comments

@reda-alaoui
Copy link

reda-alaoui commented Dec 19, 2019

Hi,

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

@reda-alaoui
Copy link
Author

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

@natansil
Copy link
Collaborator

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...

@anders-er-at-tink
Copy link

anders-er-at-tink commented May 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants