Things I learned today.
When running `
pip install --editable path/to/leo` the
"Installing build dependencies ..." step can take a loooong time. Apparently this is because it creates a copy of the folder tree including the `
.git` folder, which can be quite large (
ref). My machine right now: .git is 183 MB, while Leo is only 40 MB.
Solution: periodically create a new leo-editor
shallow clone:
cd d:\code
git clone --depth=100 https://github.com/leo-editor/leo-editor.git d:/code/shallow-leo-editor
move d:\code\leo-editor d:\code\leo-editor-bloated
move d:\code\shallow-leo-editor d:\code\leo-editor
At current commit rate
- depth=100 is 6 months of history and 60mb (.git & Leo together)
- depth=500 is 2 years and 73 MB
- depth={infinity} is 11 years and 242 MB
-matt