sqitchers / homebrew-sqitch

Homebrew Formulas for Sqitch
22 stars 10 forks source link

Option to exclude installation of PostgreSQL client library does not seem to exist #62

Closed mattdeluco closed 2 months ago

mattdeluco commented 7 months ago

When trying to execute the following Homebrew installation command I ended up with an error: brew install sqitch --with-postgres-support --without-postgresql

Results in:

Error: invalid option: --without-postgresql
Did you mean?  with-mysql-support

Perusing the usage documentation that was also output, the option --without-postgresql does not seem to exist (I didn't see any "without" options.)

theory commented 7 months ago

Hrm, that's a Homebrew-specific option. I wonder if they removed it.

robahtou commented 4 months ago

Any update on this? same issue.

theory commented 3 months ago

Started a discussion topic to get to the bottom of it. But also, as of 8167e40, the formula no longer depends on the mysql or postgresql formulas, preferring instead just to install the client libraries and CLIs.

gromgit commented 3 months ago

Homebrew banned and removed options in all core formulae years ago.

Options support in brew, however, remains intact, and third-party taps are free to include as many options in their formulae as deemed necessary.

theory commented 3 months ago

Thanks. Interesting that no one complained about it to me until this year.

Solution will be to add options that have the equivalent functionality I guess. Thanks.

theory commented 3 months ago

Removing documentation of the --without-* options in #63.