*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 <https://github.com/pypa/pip/issues/2195>). My machine 
right now: .git is 183 MB, while Leo is only 40 MB.

Solution: periodically create a new leo-editor shallow clone 
<https://www.google.com/search?q=git+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
 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/18ed34c5-7a72-404e-9ee1-b6565710f06c%40googlegroups.com.

Reply via email to