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 module 'bootstrap' is too big. #16

Closed
Mr-Ao-Dragon opened this issue Dec 5, 2021 · 1 comment
Closed

git module 'bootstrap' is too big. #16

Mr-Ao-Dragon opened this issue Dec 5, 2021 · 1 comment

Comments

@Mr-Ao-Dragon
Copy link

This module is really too big, it is difficult to clone it completely within the Chinese network, I hope to give a solution.

@ups216
Copy link
Contributor

ups216 commented Dec 18, 2021

@Mr-Ao-Dragon this issue is fixed. I've updated all submodule reference to use relative path and synced bootstrap and Font-Awesome repo to gitee.
If you are working on this repo from China, you should clone our Gitee repo (https://gitee.com/smartide/SmartIDE) and run the following

git submodule update --init --recursive
Submodule 'docs/themes/docsy' (git@gitee.com:smartide/docsy) registered for path 'docs/themes/docsy'
Cloning into '/Users/leixu/sources/smartide/gitee/SmartIDE/docs/themes/docsy'...
Submodule path 'docs/themes/docsy': checked out '996893fd5a5478c29dd208a079a0790b4a754ee0'
Submodule 'assets/vendor/Font-Awesome' (git@gitee.com:smartide/font-awesome) registered for path 'docs/themes/docsy/assets/vendor/Font-Awesome'
Submodule 'assets/vendor/bootstrap' (git@gitee.com:smartide/bootstrap) registered for path 'docs/themes/docsy/assets/vendor/bootstrap'
Cloning into '/Users/leixu/sources/smartide/gitee/SmartIDE/docs/themes/docsy/assets/vendor/Font-Awesome'...
Cloning into '/Users/leixu/sources/smartide/gitee/SmartIDE/docs/themes/docsy/assets/vendor/bootstrap'...
remote: Enumerating objects: 31142, done.
remote: Counting objects: 100% (31118/31118), done.
remote: Compressing objects: 100% (5688/5688), done.
remote: Total 29257 (delta 25721), reused 27056 (delta 23533), pack-reused 0
Receiving objects: 100% (29257/29257), 41.70 MiB | 3.82 MiB/s, done.
Resolving deltas: 100% (25721/25721), completed with 1650 local objects.
From gitee.com:smartide/font-awesome
 * branch              7d3d774145ac38663f6d1effc6def0334b68ab7e -> FETCH_HEAD
Submodule path 'docs/themes/docsy/assets/vendor/Font-Awesome': checked out '7d3d774145ac38663f6d1effc6def0334b68ab7e'
remote: Enumerating objects: 126384, done.
remote: Counting objects: 100% (126384/126384), done.
remote: Compressing objects: 100% (40540/40540), done.
remote: Total 126118 (delta 84709), reused 125832 (delta 84423), pack-reused 0
Receiving objects: 100% (126118/126118), 129.01 MiB | 4.10 MiB/s, done.
Resolving deltas: 100% (84709/84709), completed with 127 local objects.
From gitee.com:smartide/bootstrap
 * branch                043a03c95a2ad6738f85b65e53b9dbdfb03b8d10 -> FETCH_HEAD
Submodule path 'docs/themes/docsy/assets/vendor/bootstrap': checked out '043a03c95a2ad6738f85b65e53b9dbdfb03b8d10'

you can see from above log, all submodule are cloned from where you clone the parent repo.

I'm closing this issue now.

@ups216 ups216 closed this as completed Dec 18, 2021
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

No branches or pull requests

2 participants