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

Long repository clone time #9

Open
PiggybankStudios opened this issue Nov 9, 2022 · 2 comments
Open

Long repository clone time #9

PiggybankStudios opened this issue Nov 9, 2022 · 2 comments

Comments

@PiggybankStudios
Copy link

I've noticed this repository takes a little white to clone whenever I am setting up a new project. I suspect it's probably due to the example gifs (and/or versions of these or other large files in the repo history). Is there anything that can be done to reduce the repository size for an unmodified git clone operation? I suspect there is probably a way to download the repository without history given some switch on clone, which would also help, but I wonder if there's something that can be done to "archive" this history or maybe move the gifs to a non-master branch?

@PiggybankStudios
Copy link
Author

For reference it just took about 35 seconds to clone. Also the folder currently takes about 700MB on disk (354MB for the .git folder and 339MB from the "test/in" folder)

@notnullnotvoid
Copy link
Owner

That's the testing/benchmarking data. The idea was for contributors to be able to pull down the repo and use the same setup that I use to test their changes, while normal users just download the header file from the repo or from the latest release. If you have a workflow that requires cloning the repo (for example as an automated build step), let me know and I'll look at moving the test setup to a separate repo and scrubbing it from the history.

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