-
Notifications
You must be signed in to change notification settings - Fork 408
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 thefigdirectory 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.psis 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
figdirectory. - Optimize images in the
doc/rst/source/users_contrib_symbolsdirectory - Reduce size of images before deploying to gh-pages branch.
- The
doc_releasecontains 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
longtermLong standing issues that need to be resolvedLong standing issues that need to be resolved