-
Notifications
You must be signed in to change notification settings - Fork 18
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 history is getting huge due to Jupyter Notebooks #129
Comments
I wonder if what is proposed here is an acceptable solution: https://stackoverflow.com/questions/1209999/how-to-use-git-to-get-just-the-latest-revision-of-a-project. |
I don't think that having these extra 500 MB on disk is the issue (mildly inconvenient at best), but realistically this history will very quickly grow even larger in size if we keep working on it without squashing these Jupyter Notebook commits - same for Maybe we could implement a "squash-and-merge-only" rule to counter-act that a little bit? |
That could be a good approach @giovp wdyt? |
It would be interesting to decrease the size of this repo by squashing commits, not sure how to do it though. The solution you pointed to @LucaMarconato is interesting for dev perspective indeed. And also @timtreis you are right that the whole purpose of having the notebooks repo separate is that we knew this would happen in the future. |
Just cloned the repo and noticed that it was taking quite some time, downloading 550 MB for a fairly low-LOC repo:
![image](https://private-user-images.githubusercontent.com/12818242/355650125-8a0128aa-0d2e-4b1b-84b9-0bf88241d8f6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1ODE2OTgsIm5iZiI6MTczOTU4MTM5OCwicGF0aCI6Ii8xMjgxODI0Mi8zNTU2NTAxMjUtOGEwMTI4YWEtMGQyZS00YjFiLTg0YjktMGJmODgyNDFkOGY2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDAxMDMxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3ODVlMGNkOTZmNzc5N2Q3NGE4NmVkMjg4NzA0OTc1ZTUyOTNlZTA1MDNiODA2YzFmMGJjM2NkNWY2OGJlZWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b6jUFRpoJkgFZvEqm8aLmEFpHu1NxKvg98IuGIVMTIc)
I wonder if there's any merit towards switching to a fork/squash-merge approach instead of the branch based? Realistically, that history is only ever going to become larger.
Counterpoint:
wdyt @giovp @LucaMarconato ?
The text was updated successfully, but these errors were encountered: