Skip to content

Optimize GitStorage space usage

Some source packages can be quite space consuming when extracted. Over the last couple of days, we had geant4 and ungoogled-chromium taking up to 4GB each on mentors.

Since the end feature of git storage is to provide a diff between uploads, I think we should only store the content of the debian archive.

  • For natives packages it would be only the debian/ directory.
  • For non-natives, it would be:
    • Extracted content of the debian.tar for 3.0 source format
    • Extracted and patch'ed content of the debian.diff for 1.0 source format

That would save a lot of space in the git backend.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information