Tudat / tudat

NOTE: This Tudat version is no longer supported. See https://docs.tudat.space/en/stable/ and https://github.com/tudat-team/tudat-bundle for the new version
BSD 3-Clause "New" or "Revised" License
87 stars 143 forks source link

Use git lfs / generate datafiles #637

Closed rodyo closed 4 years ago

rodyo commented 4 years ago

Making a fresh clone of tudat can take...quite a while. Running ncdu on tudat/ shows why:

Screenshot from 2020-08-21 15-12-14

There's a few ways to improve this situation:

  1. Have git-lfs manage them. This is probably the lowest hanging fruit. With git-lfs, at least diff'ing stuff will be faster, and the repository db (i.e., the .git folder) will be significantly smaller. Drawback: that's yet another dependency, needs a documentation change, and is fairly easy to screw up (also, ideally, you'd git lfs migrate the whole repository (rewriting history + force push), which is not without its risks, but this can be skipped)
  2. create some CMake targets that downloads/generates these files on the fly (e.g., CSPICE kernels are not needed if USE_CSPICE is off). This is probably the nicest way to deal with this sort of thing, but requires the most effort.
  3. Something I didn't think of 😊

I'm happy to help out; I just need to know what to do.

DominicDirkx commented 4 years ago

Indeed, this is a nuisance, and one of the things we will address in our new version!