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

Lighten the git history #89

Open
bastiencyr opened this issue Apr 26, 2023 · 1 comment
Open

Lighten the git history #89

bastiencyr opened this issue Apr 26, 2023 · 1 comment
Labels
0.22.0 For version 0.22.0 optimization Optimization issues

Comments

@bastiencyr
Copy link

Hello @remi-braun,
The git history is pretty heavier (almost 300 Mo). By analyzing the git repo, I noticed that some files should never have been pushed. But it's up to you to decide if it is important to keep in the history.
We can easily reduce the size to 90Mb with a single command:

git-filter-repo --invert-paths --path docs/jupyter_execute --path CI/DATA --path CI/COTS --path eoreader/examples 

Notice that all this files will never been accessible in the git history. It means that if you checkout on an old branch, there will be no way to get back this folders.

You can find a complete report here:
eoreader_analysis.zip

After cleaning, the heaviest folder is "docs" (86 Mo). There are different solutions but maybe it's better to go step by step.

@bastiencyr bastiencyr added the bug Something isn't working label Apr 26, 2023
@remi-braun remi-braun added optimization Optimization issues 0.21.0 For version 0.21.0 and removed bug Something isn't working labels Apr 26, 2023
@bastiencyr
Copy link
Author

@remi-braun remi-braun added 0.22.0 For version 0.22.0 and removed 0.21.0 For version 0.21.0 labels Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.22.0 For version 0.22.0 optimization Optimization issues
Projects
None yet
Development

No branches or pull requests

2 participants