Canonical way to run actions when a *specific package* is upgraded? #5374
Unanswered
ghost
asked this question in
Everyday usage
Replies: 2 comments 4 replies
-
If I understand you correctly, a simple |
Beta Was this translation helpful? Give feedback.
4 replies
-
Well, that sucks. I can see a giant headache pursuing that approach. Thanks anyway though.
I guess it is best practice to do it manually every time. It’s not like these are security-critical apps, and there might be advisories I should see.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
On my system I have opam and DOOM Emacs, and as I get more into things I see a significant possibility of more domain-specific package managers. I think it'd be overkill to
opam update && opam upgrade -y $(opam list -s --roots)
and.config/emacs/bin/doom upgrade
every day, but certainly I want to do it every timeopam
resp.emacs-plus
gets upgraded. My question is, how would I go about doing that? I know the core team is averse to adding a broadbrew upgrade
hook, and I understand that; but this is much more specific, and I don't see a clear way to do it with the available tools. I suppose I could learn Raku and write a script that splits and scans the output to figure out which packages were upgraded (and doesn't blow up on any of the myriad other messages the command might generate); but as I'm sure you understand I'd really rather not do that.Beta Was this translation helpful? Give feedback.
All reactions