Skip to content

Reduce size of repo #1789

Description

@dht

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 ;-)

Activity

  1. octref commented on Aug 22, 2018

    @octref
    Contributor

    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.

  2. vipulgupta2048 commented on Oct 7, 2018

    @vipulgupta2048
    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.

  3. octref commented on Oct 7, 2018

    @octref
    Contributor

    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.

  4. bpasero commented on Feb 21, 2019

    @bpasero
    Contributor

    I really suffer from this too....

  5. octref commented on Feb 21, 2019

    @octref
    Contributor

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

  6. added this to the February 2019 milestone on Feb 21, 2019
  7. octref commented on Mar 12, 2019

    @octref
    Contributor

    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.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions