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

"/linkml_initializer_backend/../linkml-project-cookiecutter" could not be found #3

Open
cmungall opened this issue Oct 21, 2022 · 1 comment

Comments

@cmungall
Copy link
Contributor

linkml-initializer-backend-1   | cookiecutter.exceptions.RepositoryNotFound: A valid repository for "/linkml_initializer_backend/../linkml-project-cookiecutter" could not be found in the following locations:
linkml-initializer-backend-1   | /linkml_initializer_backend/../linkml-project-cookiecutter
linkml-initializer-backend-1   | /linkml_initializer_backend/../linkml-project-cookiecutter

this is even after I include the submodule (#1)

➜  linkml-initializer git:(main) ls -alt backend
➜  linkml-initializer git:(main) pwd
/Users/cjm/repos/linkml-initializer
➜  linkml-initializer git:(main) ls -alt backend/linkml-project-cookiecutter
total 40
drwxr-xr-x  19 cjm  staff   608 Oct 21 16:52 {{cookiecutter.project_name}}
drwxr-xr-x   8 cjm  staff   256 Oct 21 16:52 .
drwxr-xr-x   4 cjm  staff   128 Oct 21 16:52 hooks
-rw-r--r--   1 cjm  staff   980 Oct 21 16:52 cookiecutter.json
-rw-r--r--   1 cjm  staff  6140 Oct 21 16:52 README.md
-rw-r--r--   1 cjm  staff  1799 Oct 21 16:52 .gitignore
-rw-r--r--   1 cjm  staff    55 Oct 21 16:52 .git
drwxr-xr-x  10 cjm  staff   320 Oct 21 16:52 ..
➜```
@pkalita-lbl
Copy link
Owner

Oh, did you also run git submodule update after git submodule init?

I also wonder if publishing linkml-project-cookiecutter to PyPI would allow us to not have to have a git submodule here.

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

2 participants