-
Notifications
You must be signed in to change notification settings - Fork 394
Open
Labels
longtermLong standing issues that need to be resolvedLong standing issues that need to be resolved
Description
The GMT repository is getting bigger. The current size is ~1 GB, and the largest directories are:
.git
: ~720 MB. It contains the whole git history. We can't reduce the size unless we rewrite the git history.test
: ~113 MB. There are many large PS files (>1 MB) and may be reduced to smaller sizes.doc
: ~70 MB. Files in thefig
directory can be optimized to smaller sizes.share
: 14 MB. Nothing we can do to this directory.src
: 15 MB. Nothing to do.
The release tarball doesn't ship the GMT tests, and its size is ~150 MB after uncompression.
doc
: ~70MBdoc_release
: 50 MB
Below are what we can do to reduce the repository size and tarball size:
- Some PS files are large because they use high-resolution GSHHG or earth relief files. For example,
test/genper/east_map_0.ps
is used to test a map projection (maybe I'm wrong), but it plots all coastlines, rivers and national boundaries, and the PS figure size is ~5 MB. We may use lower-resolution data to highly reduce their sizes. - Optimize the images in the
fig
directory. - Optimize images in the
doc/rst/source/users_contrib_symbols
directory - Reduce size of images before deploying to gh-pages branch.
- The
doc_release
contains the HTML documentation and hundreds of images. These images can be optimized to much smaller sizes. These images are generated when building documentation, so we need to do the image optimization before each release.
Metadata
Metadata
Assignees
Labels
longtermLong standing issues that need to be resolvedLong standing issues that need to be resolved