[GH-ISSUE #2506] Remove binaries from version control / enable Git LFS #1242

Closed
opened 2026-10-21 05:29:52 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @WhatsUpJerks on GitHub (Jun 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2506

The repo is getting very bloated and slow to clone due to the number of included binaries. This problem will only get worse over time unless mitigated. Doing this sort of cleanup now rather than later once the product is more established and has a greater number of forks and contributors will be easier, since converting a repo to use LFS and stripping out old blobs is a disruptive process to existing clones.

I'd also recommend including an appropriate .gitignore to prevent accidental addition of binaries in the future.

Git-sizer report:

| Name                         | Value     | Level of concern               |
| ---------------------------- | --------- | ------------------------------ |
| Biggest objects              |           |                                |
| * Blobs                      |           |                                |
|   * Maximum size         [1] |  21.9 MiB | **                             |
|                              |           |                                |
| Biggest checkouts            |           |                                |
| * Maximum path depth     [2] |    12     | *                              |
| * Maximum path length    [3] |   102 B   | *                              |

[1]  712e070a96dae3668c2da046f2cdfd19ba9d4327 (7269c6b62632d3b1706def32e1ba6b8474d69037:src-tauri/resources/default-data/models/Xenova/all-MiniLM-L6-v2/onnx/model_quantized.onnx)
[2]  40400da416ae6cf8d339e0518989e7f44ca53262 (refs/heads/refactor^{tree})
[3]  2eb2df114c9962317bde5b1531849385221cf7ba (refs/remotes/origin/HEAD^{tree})

Git filter-repo analysis:

=== All extensions by reverse size ===
Format: unpacked size, packed size, date deleted, extension name
   173205235  167305204 <present>  .png
    63834670   62277918 <present>  .mp3
    22972370   16217069 2026-06-06 .onnx
    10711380   10561826 <present>  .ogg
   819608992    9057485 <present>  .json
   214259678    6951960 <present>  .ts
   221768168    6431264 <present>  .tsx
     5254768    5209848 <present>  .jpg
     6110680    4636070 <present>  .wav
    46792195    2328855 <present>  .rs
    16395661    1515663 <present>  .md
     1333106    1294642 <present>  .gif
      902629     900567 <present>  .icns
     1310892     620513 2026-05-24 .exe
     9091081     459334 <present>  .yaml
      364677     263192 <present>  .svg
     3827640     219541 <present>  .lock
      771891     207836 <present>  .mjs
      742449     198943 <present>  .js
     3411142     171557 <present>  .css
      548495     155063 <present>  .ico
     1003614     113829 <present>  .py
      596592      60046 <present>  .html
      377362      58164 <present>  .yml
       59203      53084 <present>  .jar
      662633      46605 <present>  .bat
      587421      39311 2026-05-24 .sh
     1028591      36435 2026-05-24 .nsi
      145239      29674 <present>  <no extension>
      143518      24396 2026-05-24 .example
       52579      10287 <present>  .cjs
       89585       6285 2026-05-24 .lite
       42316       5347 <present>  .toml
       37686       4537 2026-05-24 .java
       17027       4335 <present>  .xml
       10292       3620 2026-05-24 .cs
       24360       2992 <present>  .gradle
        3355       2009 <present>  .txt
        5049       1699 <present>  .kt
        5589       1565 <present>  .kts
        9789       1328 2026-05-24 .cts
        1894       1142 2026-05-24 .ps1
        1914       1060 <present>  .properties
         750        428 <present>  .pro
Originally created by @WhatsUpJerks on GitHub (Jun 6, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2506 The repo is getting very bloated and slow to clone due to the number of included binaries. This problem will only get worse over time unless mitigated. Doing this sort of cleanup now rather than later once the product is more established and has a greater number of forks and contributors will be easier, since converting a repo to use LFS and stripping out old blobs is a disruptive process to existing clones. I'd also recommend including an appropriate `.gitignore` to prevent accidental addition of binaries in the future. Git-sizer report: ``` | Name | Value | Level of concern | | ---------------------------- | --------- | ------------------------------ | | Biggest objects | | | | * Blobs | | | | * Maximum size [1] | 21.9 MiB | ** | | | | | | Biggest checkouts | | | | * Maximum path depth [2] | 12 | * | | * Maximum path length [3] | 102 B | * | [1] 712e070a96dae3668c2da046f2cdfd19ba9d4327 (7269c6b62632d3b1706def32e1ba6b8474d69037:src-tauri/resources/default-data/models/Xenova/all-MiniLM-L6-v2/onnx/model_quantized.onnx) [2] 40400da416ae6cf8d339e0518989e7f44ca53262 (refs/heads/refactor^{tree}) [3] 2eb2df114c9962317bde5b1531849385221cf7ba (refs/remotes/origin/HEAD^{tree}) ``` Git filter-repo analysis: ``` === All extensions by reverse size === Format: unpacked size, packed size, date deleted, extension name 173205235 167305204 <present> .png 63834670 62277918 <present> .mp3 22972370 16217069 2026-06-06 .onnx 10711380 10561826 <present> .ogg 819608992 9057485 <present> .json 214259678 6951960 <present> .ts 221768168 6431264 <present> .tsx 5254768 5209848 <present> .jpg 6110680 4636070 <present> .wav 46792195 2328855 <present> .rs 16395661 1515663 <present> .md 1333106 1294642 <present> .gif 902629 900567 <present> .icns 1310892 620513 2026-05-24 .exe 9091081 459334 <present> .yaml 364677 263192 <present> .svg 3827640 219541 <present> .lock 771891 207836 <present> .mjs 742449 198943 <present> .js 3411142 171557 <present> .css 548495 155063 <present> .ico 1003614 113829 <present> .py 596592 60046 <present> .html 377362 58164 <present> .yml 59203 53084 <present> .jar 662633 46605 <present> .bat 587421 39311 2026-05-24 .sh 1028591 36435 2026-05-24 .nsi 145239 29674 <present> <no extension> 143518 24396 2026-05-24 .example 52579 10287 <present> .cjs 89585 6285 2026-05-24 .lite 42316 5347 <present> .toml 37686 4537 2026-05-24 .java 17027 4335 <present> .xml 10292 3620 2026-05-24 .cs 24360 2992 <present> .gradle 3355 2009 <present> .txt 5049 1699 <present> .kt 5589 1565 <present> .kts 9789 1328 2026-05-24 .cts 1894 1142 2026-05-24 .ps1 1914 1060 <present> .properties 750 428 <present> .pro ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1242
No description provided.