Feedback wanted: declarative, grouped Homebrew update policies for a personal tap #7011
|
I’m building a small Homebrew tap/tool called The goal is not to replace
For example: [group foundation]
schedule=daily@05:00
formula=git,auto
formula=ripgrep,auto
formula_glob=python@*,interactive
[group security]
schedule=hourly@30
cask=tailscale-app,interactive
cask=firefox,interactive
[group gaming]
schedule=weekly@12:30
brewfile=exclude
cask=openemu,autoIn declarative mode, direct I’m also experimenting with classifying Homebrew-declared privileged cask installers. A cask using a pkg artifact or an explicit I’d appreciate feedback on a few design questions:
Thank you. |
Replies: 1 comment 4 replies
Hard to say honestly just based on above whether it will cause you issues but: please try it out! Third-party taps exist exactly for the community to play around with ideas that may or may not ever make it into Homebrew proper.
Yes, I think so? You may well find other cases and if you do: shout. I think it'd be desirable to have a more public API for exposing whether
Not sure what you mean by "cask declarations". If you mean Ruby code: yeh, I'd avoid that, just for avoiding your own pain and suffering 😂. The Homebrew JSON API (https://formulae.brew.sh/docs/api/) should provide everything you need here. No cask in homebrew/homebrew-cask requires instantiating the
Maintenance: no idea. Security: the usual disclaimers about "be careful about what you're running as
We don't really provide hooks for this directly. If this was to be a feature: I'd see it as a Hope that helps! ❤️ |
Hard to say honestly just based on above whether it will cause you issues but: please try it out! Third-party taps exist exactly for the community to play around with ideas that may or may not ever make it into Homebrew proper.
Brewfiles are already declarative. How does this differ?Yes, I think so? You may well find other cases and if you do: shout. I think it'd be desirable to have a more public API for exposing whether
brew install --cask…