rcmdnk / homebrew-file

Brewfile manager for Homebrew
http://homebrew-file.readthedocs.io/
MIT License
356 stars 29 forks source link

use --installed-on-request option for brew leaves #129

Closed rcmdnk closed 1 year ago

rcmdnk commented 2 years ago

available from 3.2.0 3.2.0 — Homebrew

DJohnston-Veritas commented 1 year ago

@rcmdnk how would this be different than what was implemented in #75 ?

rcmdnk commented 1 year ago

75's update uses installed_on_request flag in brew info output

to identify these packages:

Now I implemented it in v9.0.13. It makes some commands a little bit faster.

svdarren commented 1 year ago

Thank you! I'm switching laptops today and this gave me exactly what I needed.

rcmdnk commented 1 year ago

@DJohnston-Veritas @svdarren

Please note the behavior related to HOMEBREW_BREWFILE_LEAVES and HOMEBREW_BREWFILE_ON_REQUEST from v9.0.14.

https://github.com/rcmdnk/homebrew-file/issues/209#issuecomment-1668348571

If you need what you get at v9.0.13 with

The configuration