-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repository size #21
Comments
@blazk What do you need to do with it? Which kind of managing problems do you have in particular? |
Thanks for looking into it! It will be cloned often, we have automated deployment procedures where our systems are assembled from many packages and these packages are cloned from git repos. Do developers actually need to use realistic maps to run tests? If these tests only check if results stay the same after the code change, then maybe you could use small e.g. 3x2 pixel maps (attached) |
Hi,
|
@blazk |
I suppose we could use "pip install lisflood-lisvap". How much up-to-date do you keep the pip package? When we install from git, we have a custom installation procedure. Part of this procedure is to configure the package, e.g. in case of LISVAP we set the "PathBaseMapsIn" variable in the XML settings template file - this variable does not change in our case so it can be set to a fixed value during package's installation. It may sound like a small detail but actually it's important from architecture point of view (encapsulation!) - it means that the client code that calls LISVAP doesn't need to know how to set "PathBaseMapsIn", which means the client code can be simpler. But anyway, sorry for digression, I think we can do it, eg. install LISVAP from pip and then have an auxiliary package with the XML settings template only. |
Pip package is in sync with git version, as soon as there is a new tag/release. Maybe we can use pip with --install-option arg, to pass extra arguments to the setup.py script. So you can pass the path and I can produce the XML template for you during installation. I will look into it in a few days. https://pip.pypa.io/en/stable/reference/pip_install/#cmdoption-install-option |
sounds good, thanks! |
Hi, I've just tried to clone Lisvap repository and the size is 2.3 GB. it's a bit unmanageable. Could it be possibly reduced?
The text was updated successfully, but these errors were encountered: