Live data from Hacker News

Homebrew 1.1.0

brew.sh

71–80 of 216 posts

Re: Homebrew 1.1.0

#71
post #64

I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…

Isn't it desirable to run builds as not-root?

If you're concerned about safety, you could maybe "freeze" your homebrew install by chowning /usr/local back to root in between brew invocations.

Re: Homebrew 1.1.0

#72
post #37

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

   $ sudo port install texlive +full
Have you tried installing TeX Live with Homebrew? I can't even fathom using a package manager that complains about managing packages 'cause it is too hard.

Re: Homebrew 1.1.0

#73

Homebrew maintainers are doing a fantastic job, made my life as a developer so much easier! I wanna use this opportunity to "publicly" thank them!

Agreed. Homebrew has saved countless hours for developers, I can't believe how many hours I used to spend installing/updating different versions for testing. Now we just run (>brew switch package version) done.

Whoaaa didn't know that command. This could replace something like say nvm?

Re: Homebrew 1.1.0

#75
post #64

I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…

This was a problem for me. I installed Homebrew to my home directory [1] and it works great. I no longer need to chown /usr/local or run any commands under sudo.

[1] https://gist.github.com/jaymcgavren/bb85914950578edabad190c3...

Re: Homebrew 1.1.0

#76
post #37

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

Basically all of the unixy tools I need host-side (a lot of my work happens in Debian VM's or on remote Debian servers) are available as native Installer Packages (.pkg or .mpkg bundles)

This boils down to: Vagrant, Mercurial, Git, GPG Suite, Autotools, tree and wget.

Re: Homebrew 1.1.0

#77
post #59
post #32

Earlier quoted context omitted.

Of specific interest: "This deprecation was announced and these methods removed/undocumented before 1.0.0 was tagged so arguably it was not part of the public API when 1.0.0 shipped." I'm ambivalent. If I rev 1.0 - 1.1, then I'm going to assume the API won't change, even if I'm using undocumented and warning-spitting methods. But I shouldn't be doing that, I shouldn't roll in a minor update without at least reading t…

> I'm going to assume the API won't change, even if > I'm using undocumented and warning-spitting methods. And here I disagree, quite strongly. If I'm using "undocumented and warning-spitting methods" then I know what I have done is a hack and those methods could disappear or change at any time and I should proceed at my own peril.

In this case it was documented.

Re: Homebrew 1.1.0

#78

Will I need a dongle to use it on my latest macbook? And if so, has the price of it also been cut to a reasonable 19.95?

Yeah, OK. We get it. You don't like something quasi-related to this post. So you're going to get a jab in wherever you can. Good job on you. Enjoy the rest of your week.

Re: Homebrew 1.1.0

#79
post #64

I have very mixed feelings about homebrew. When it works, it is awesome, but when it doesn't it can be a serious nightmare. In particular, homebrew refuses to run under sudo. Instead, to instal in /usr/local it wants me to recursively chown /usr/local to myself, which is a Really Bad Idea (tm). I have mostly stopped using it for this reason. I understand that running a program that runs third-party scripts under sudo…

> recursively chown /usr/local to myself As of 1.0.0: you don't need to do this any more and we don't ask you to.

Ah, that is very good to know! Thank you! I will take a fresh look at homebrew. :-)

Re: Homebrew 1.1.0

#80
post #79

Earlier quoted context omitted.

> recursively chown /usr/local to myself As of 1.0.0: you don't need to do this any more and we don't ask you to.

Ah, that is very good to know! Thank you! I will take a fresh look at homebrew. :-)

To perhaps save you some effort: we still ask you to chown e.g. `/usr/local/bin` which may or may not make it unacceptable to you.
Post reply on HN