![]() ![]() ![]() I have totally forgotten that there's a macports alternative Like i had such a problem where i needed to update 1 specific package, but got updated MySQL, Python and a bunch of other packages. And you never know when you will be installing something that will break your current setup. So i agree with the topic starter, it's really is a pain now to use homebrew in especially when you need a specific version of a package. You wouldn't want to run tests locally for that long. Our project is nearing the 3k unit tests mark and unless you run MySQL bare metal your full test run times tend to triple (5 minutes bare metal against 15 to 20 minutes with dockerized DB). Docker is great candidate here also, unless you start to run tests. Project could be run in docker but you need local python to be able to install python dependencies to run code insight in Pycharm (or any other IDE).Īlso project might use specific MySQL version, and upgrading to newer could lead to some errors. But it's perfectly fine until EOL in 2021). Project i'm working on is using Python 3.6 (It's old - yes. Maybe I should tell my manager to fire a very profitable client because "running slightly older PHP version is immoral"? Mature software developers and sysadmins know that we do not live in a perfect world where we can run always the latest and greatest and not of all our decisions are within our control. When you advertise The Missing Package Manager for macOS (or Linux) you set certain expectations from the public. But they are breaking change because package is named which means you can no longer do brew start php but instead need to do brew start are other issues but these two are the most glaring (to me, at least). But Homebrew team decided to that anything below 8.0 is old. PHP is still supported up to 7.4 (maybe we can even include 7.3). But why be so blunt and rude about it? Why be FOSS contributor in the first place?Ĭonstant axing of previous versions (even if they are still supported!) on the grounds of "security" and "morality". I understand that open source is a free commitment environment and technically you cannot expect SLA-type commitment from FOSS projects. One of the key collaborators of Homebrew constantly exercises the right to say "Contributors owe you nothing" and shuts down (as in locks) issues on GitHub. These are subjective hence I have moved them into its own sub-heading. While looking for solutions for Homebrew to support previous versions, I have come across a number of things, I which I think should be mentioned. ![]() Personal Observation and Subjective Criticism requires sudo for installation (implies care needs to be exercised) compiled binaries available for a whole spectrum of OSX (from 11 all the way to 10.5) offers many nifty cli options allowing advance usage feels more like traditional Linux package manager installation of previous versions is really not that simple automatically installs the latest dependency version (unless you pin it) supports only 2 latest generations of OSX So in conclusion, I will present you with a summary of key points (and some learning lessons) from this experience: The only reason I was initially afraid of using it was due to sudo requirement. Uninstalling full chain of dependencies when removing package. and was pleasantly surprised! Not only MacPorts offer versions from 11 all the way down to 10.5, it has many-many nifty things like marking installed dependencies as explicitly required or implicit. I have tried several different ways but they were hacking at best and my dependencies eventually broke. Bottles of older versions are available at BinTray but there is no easy (or native) way to use them. I started looking at available options at how to run older bottles, but it seems Homebrew team axed all of those options (such as installation specific version of dependency). TL DR: if you do not require previous versions of the dependencies, Homebrew is the right tool for you, otherwise MacPorts is a much better toolĭisclosure: I am a PHP developer working with different versions of PHP due to busy working schedule, I am on High Sierra (10.13) and still looking for free time to upgrade my OSĪfter my OSX became "unsupported", Homebrew no longer offered bottles which meant I need to compile from source which can be really time consuming. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |