bbopt / nomad

NOMAD - A blackbox optimization software
https://nomad-4-user-guide.readthedocs.io/
GNU Lesser General Public License v3.0
116 stars 24 forks source link

Repository size #31

Closed andrescodas closed 3 years ago

andrescodas commented 3 years ago

The size of this repository is over 300 Mb, mostly because of the compiled docs. I'm wondering if you could shrink it, by making the compiled docs available by other means. This might benefit users with poor connection, by reducing network traffic and storage.

Thanks for making this great tool available here!

ctribes commented 3 years ago

Thanks for the comment. We will remove the whole doxygen documentation from the repositery. This should significantly reduce the size.

montplaisir commented 3 years ago

Hi Andres! Doxygen compiled files are now removed in the develop branch.

andrescodas commented 3 years ago

thanks a lot for the prompt response.

Just note that the repository keeps the doc files in its history records after this solution. See this article for details.

This api shows the current repo size, under the key 'size' (in Kb)

However, if all we need is the latest state of the develop branch, we can add some parameters to the clone command:

git clone --single-branch --branch develop --depth 1 https://github.com/bbopt/nomad.git

to prevent downloading the whole git history. With that the download size is 7.5 Mb :)

montplaisir commented 3 years ago

Thank you for your post, that command may be useful for other users indeed!