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

fail to init submodule #1397

Closed
okki-dev1 opened this issue Sep 27, 2023 · 1 comment
Closed

fail to init submodule #1397

okki-dev1 opened this issue Sep 27, 2023 · 1 comment
Labels
good first issue Good for newcomers

Comments

@okki-dev1
Copy link

Describe the bug
git submodule init not work

To Reproduce

  1. clone the repo
  2. run git submodule init
  3. nothings happens

Expected behavior
All the submodule should be initialized well

Fix advice
According to this answer, all the folder for submodule should be committed to the repo

Workaround
For whom met this issue, you can manually add submodule by yourself

git submodule add https://github.com/crawlab-team/crawlab-core backend/core
git submodule add https://github.com/crawlab-team/crawlab-db backend/db
git submodule add https://github.com/crawlab-team/crawlab-fs backend/fs
git submodule add https://github.com/crawlab-team/crawlab-vcs backend/vcs
git submodule add https://github.com/crawlab-team/crawlab-log backend/log
@okki-dev1 okki-dev1 added the bug Something isn't working label Sep 27, 2023
@tikazyq
Copy link
Collaborator

tikazyq commented Oct 11, 2023

This is interesting but submodule is not recommended. If you want to contribute to the core code, you can git clone each repo to your local machine and try to link them in the go.mod file.

@tikazyq tikazyq added good first issue Good for newcomers and removed bug Something isn't working labels Oct 11, 2023
@tikazyq tikazyq closed this as completed Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants