Adrian Ho

Results 83 comments of Adrian Ho

I'm currently working on a PR that checks the bumped formula against [synced_versions_formulae.json](https://github.com/Homebrew/homebrew-core/blob/master/synced_versions_formulae.json), and automatically _bumps and adds_ all the other synced formulae to the same PR. I assume that's...

> what do you have in mind regarding already edited files For those, and all others where the bump changes fail to apply, I'm thinking an error. > showing those...

> Because current state is that if I edit the formula before running the bump, for example to change a dependency version, it comes with the bump (which I found...

> > That said, there is at least one problem case: `qt` has several version-synced database formulae, but all of them (except `qt-postgresql`) conflict with each other, so unless I...

> How do I do that? `HOMEBREW_NO_INSTALL_FROM_API=1 brew update` should do the necessary.

Extracting data from a JSON file with text tools like `grep` is generally not a good idea; one little change in the data and your script suddenly outputs nothing or...

Since trimming the output has been the default operation for years with no complaints until now, it might not be desirable to unilaterally switch to verbatim inclusion mode by default....

What's the output of `psql --version`? I'm guessing it's not 16.x, since `postgresql@16` is keg-only. Also check the output of `ls -l /usr/local/bin/psql`.

> That's not Homebrew's `psql`, and I should've noticed earlier that you're running on an ARM64 Mac, for which Homebrew installs exclusively under `/opt/homebrew`. You're looking for `/opt/homebrew/opt/postgresql@16/bin/psql` instead.

Yeah, that's the `psql` you want to run.