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

Suggestion: Move binary files in build directory to avoid increasing git repo size over time #271

Open
g7morris opened this issue Jul 6, 2022 · 0 comments

Comments

@g7morris
Copy link
Collaborator

g7morris commented Jul 6, 2022

Just recommending that we consider moving https://github.com/Islandora-Devops/isle-dc/tree/development/build/demo-data to a separate git repo to avoid increasing git repo size over time and potentially increasing git clone or other deploy times considerably.

With every branch created, merged etc, over time these files are replicated a lot and I'm seeing this trend occurring already.

37M     build
8.0K    CONTRIBUTING.md
12K     docs
4.0K    LICENSE
24K     Makefile
20K     README.md
4.0K    sample.Dockerfile
8.0K    sample.env
8.0K    scripts
84K     secrets

While the build directory is currently 37M the entire repo is now 89M. The "extra" 52M is coming from this unnecessary replication.

We could simply create a new git repo, move the build directory there and update any scripts to call from it as part of the demo process.

Additionally we can use a tool like bfg-repo-cleaner to remove all binaries from all branches and commits which should reduce the size dramatically.

Happy to help further with this as needed.

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

1 participant