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

Reduce size of repo #1789

Closed
dht opened this issue Aug 14, 2018 · 6 comments
Closed

Reduce size of repo #1789

dht opened this issue Aug 14, 2018 · 6 comments
Assignees
Milestone

Comments

@dht
Copy link

dht commented Aug 14, 2018

I wanted to change a small code example in the autocompilation of Scss. I gave up after 15 minutes of cloning and reaching 21% and 350mb. Perhaps git is not the best way for developing the docs, as old versions are bound to be inferior to the latest and greatest, or perhaps it would be better to archive old commits from time to time.

Great job to all contributors of docs and editor alike. I just migrated from Webstorm and I am in love ;-)

@octref
Copy link
Contributor

octref commented Aug 22, 2018

This makes sense. We have a lot of images here that's taking up space. They seldom change and can be stored somewhere else than git.

Meanwhile, you can try to use git clone --depth=1, or make changes directly to MD files on GitHub.

@octref octref self-assigned this Aug 22, 2018
@vipulgupta2048
Copy link
Contributor

How about using Cloud services to store and parse images onto web pages. Everyone knows git isn't the best when it comes to large media/binary files. We can shift all the content and add placeholders in their places.

@octref
Copy link
Contributor

octref commented Oct 7, 2018

We tried git-lfs. This isn't really doable without compromising our workflow, so unfortunately the only way to contribute to vscode-docs without downloading the whole repo is to make change on GitHub interface.

@octref octref closed this as completed Oct 7, 2018
@bpasero
Copy link
Member

bpasero commented Feb 21, 2019

I really suffer from this too....

@octref
Copy link
Contributor

octref commented Feb 21, 2019

This also slows down CI, will try to get a fix on debt week.

@octref
Copy link
Contributor

octref commented Mar 12, 2019

We switched to LFS. You can now use https://github.com/Microsoft/vscode-docs#cloning which clones the 16MB text files, and pulls in images on demand.

@octref octref closed this as completed Mar 12, 2019
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

5 participants