GamutoWare icon indicating copy to clipboard operation
GamutoWare copied to clipboard

Allow for contribution to require a smaller download

Open moraguma opened this issue 2 years ago • 4 comments

As Gamutoware is made to be worked on on faculty computers, size is an important concern, especially since memory requirements increase along with minigame count. As Gamutoware is very modular, with each minigame being its own folder, it's easy for people to work on their projects without having access to all other ones. How can we change the contribution workflow to allow for that?

moraguma avatar Mar 26 '24 14:03 moraguma

Using partial clones would be a good start to reduce unnecessary downloads of file. By using a blobless clone we can reduce the size from 357M to just 149M. A possible command would be: git clone --filter=blob:none [email protected]:moraguma/GamutoWare.git More info on partial clones

Gvinfinity avatar Mar 30 '24 23:03 Gvinfinity

Just bumping @moraguma.

Gvinfinity avatar Apr 13 '24 14:04 Gvinfinity

@Gvinfinity that would be a good start, but I think a more definitive solution would need to allow cloning the repo without downloading every single minigame. The idea is that, while the core should always be fairly small, new minigames will keep being added as long as Gamutoware exists. I think an ideal solution would be for people to be able to clone the repo with only the inclusion of the current year's and the demo's minigame packs

Either way, we should go for blobless clones for the class next year

moraguma avatar Apr 13 '24 15:04 moraguma