Opened 8 years ago
Last modified 7 years ago
#4330 new enhancement
Split OMEdit from systems librarys and introduce a library download manager
Reported by: | Jan Kokert | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | critical | Milestone: | Future |
Component: | Third-Party Libraries | Version: | |
Keywords: | OMEdit and library download manager | Cc: |
Description
I realized that every OM nightbuild always includeds over 900MB of libraries! Thus the download is very big (~1GB) and will consume a lot space on your servers.
Isn't it possible to split both things and offer (1) a slim version with OMEdit, MSL, OMPLot... (about 150MB) and (2) a library download manager which installs the libraries (about 900MB) on request.
This has two benefits:
1.) Users who want to check out the latest OMEdit nightlybuild improvements don't need to (re)install 900MB of libraries.
2.) Users who want to check out the latest version of a library can use the library download manager and do not need to reinstall OpenModelica at all.
As an addition, when OMEdit (slim version) starts for the first time the library download manager could pop up automatically to show the comprehensive library extent.
Change History (5)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Almost sounds like the Linux builds (except it's split even further, with the ability to download only OMC and even exclude the C++ code generator).
What I thought would be cooler would be to just rsync the entire OMC for Windows (one directory for each release / branch). And only update the files that actually changed.
comment:3 by , 8 years ago
I highly appreciate that there is a discussion going on about that matter. Again, I like to highlight my solution for "most of the OMEdit windows users" who does not actively develop OMEdit or OpenModelica:
- (1) A slim all-in-one download and installer for OMEdit with the latest improvements which runs out-of-the-box (so including MSL).
- (2) An integrated library download manager. This will reduce the download size of (1) significantly.
comment:4 by , 8 years ago
One way would be to build a small Qt GUI on top of msys/mingw rsync and use it to update in place the Windows installation.
Alternatively we could use Syncthing: https://syncthing.net/ to synchronize the OM installation with a new build.
I guess we could automatically install OM nightly on testwin.openmodelica.org each night to have a place from where people can synchronize their OM installation.
comment:5 by , 7 years ago
See #4508 for a similar solution that is really simple to implement. I would suggest to first do that and then possibly improve it along these lines.
This sound like a very good idea.