News for hackers. Stuff that matters.
Re:Homebrew 1.1.0 by brunosutic on Monday November 07, 2016 @11:02AM (#12892062)
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!
Re:Homebrew 1.1.0 by pgtruesdell on Monday November 07, 2016 @11:23AM (#12892240)
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.
Re:Homebrew 1.1.0 by gaastonsr on Monday November 07, 2016 @12:42PM (#12893018)
Whoaaa didn't know that command. This could replace something like say nvm?
Re:Homebrew 1.1.0 by mikemcquaid on Tuesday November 08, 2016 @02:59AM (#12898459)
It maybe could be hacked into replacing it but I'd not recommend it. Better to use a dedicated tool that handles this stuff more cleanly e.g. nvm.
Re:Homebrew 1.1.0 by rangibaby on Monday November 07, 2016 @08:32PM (#12896888)
I don't think so. In my experience brew only has a very limited selection of versions of packages, which is understandable.
Re:Homebrew 1.1.0 by rovr138 on Monday November 07, 2016 @02:34PM (#12894189)
It probably could.

But I'm not sure if brew has everything or is updated faster than nvm.

Re:Homebrew 1.1.0 by danieldk on Monday November 07, 2016 @12:52PM (#12893136)
I don't like 'me too's, but Homebrew has been absolutely invaluable to me. The icing on the cake is that I can just install my own software in /usr/local/Cellar/<name>/<version> or make my own tap and enjoy many of the benefits of Homebrew.

Thanks Homebrew maintainers, you make macOS rock even more!

Re:Homebrew 1.1.0 by dve on Monday November 07, 2016 @12:34PM (#12892934)
Ditto. I install almost everything via brew and brew cask, and store the list of packages in git. It makes setting up a new machine a breeze. Thanks for all your hard work!
Re:Homebrew 1.1.0 by krat0sprakhar on Monday November 07, 2016 @12:48PM (#12893085)
This is a cool idea! How does one go about doing this though? Is there a flag to output a text file with the names of installed versioned packages?
Re:Homebrew 1.1.0 by mikemcquaid on Monday November 07, 2016 @01:21PM (#12893433)
The officially supported thing is: https://github.com/Homebrew/homebrew-bundle

See my Brewfile in my dotfiles for how I use it to install my stuff: https://github.com/MikeMcQuaid/dotfiles/blob/master/Brewfile

If you want to go a step further there's also Strap which will bootstrap your macOS system with some sensible defaults and install Homebrew, your dotfiles and your Brewfile: https://github.com/mikemcquaid/strap

Finally, if you're interested how I combined these to replace Boxen at GitHub (our macOS system/project bootstrap tool using Puppet) read this: http://mikemcquaid.com/2016/06/15/replacing-boxen/

Re:Homebrew 1.1.0 by Singletoned on Monday November 07, 2016 @03:54PM (#12894977)
This is utterly brilliant! Thank you.

I've been looking like this for quite a while. I'm still looking through it all, but I don't suppose you have a solution for setting System Preferences, particularly Trackpad settings and remapping the Caps Lock key to Ctrl?

Re:Homebrew 1.1.0 by mikemcquaid on Tuesday November 08, 2016 @03:00AM (#12898466)
I don't use it but https://github.com/benbalter/plister should do that. There's an open issue to integrate it with Strap, too: https://github.com/benbalter/plister/issues/2
Re:Homebrew 1.1.0 by geerlingguy on Monday November 07, 2016 @12:51PM (#12893124)
Here's one example: https://github.com/geerlingguy/mac-dev-playbook

Makes it a lot simpler to do a clean OS install every upgrade, and to make sure all three of my Macs are perfectly in sync!

Re:Homebrew 1.1.0 by dve on Monday November 07, 2016 @01:16PM (#12893378)
Using brew bundle, run `brew bundle --help` for info. I then store the Brewfile along with my other dotfiles
Re:Homebrew 1.1.0 by spinningarrow on Monday November 07, 2016 @07:46PM (#12896663)
Here's another example of a simple shell script I use to do this: https://github.com/spinningarrow/up/blob/master/up
Re:Homebrew 1.1.0 by sambe on Monday November 07, 2016 @01:12PM (#12893346)
I use `brew bundle` for this.