zkokaja / Brewlet

The missing menulet for brew.sh: keeping your packages up-to-date, and your system secure.
BSD 2-Clause "Simplified" License
434 stars 13 forks source link

List new formulae/casks? #24

Open mathomp4 opened 3 years ago

mathomp4 commented 3 years ago

I recently discovered Brewlet when I saw it in my daily brew upgrade:

Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (homebrew/core, homebrew/cask and homebrew/cask-fonts).
==> New Formulae
cpplint                                                                nuclei
==> Updated Formulae
Updated 72 formulae.
==> New Casks
brewlet                                        font-iosevka-ss15                              pokemon-trading-card-game-online
==> Updated Casks
Updated 93 casks.

And one of the things I like to do is a brew info foo when I see a formula or cask that sounds interesting. I'm not sure if there's a good way to display something like that in Brewlet, but I'd love it if possible! (Be it a list of new formulae/casks, or even a way to get the brew info info.)

zkokaja commented 3 years ago

Hey, thanks for the input! So I'm reading this as two ideas:

  1. The brew update output is now hidden from the user, so you won't be able to see what new software is available. Very true. I'm adding a menu item to open the log of the last command output, but it isn't very user friendly. I wonder if notifications can be used, but would you want to get a bunch of notifications saying "new package available: X"? Or maybe like you said a menu item that opens a list of new software.

  2. Ability to see brew info details about a package from brewlet. In #7 I mention a feature I'll implement that can show you a list of your formulae/casks in a table, and if you click it you get the brew info details. It should be simple to add the ability to do this for non-installed packages too.

avioli commented 3 years ago

Thanks for the great nifty tool.

I also check new packages every time I do brew upgrade or even brew install so current behaviour isn't ideal for me.

I think a table with the new formulae would be great. That table could be showing just the names or could potentially fetch short details as per your suggestion via brew info.