3 ms·
This looks nice. I might try it out. One nitpick, the .git directory is rather large and probably needs some attention as it is 129MB. The tests directory al
by LinuxBender 4y ago
This looks nice. I might try it out.
One nitpick, the .git directory is rather large and probably needs some attention as it is 129MB. The tests directory also has a bit of photo content. Perhaps this could be stored outside of git somehow? Excluding those directories the repository would be less than 11MB.
- m463 4y agoI'm uncertain, but would git clone --depth=1 mitigate this?
- LinuxBender 4y agoThe total size with --depth=1 is 239MB and the .git folder is 116MB. Also the same with adding --branch=master.
- eredengrin 4y agoIt's all tradeoffs. If it's test data taking up space, it's useful to have the tests tracked along side the source so it's reasonable to put it in the repository. It could be put in a separate git repository and then tracked as a submodule, but it adds a bit of complexity for arguably minimal gain (developers need the tests anyway so it's only really helpful for users who want to download the sources and not the tests). Something like git lfs could maybe have a use but it also adds complexity. Unless they expect it to grow into the GB range personally I like the decision to just put it directly in the repository.