Live data from Hacker News

Homebrew 1.1.0

brew.sh

41–50 of 216 posts

Re: Homebrew 1.1.0

#41

Earlier quoted context omitted.

Hmmm. The UNIX education that's been hammered into me since childhood has said "If you can do it as not-root, don't do it as root".

What part of that UNIX education would cover putting user-owned binaries into /usr/local ?

Well at least it's in /usr/local/Homebrew now...

Re: Homebrew 1.1.0

#43
post #37

Just a quick poll. Is anybody still using MacPorts or anything else? If so, why?

I still use macports! As for why, there are a couple of reasons.

First, Macports is often the fastest at updating their ports database after new versions of an upstream are released. Next, I also like that Macports doesn't really rely on anything OS-X specific except for Xcode. So I don't need to worry about crap like whether some Python package will work with Apple's Python distribution, or whether installing a new version of Openssh will break any core Mac OS components.

Re: Homebrew 1.1.0

#46
post #23
post #4

There are lots of minor changes, but nothing major IMHO. The reason for bumping the minor version are a couple of breaking changes: - Disable SHA-1 checksum support in formulae - Disable running Homebrew as the root user (e.g. sudo brew) - Bottles with _or_later tags no longer use _or_later in their filenames so the existing bottle can be reused

> Disable running Homebrew as the root user (e.g. sudo brew) why? Just curious, because I always use macports with sudo.

We don't drop privileges when building (as we're not designed to run as root) and the macOS sandbox has issues with the root user so unfortunately you're giving every package you install root access to write to (almost) anywhere on your system. This is bad so we've stopped it.

Re: Homebrew 1.1.0

#47
post #31

Earlier quoted context omitted.

Yes, sure, but there's always been a presumption in those definitions that you have a multi-user system. I would say that most people today operate their computers as single users. The multiuser paradigm, is more about differing security contexts. For me these locations are an artifact of multiuser systems days, it's generally more desirable for me to store most stuff in my home directory, such that when I upgrade co…

Having brew install to ~user would be grand, not just for portability, but also to isolate it across users.

I do this. It's simple enough to install homebrew, to, say, $HOME/.homebrew. I haven't had any problems with this approach, but then, I don't use Ruby, and if I did I wouldn't use homebrew to manage it.

Re: Homebrew 1.1.0

#48

I have been very happy with Homebrew some far. What are some good windows alternative? Making the move from OSX to Windows in a week.

I switched to Windows last year for work after having worked primarily on Debian and OSX.

Chocolatey is the best that I've found. I have run into issues though, so I can't say it's perfect or even close. It's not bad though.

https://chocolatey.org/

Also depending on the type of development you do, you may be able to use Bash On Windows and use ubuntu's apt for everything.

Re: Homebrew 1.1.0

#49
Disabling sha1 does not seem like a good decision. There are still enough upstream software projects that only publish their checksums as sha1 or even only md5. Keeping the original checksum allows quick comparison that a Formula is meant to use the same tarballs that were published by upstream. The problems of algorithms such as sha1 or md5 can be remedied by an additional strong checksum in the Formula. Checksum calculation is so fast that doing it twice will not matter.

Re: Homebrew 1.1.0

#50
post #37

Just a quick poll. Is anybody still using MacPorts or anything else? If so, why?

Macports. It works and does what I need it to do. I switched to Mac from Linux, and with that background it was unnerving to see a system deliberately written to install non-root-owned files in /usr, so I ruled Homebrew out. I've always found it puzzling that people ask whether anyone "still" uses Macports, as though it is some decrepit thing. Homebrew is the one that seems strange to me.
Post reply on HN