Skip to content

git submodule initial clone status#316

Open
wandadars wants to merge 2 commits into
EdwardALuke:devfrom
wandadars:add_heartbeat_to_build_deps_script
Open

git submodule initial clone status#316
wandadars wants to merge 2 commits into
EdwardALuke:devfrom
wandadars:add_heartbeat_to_build_deps_script

Conversation

@wandadars
Copy link
Copy Markdown
Collaborator

add a feature to display information about initial submodule repo clones that might take a long time to fully clone.

One of the git repos in the ext/ is a very large initial clone when using the dependency build script. Added some coding to notify that the script hasn't frozen and is just cloning the repo, and periodically updates the user of this.

…nes that might take a long time to fully clone.
@TimothyEDawson
Copy link
Copy Markdown
Collaborator

Hey Chris, a better option would be to update the build script to perform a shallow clone with git submodule update --init --recursive --depth 1. Or, better still, update the configuration to use a shallow clone by default for the given submodule(s) with git config -f .gitmodules submodule.<name>.shallow true.

@wandadars
Copy link
Copy Markdown
Collaborator Author

Thanks @TimothyEDawson . That definitely sounds more efficient. I can't recall off the top of my head, but one of those repos takes like 5 minutes to download with the full clone 😅.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants