RediSearch / RSCoordinator

RediSearch coordinator
Other
24 stars 10 forks source link

Following the build readme instruction fails git clone #246

Open danialmmllc opened 3 years ago

danialmmllc commented 3 years ago

It cannot pull the redisearch dependency so I don't know how to build it:

git clone --recursive --branch v2.0.5 https://github.com/RediSearch/RSCoordinator.git
Cloning into 'RSCoordinator'...
remote: Enumerating objects: 44, done.
remote: Counting objects: 100% (44/44), done.
remote: Compressing objects: 100% (34/34), done.
remote: Total 31086 (delta 16), reused 16 (delta 5), pack-reused 31042
Receiving objects: 100% (31086/31086), 12.57 MiB | 8.38 MiB/s, done.
Resolving deltas: 100% (21890/21890), done.
Note: checking out 'b047dd4a6229ecac78632e0a46f08a91937932b3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

Submodule 'src/dep/RediSearch' (git@github.com:RedisLabsModules/RediSearch.git) registered for path 'src/dep/RediSearch'
Cloning into 'src/dep/RediSearch'...
Warning: Permanently added the RSA host key for IP address '192.30.255.113' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Clone of 'git@github.com:RedisLabsModules/RediSearch.git' into submodule path 'src/dep/RediSearch' failed
anatoly-khomenko commented 3 years ago

There is a workaround for this. First clone without --recursive: git clone --branch v2.0.5 https://github.com/RediSearch/RSCoordinator.git

Then clone the RediSearch dependency directly into src/dep/RediSearch

cd RSCoordinator/src/dep/
rmdir RediSearch
git clone https://github.com/RediSearch/RediSearch.git