Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Option to download MySQL #18
I suspect there are good reasons this isn't done now (technical and/or non-technical), but just in case this request is for a download feature.
For example I imagine executing
On Linux it'd probably download this:
But that brings us to our first (and main) issue; how does it know the path? For example, might it ever be 8.0.11-1 instead of 8.0.11? Or 10.15 instead of 10.13? What about RC releases? Good questions and there are many more :)
Thankfully this functionality is a nice-to-have (not critical) so unexpected changes can cause failure without too much pain. But, download paths can (for the most part) be predicted. Not yet sure if other commands should use it (e.g., whether
Before I (or anyone) does further research, I'm curious if you see this as a possibility. If so then I'll dig a little deeper.
This feature is high in the TODO list.
That feature uses a fixed location (my Github repository for reduced MySQL tarballs).
In dbdeployer, it should become
There are four reasons for delaying the same feature in dbdeployer:
In short, I don't want to release a feature that depends on a location that might not be sustainable.
BTW, in your examples above, the package to download for MacOs is always a .tar.gz, not a .dmg.
As of version 1.16.0, dbdeployer can download remote MySQL tarballs from a Github repository. The tarball are reduced ones, created inside Mysql-Docker-Minimal.
The tarballs are only available for Linux. However, since the URL for the files is customizable, you can use your own repository to download files for other operating systems.
Tarballs for other operating systems (or from other distributions, such as Percona Server, may be made available if someone gives me access to a reliable server that can host the files.
Specifically, minimal tarballs for MacOS are going to be larger than the ones for Linux, and therefore I am skipping plans to include them in the current repository for the time being.