News for hackers. Stuff that matters.
Re:Upgrading Homebrew and avoiding the "failed to verify att... by ryandrake on Wednesday October 09, 2024 @09:25PM (#41794629)
Dependencies are totally out of control, in much of OSS, not just Homebrew. I probably have 5-6 leaf node packages that I actually installed with brew install, but brew list shows close to 100 little dependencies. Same with apt on my Ubuntu/Debian systems. I physically installed a handful of applications but my system has hundreds of packages installed. At least it’s not DLL Hell: the dependency management tools are great and uninstallation is clean, but wow what an explosion of quantity of dependencies!

I don’t use node but I understand it’s a mess there too.

Re:Upgrading Homebrew and avoiding the "failed to verify att... by eric-hu on Wednesday October 09, 2024 @10:22PM (#41794878)
There’s command to see your leaf dependencies:

https://docs.brew.sh/Manpage#leaves---installed-on-request--...

Re:Upgrading Homebrew and avoiding the "failed to verify att... by ryandrake on Wednesday October 09, 2024 @10:29PM (#41794904)
Yep I use that a lot. I like to make sure I only have installed what I need to survive, and uninstall everything else.
Re:Upgrading Homebrew and avoiding the "failed to verify att... by 01HNNWZ0MV43FF on Wednesday October 09, 2024 @09:30PM (#41794643)
But it's nice to reuse code
Re:Upgrading Homebrew and avoiding the "failed to verify att... by happymellon on Thursday October 10, 2024 @04:16PM (#41803085)
Isn't it nice to reuse code so you dont have to write it twice?

It doesn't mean we can't run it twice.

Re:Upgrading Homebrew and avoiding the "failed to verify att... by iforgotmysocks on Thursday October 10, 2024 @04:57AM (#41796959)
You might be able to a nice graph with this command: brew deps --installed --graph