pkalita-lbl / linkml-initializer

1 stars 1 forks source link

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

Open cmungall opened 1 year ago

cmungall commented 1 year ago
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 commented 1 year ago

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.