Use homebrew formula from homebrew/core#492
Conversation
There was a problem hiding this comment.
Does this file work if it lives in main? When @FiloSottile added the equivalent file alongside merging FiloSottile/age#318, it was into an orphan master branch because that is what Homebrew was fetching from in 2021 (despite I believe FiloSottile/age doing its development in main at the time, as I do here). I don't understand enough about Homebrew taps to know whether the same rationale applies here, and whether this actually needs to be in a master branch.
There was a problem hiding this comment.
From my anecdotal evidence it should work. IIRC I did the same thing with https://github.com/pavelzw/homebrew-pavelzw/blob/main/tap_migrations.json (living on main) and brew managed to read it.
There was a problem hiding this comment.
Looking at the readme in age on master https://github.com/FiloSottile/age/blob/master/README, it seems like age once used master and thus some people's configurations were still using this instead of main. If you used main all along in this project, this should be safe. Otherwise we would probably need to do the same thing...
There was a problem hiding this comment.
Okay, I'll merge this and we'll see what happens.
https://formulae.brew.sh/formula/rage
rage is now available on homebrew-core. Adding a
tap_migrations.jsonshould ensure that old installations of rage are directed to the homebrew-core build.