index.tar.gz contains unnecessary files #29
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There are a few files we include that are not needed such as git(hub) files, markdown files and the license:
The upside is we produce a significantly smaller index.tar.gz than the one served by opam.ocaml.org: 5.9 MB vs 7.3 MB (uncompressed they are 65 MB vs 84 MB). An observation I can make is that opam.ocaml.org's tar file includes explicit entries for each directory whereas we don't. Omitting the above unnecessary files probably wouldn't affect the size of the compressed tar file much, though.
Indeed, please see the PR for a fix. From the opam source, there's only three things to include: packages, repo, version.