clone with inaccessible submodule fails the clone process (cartodb-private)
See original GitHub issueI am running into problems while trying out the latest master
branch due to the cartodb-private
submodule’s inclusion.
It breaks cloning the repository and is breaking some of our CI pipelines… could someone please enlighten me as to the purpose of having a private submodule in an open source and public repository? With an open source project you shouldn’t include completely private submodules as dependencies it defeats its purpose.
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Cloning Submodule Fails from Mirror - Atlassian Documentation
Problem. Cloning a repository from a mirror that contains submodules results in one of the following errors: Command: git clone --recurse- ...
Read more >cloning submodule fails - git - Stack Overflow
Just found the answer: git submodule add http://git.drupal.org/project/token.git sites/all/modules/token. The leading "/" was the problem.
Read more >What can I do about the error: Invalid submodules in repository?
This can be caused by a developer doing a git clone of a submodule directly inside your project, or maybe by copying a...
Read more >Getting Dakota Source Code
After cloning you will need to turn off one inaccessible submodule: git clone software.sandia.gov:/git/dakota cd dakota git checkout devel.
Read more >How To Pull The Latest Git Submodule | phoenixNAP KB
When a user clones a Git repository that contains submodules, ... you fix a common error that appears during the submodule update process....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
In case anyone stumble into this, here’s the solution:
@sabman, you can also run it with
-n
flag for a shallow copy.upd: okay, this might not be a good solution,
-n
as shallow copy will basically create an empty dir