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

Git - Submodules are not processed when cloning a git project. #227150

Open
rerdavies opened this issue Aug 29, 2024 · 0 comments · May be fixed by #232497
Open

Git - Submodules are not processed when cloning a git project. #227150

rerdavies opened this issue Aug 29, 2024 · 0 comments · May be fixed by #232497
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@rerdavies
Copy link

Type: Bug

When cloning a git project with submodules, all submodules in the project should be cloned and initialized as well.

Actual result:

When cloning a new github project that contains submodules, VsCode does not process any git submodules in the project. After cloning a project with submodules, you then have to issue the following command from a command prompt.

  git submodule update --init --recursive

in order to clone and initialize all the project's submodules.

Expected behaviour:

Cloning a project in Github should install and initialize all the project's modules without requiring further actions by the user.

Instead of

 git glone .....arguments....

VsCode should perform

git clone --recursive ... same arguments as above...

Repro:

The following github project has submodules.

 https://github.com/rerdavies/pipedal

although most significant github projects also have submodules. Submodules in a github project are not rare at all.

An example of a more lightweight git project with submodules that isn't mine:

 https://github.com/mikeoliphant/neural-amp-modeler-lv2

VS Code version: Code 1.92.2 (fee1edb, 2024-08-14T17:29:30.058Z)
OS version: Linux arm64 6.6.31+rpt-rpi-v8
Modes:

System Info
Item Value
CPUs Cortex-A72 (4 x 1800)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
webnn: disabled_off
Load (avg) 9, 7, 4
Memory (System) 7.63GB (5.27GB free)
Process Argv --crash-reporter-id d19e8c4c-fa5d-4b18-8c21-540f116ab765
Screen Reader no
VM 0%
DESKTOP_SESSION LXDE-pi-wayfire
XDG_CURRENT_DESKTOP undefined
XDG_SESSION_DESKTOP LXDE-pi-wayfire
XDG_SESSION_TYPE wayland
Extensions (8)
Extension Author (truncated) Version
cmake-format che 0.6.11
vscode-github-actions git 0.26.3
cmake-tools ms- 1.19.49
cpptools ms- 1.21.4
cpptools-extension-pack ms- 1.3.0
hexeditor ms- 1.10.0
vscode-xml red 0.27.1
cmake twx 0.0.17

(1 theme extensions excluded)

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonnoceb:30805159
asynctok:30898717
pythonregdiag2:30936856
pythonmypyd1:30879173
2e7ec940:31000449
pythontbext0:30879054
accentitlementsc:30995553
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
g316j359:31013175
pythoncenvpt:31062603
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31119336
wkspc-onlycs-t:31111718
wkspc-ranged-t:31125599
fje88620:31121564
aajjf12562:31125793

@lszomoru lszomoru added git GIT issues bug Issue identified by VS Code Team member as probable bug help wanted Issues identified as good community contribution opportunities labels Sep 4, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Oct 29, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Oct 29, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Oct 29, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Oct 31, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Nov 4, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Nov 9, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Nov 13, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Nov 26, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Dec 1, 2024
Parasaran-Python added a commit to Parasaran-Python/vscode that referenced this issue Dec 7, 2024
@lszomoru lszomoru changed the title Submodules are not processed when cloning a git project. Git - Submodules are not processed when cloning a git project. Dec 12, 2024
@lszomoru lszomoru added this to the Backlog milestone Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue identified by VS Code Team member as probable bug git GIT issues help wanted Issues identified as good community contribution opportunities
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants