cardano-foundation / cardano-graphql

GraphQL API for Cardano
Apache License 2.0
262 stars 104 forks source link

git clone with --recurse-submodules does not pull cardano-node #533

Closed lcgogo closed 3 years ago

lcgogo commented 3 years ago

Environment

git clone with --recurse-submodules does not pull cardano-node but a submodule named ogmios

# git clone --recurse-submodules https://github.com/input-output-hk/cardano-graphql.git
Cloning into 'cardano-graphql'...
remote: Enumerating objects: 9749, done.
remote: Counting objects: 100% (1007/1007), done.
remote: Compressing objects: 100% (461/461), done.
remote: Total 9749 (delta 600), reused 901 (delta 527), pack-reused 8742
Receiving objects: 100% (9749/9749), 81.47 MiB | 29.88 MiB/s, done.
Resolving deltas: 100% (5037/5037), done.
Submodule 'ogmios' (https://github.com/CardanoSolutions/ogmios.git) registered for path 'ogmios'
Cloning into '/tmp/cardano-graphql/ogmios'...
remote: Enumerating objects: 10728, done.
remote: Counting objects: 100% (3448/3448), done.
remote: Compressing objects: 100% (1143/1143), done.
remote: Total 10728 (delta 1985), reused 3220 (delta 1823), pack-reused 7280
Receiving objects: 100% (10728/10728), 9.48 MiB | 7.59 MiB/s, done.
Resolving deltas: 100% (5831/5831), done.
Submodule path 'ogmios': checked out 'c2eabd97ee9f260685c2e0355bb7f7e923d4746b'
Submodule 'hugo-theme-learn' (https://github.com/matcornic/hugo-theme-learn.git) registered for path 'ogmios/docs/themes/learn'
Submodule 'modules/hjsonpointer' (https://github.com/KtorZ/hjsonpointer.git) registered for path 'ogmios/server/modules/hjsonpointer'
Submodule 'modules/hjsonschema' (https://github.com/KtorZ/hjsonschema.git) registered for path 'ogmios/server/modules/hjsonschema'
Submodule 'modules/wai-routes' (https://github.com/KtorZ/wai-routes.git) registered for path 'ogmios/server/modules/wai-routes'
Cloning into '/tmp/cardano-graphql/ogmios/docs/themes/learn'...
remote: Enumerating objects: 2605, done.
remote: Counting objects: 100% (19/19), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 2605 (delta 5), reused 10 (delta 2), pack-reused 2586
Receiving objects: 100% (2605/2605), 14.09 MiB | 29.38 MiB/s, done.
Resolving deltas: 100% (1454/1454), done.
Cloning into '/tmp/cardano-graphql/ogmios/server/modules/hjsonpointer'...
remote: Enumerating objects: 180, done.
remote: Total 180 (delta 0), reused 0 (delta 0), pack-reused 180
Receiving objects: 100% (180/180), 38.00 KiB | 2.38 MiB/s, done.
Resolving deltas: 100% (89/89), done.
Cloning into '/tmp/cardano-graphql/ogmios/server/modules/hjsonschema'...
remote: Enumerating objects: 1136, done.
remote: Counting objects: 100% (8/8), done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 1136 (delta 1), reused 3 (delta 1), pack-reused 1128
Receiving objects: 100% (1136/1136), 315.99 KiB | 5.02 MiB/s, done.
Resolving deltas: 100% (652/652), done.
Cloning into '/tmp/cardano-graphql/ogmios/server/modules/wai-routes'...
remote: Enumerating objects: 2510, done.
remote: Total 2510 (delta 0), reused 0 (delta 0), pack-reused 2510
Receiving objects: 100% (2510/2510), 425.35 KiB | 4.34 MiB/s, done.
Resolving deltas: 100% (1354/1354), done.
Submodule path 'ogmios/docs/themes/learn': checked out '6cfd61e0f675b45ba85f8325e206d23a4337a14c'
Submodule path 'ogmios/server/modules/hjsonpointer': checked out '75ed0d049c33274a6cb4c36c8538d4bf2ef9c30e'
Submodule path 'ogmios/server/modules/hjsonschema': checked out 'fde6e676f79f3f3320a558f20492ad816a2543a7'
Submodule path 'ogmios/server/modules/wai-routes': checked out 'd74b39683792649c01113f40bf57724dcf95c96a'
# cd cardano-graphql
# ls
CHANGELOG.md  NOTICE     default.nix         nix           packages        scripts    tsconfig.json
Dockerfile    README.md  docker-compose.yml  ogmios        packages-cache  shell.nix  wallaby.conf.js
LICENSE       config     docs                package.json  release.nix     test       yarn.lock

[PASTE_REPORT_HERE]

Alternatively, what release or Git revision are you using:

Platform

Platform version:

Runtime

Runtime version:

node -v
docker version

Steps to reproduce the bug

What is the expected behavior?

lcgogo commented 3 years ago

Ignore that, missing VERSION.